-
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已关闭评论
-
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已关闭评论
-
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已关闭评论
-
ssh登陆到终端的时候去掉Your default context is root提示
Jul152009使用ssh或者telnet登陆到终端的时候,发现有的机器会有如下的提示:[local@2hei.net ~]$ su – Password: Your default context is root:system_r:unconfined_t. Do you want to choose a different one? [n] [root@2hei.net ~]# getenforcePermissive 解决办法一:[root@2hei.net ~]# vi /etc/pam.d/su &n ...
阅读全文作者:u2 | 分类:OpenSource | 标签:linuxssh登陆到终端的时候去掉Your default context is root提示已关闭评论
-
linux限制用户密码尝试次数
Jul082009
-
kernel: mptscsih: ioc0: task abort: SUCCESS
Dec092008收到服务器报警,查看/var/log/messages 中很多类似下面的日志:Dec 9 00:03:22 kernel: mptscsih: ioc0: attempting task abort! (sc=ffff81007ec8bb00)Dec 9 00:03:22 kernel: sd 0:0:0:0:Dec 9 00:03:22 kernel: command: Read(10): 28 00 05 4c ...
阅读全文作者:u2 | 分类:OpenSource | 标签:linuxkernel: mptscsih: ioc0: task abort: SUCCESS已关闭评论