- 论坛徽章:
- 2
|
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/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
gpt/disk3 ONLINE 0 0 0
gpt/disk4 ONLINE 0 0 0
gpt/disk5 ONLINE 0 0 0
errors: No known data errors- zpool 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
2227108468741982840 OFFLINE 0 0 0 was /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
2227108468741982840 FAULTED 0 0 0 was /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/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
gpt/disk3 ONLINE 0 0 0
gpt/disk4 ONLINE 0 0 0
gpt/disk5 ONLINE 0 0 0
errors: No known data errors
|
|