kisswen 发表于 2012-11-14 08:59

HP P400单盘组raid0在线换盘试验-成功

9.1出来就重新安装做全zfs
代码:
portal# zpool status
pool: tank
state: ONLINE
scan: resilvered 250M in 0h0m with 0 errors on Wed Nov 14 08:38:38 2012
config:

      NAME         STATE   READ WRITE CKSUM
      tank         ONLINE       0   0   0
          raidz1-0   ONLINE       0   0   0
            gpt/disk1ONLINE       0   0   0
            gpt/disk2ONLINE       0   0   0
            gpt/disk3ONLINE       0   0   0
            gpt/disk4ONLINE       0   0   0
            gpt/disk5ONLINE       0   0   0

errors: No known data errorszpool offline tank gpt/disk5代码:
portal# zpool status
pool: tank
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
      Sufficient replicas exist for the pool to continue functioning in a
      degraded state.
action: Online the device using 'zpool online' or replace the device with
      'zpool replace'.
scan: resilvered 250M in 0h0m with 0 errors on Wed Nov 14 08:38:38 2012
config:

      NAME                     STATE   READ WRITE CKSUM
      tank                     DEGRADED   0   0   0
          raidz1-0               DEGRADED   0   0   0
            gpt/disk1            ONLINE       0   0   0
            gpt/disk2            ONLINE       0   0   0
            gpt/disk3            ONLINE       0   0   0
            gpt/disk4            ONLINE       0   0   0
            2227108468741982840OFFLINE      0   0   0was /dev/gpt/disk5

errors: No known data errors


代码:
portal# zpool online tank gpt/disk5
warning: device 'gpt/disk5' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present


代码:

      NAME                     STATE   READ WRITE CKSUM
      tank                     DEGRADED   0   0   0
          raidz1-0               DEGRADED   0   0   0
            gpt/disk1            ONLINE       0   0   0
            gpt/disk2            ONLINE       0   0   0
            gpt/disk3            ONLINE       0   0   0
            gpt/disk4            ONLINE       0   0   0
            2227108468741982840FAULTED      0   0   0was /dev/gpt/disk5



代码:
zpool replace tank gpt/disk5


代码:
pool: tank
state: ONLINE
scan: resilvered 250M in 0h0m with 0 errors on Wed Nov 14 08:54:37 2012
config:

      NAME         STATE   READ WRITE CKSUM
      tank         ONLINE       0   0   0
          raidz1-0   ONLINE       0   0   0
            gpt/disk1ONLINE       0   0   0
            gpt/disk2ONLINE       0   0   0
            gpt/disk3ONLINE       0   0   0
            gpt/disk4ONLINE       0   0   0
            gpt/disk5ONLINE       0   0   0

errors: No known data errors

      

Hongqiyaodao 发表于 2012-11-14 10:29

kisswen 发表于 2012-11-14 10:48


以前没用过单盘raid0,之前在网上看到说单盘组raid0不能热插拔
页: [1]
查看完整版本: HP P400单盘组raid0在线换盘试验-成功