当前位置: 首页 > linux
  • ATA bus error SError: { PHYRdyChg DevExch }

    ATA 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, ...

    阅读全文
    作者:2hei | 分类:linux | 阅读:3,259 views | 标签:
    ATA bus error SError: { PHYRdyChg DevExch }已关闭评论
  • linux 环境变量中配置参数 use function but not use alias

    例子:使用两个参数匹配域名,其他部分自动补齐,减少键盘输入,然后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 ...

    阅读全文
    作者:2hei | 分类:linux | 阅读:1,106 views | 标签:
    linux 环境变量中配置参数 use function but not use alias已关闭评论
  • bonding in linux

    ####### 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= ...

    阅读全文
    作者:2hei | 分类:linux | 阅读:1,061 views | 标签:
    bonding in linux已关闭评论
  • replacing_hard_disks_in_a_raid1_array

    cat /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: < ...

    阅读全文
    作者:2hei | 分类:linux | 阅读:971 views | 标签:,
    replacing_hard_disks_in_a_raid1_array已关闭评论
  • linux限制用户密码尝试次数

    设置方式:vi /etc/pam.d/system-auth auth        required      /lib/security/$ISA/pam_tally.so onerr=fail no_magic_rootaccount     required      /lib/security/$ISA/pam_tally.so deny=5 no_magic ...

    阅读全文
    作者:2hei | 分类:others | 阅读:2,849 views | 标签:,
    linux限制用户密码尝试次数已关闭评论
  • kernel: mptscsih: ioc0: task abort: SUCCESS

    收到服务器报警,查看/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 ...

    阅读全文
    作者:2hei | 分类:OpenSource | 阅读:2,503 views | 标签:
    kernel: mptscsih: ioc0: task abort: SUCCESS已关闭评论