-
Smartctl: Device Read Identity Failed
Jul062011/usr/sbin/smartctl –all /dev/sda -d ata smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce AllenHome page is http://smartmontools.sourceforge.net/Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, ...
阅读全文作者:u2 | 分类:linuxSmartctl: Device Read Identity Failed已关闭评论
-
ATA bus error SError: { PHYRdyChg DevExch }
Jun202011ATA bus error in /var/log/messages: SCSI device sdb: 490350672 512-byte hdwr sectors (251060 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen ata1.00: irq_stat 0x00400040, ...
阅读全文ATA bus error SError: { PHYRdyChg DevExch }已关闭评论
-
linux 环境变量中配置参数 use function but not use alias
Jun202011例子:使用两个参数匹配域名,其他部分自动补齐,减少键盘输入,然后ssh登陆到目的主机。 cat .bashrc # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # update the PATH export PATH=${PATH}:/usr/sbin:/sbin sss() { ssh $1.$2.2hei.net } use: $sss t ...
阅读全文linux 环境变量中配置参数 use function but not use alias已关闭评论
-
openvpn vnc java firefox on centos5
Jun1020111. yum install openvpnwget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpmyum install epel-release-5-4.noarch.rpmyum intall openvpn vnp configs: 2hei.net.ovpn add:–script-security 2up “/etc/openvpn/update-resolv-conf up”down “/etc/openvpn/upd ...
阅读全文openvpn vnc java firefox on centos5已关闭评论
-
bonding in linux
Feb182011####### bond0 #######dond0 use dhcp$cat ifcfg-bond0DEVICE=bond0BOOTPROTO=dhcpONBOOT=yes $cat ifcfg-eth0DEVICE=eth0ONBOOT=yesBOOTPROTO=noneUSERCTL=noMASTER=bond0SLAVE=yes DEVICE=eth1ONBOOT=yesBOOTPROTO=noneUSERCTL=noMASTER=bond0SLAVE=yes ####### bond1 #######$cat ifcfg-bond1DEVICE=bond1BOOTPROTO= ...
阅读全文bonding in linux已关闭评论
-
change linux swap size
Sep252010
-
finding netcard driver type in linux
Jun292010
-
replacing_hard_disks_in_a_raid1_array
Jun092010cat /proc/mdstat Personalities : [raid1] read_ahead 1024 sectors md1 : active raid1 sda3[0] sdb3[1] 522048 blocks [2/2] [U_] md0 : active raid1 sda2[0] sdb2[1] 4192896 blocks [2/2] [U_] md2 : active raid1 sda1[0] sdb1[1] 128384 blocks [2/2] [U_] unused devices: < ...
阅读全文replacing_hard_disks_in_a_raid1_array已关闭评论
-
linux sz rz tools
May302010
-
SHELL中的2进制、10进制、8进制、16进制之间的转换
May042010一、16进制转换成10进制printf %d 0xF15或者echo $((16#F))15 二、10进制转换成16进制printf %x 15f或者echo “obase=16;15″|bcF 三、10进制转换成8进制printf %o 911 四、8进制转换成10进制echo $((8#11))9 五、同理二进制转换成10进制echo $((2#111))7 六、10进制转换成二进制echo “obase=2;15̸ ...
阅读全文SHELL中的2进制、10进制、8进制、16进制之间的转换已关闭评论