Archive for 虚拟服务器技术

centos下查看硬盘使用时间

yum install smartmontools -y

然后输入这个
smartctl -A /dev/sda
如果不行用df看看硬盘名称把sda换了即可
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0×000f 083 063 044 Pre-fail Always – 204269687
3 Spin_Up_Time 0×0003 099 099 000 Pre-fail Always – 0
4 Start_Stop_Count 0×0032 100 100 020 Old_age Always – 18
5 Reallocated_Sector_Ct 0×0033 100 100 036 Pre-fail Always – 0
7 Seek_Error_Rate 0×000f 069 060 030 Pre-fail Always – 7825289
9 Power_On_Hours 0×0032 099 099 000 Old_age Always – 1626
10 Spin_Retry_Count 0×0013 100 100 097 Pre-fail Always – 0
12 Power_Cycle_Count 0×0032 100 037 020 Old_age Always – 18
184 Unknown_Attribute 0×0032 100 100 099 Old_age Always – 0
187 Reported_Uncorrect 0×0032 100 100 000 Old_age Always – 0
188 Unknown_Attribute 0×0032 100 099 000 Old_age Always – 12
189 High_Fly_Writes 0×003a 100 100 000 Old_age Always – 0
190 Airflow_Temperature_Cel 0×0022 072 069 045 Old_age Always – 28 (Lifetime Min/Max 25/31)
194 Temperature_Celsius 0×0022 028 040 000 Old_age Always – 28 (0 22 0 0)
195 Hardware_ECC_Recovered 0×001a 050 047 000 Old_age Always – 204269687
197 Current_Pending_Sector 0×0012 100 100 000 Old_age Always – 0
198 Offline_Uncorrectable 0×0010 100 100 000 Old_age Offline – 0
199 UDMA_CRC_Error_Count 0×003e 200 200 000 Old_age Always – 0

其中Power_On_Hours就是硬盘使用小时了如果是Power_On_Minutes就是硬盘使用分钟,beispielsweise:
9 Power_On_Minutes 0×0032 201 201 000 Old_age Always – 649h+23m

Bemerkungen

CentOS 下SolusVM安装教程

erste:

cp /etc/yum.repos.d/CentOS-Base.repo.original /etc/yum.repos.d/CentOS-Base.repo

巴斯的服务器要先删除掉原来的mysql
yum remove mysql mysql-client mysql-server
然后开始下载和执行solusvm安装脚本

wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install

等待安装成功即可

Bemerkungen

openvz iso模块下载

File Date Größe
centos-4-x86.tar.gz (signature)2010-07-10 03:47:44151 Mb
centos-4-x86_64.tar.gz (signature)2010-07-10 03:46:19164 Mb
centos-5-x86-devel.tar.gz (signature)2010-07-10 03:54:25192 Mb
centos-5-x86.tar.gz (signature)2010-07-10 03:56:04171 Mb
centos-5-x86_64-devel.tar.gz (signature)2010-07-10 03:49:36203 Mb
centos-5-x86_64.tar.gz (signature)2010-07-10 03:52:32181 Mb
debian-3.1-x86.tar.gz (signature)2010-07-10 03:56:55110 Mb
debian-4.0-x86.tar.gz (signature)2010-07-10 03:58:45112 Mb
debian-4.0-x86_64.tar.gz (signature)2010-07-10 03:57:53135 Mb
debian-5.0-x86.tar.gz (signature)2010-07-10 04:00:46132 Mb
debian-5.0-x86_64.tar.gz (signature)2010-07-10 03:59:47134 Mb
fedora-9-x86.tar.gz (signature)2010-07-10 04:18:35174 Mb
fedora-9-x86_64.tar.gz (signature)2010-07-10 04:16:58189 Mb
fedora-10-x86.tar.gz (signature)2010-07-10 04:04:27182 Mb
fedora-10-x86_64.tar.gz (signature)2010-07-10 04:02:49197 Mb
fedora-11-x86.tar.gz (signature)2010-07-10 04:08:04200 Mb
fedora-11-x86_64.tar.gz (signature)2010-07-10 04:06:16201 Mb
fedora-12-x86.tar.gz (signature)2010-07-10 04:11:36192 Mb
fedora-12-x86_64.tar.gz (signature)2010-07-10 04:09:51196 Mb
fedora-13-x86.tar.gz (signature)2010-07-10 04:15:12192 Mb
fedora-13-x86_64.tar.gz (signature)2010-07-10 04:13:25199 Mb
suse-11.1-x86.tar.gz (signature)2010-07-10 04:25:36164 Mb
suse-11.1-x86_64.tar.gz (signature)2010-07-10 04:23:54168 Mb
ubuntu-7.10-x86.tar.gz (signature)2010-07-10 04:33:21107 Mb
ubuntu-7.10-x86_64.tar.gz (signature)2010-07-10 04:32:30109 Mb
ubuntu-8.04-x86.tar.gz (signature)2010-07-10 04:34:58108 Mb
ubuntu-8.04-x86_64.tar.gz (signature)2010-07-10 04:34:10110 Mb
ubuntu-8.10-x86.tar.gz (signature)2010-07-10 04:36:57122 Mb
ubuntu-8.10-x86_64.tar.gz (signature)2010-07-10 04:35:55125 Mb
ubuntu-9.04-x86.tar.gz (signature)2010-07-10 04:38:53124 Mb
ubuntu-9.04-x86_64.tar.gz (signature)2010-07-10 04:37:56128 Mb
ubuntu-9.10-x86.tar.gz (signature)2010-07-10 04:40:48125 Mb
ubuntu-9.10-x86_64.tar.gz (signature)2010-07-10 04:39:50127 Mb
ubuntu-10.04-x86.tar.gz (signature)2010-07-10 04:31:41131 Mb
ubuntu-10.04-x86_64.tar.gz (signature)2010-07-10 04:30:43134 Mb

Bemerkungen

XenServer的ISOs挂载点

在XenCenter里没有看到ISOs挂载点,was zu tun ist?

1. xe sr-create name-label=ISOs type=iso device-config:location=/var/opt/xen/iso_import device-config:legacy_mode=true content-type=iso

2. xe-mount-iso-sr /var/opt/xen/iso_import

Bemerkungen

« Vorherige Seite « Vorherige Seite nächste Einträge »