我的这个池出现硬盘故障。我更换了磁盘,没有任何硬错误,并且无法按照通知将其放回线上:
:~# zpool status data
pool: data
state: UNAVAIL
status: One or more devices could not be opened. There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-3C
scan: none requested
config:
NAME STATE READ WRITE CKSUM
data UNAVAIL 0 0 0 insufficient replicas
raidz2-0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
c2t3d0 ONLINE 0 0 0
c2t4d0 ONLINE 0 0 0
c2t15d0 ONLINE 0 0 0
c2t6d0 ONLINE 0 0 0
c2t7d0 ONLINE 0 0 0
c2t8d0 ONLINE 0 0 0
c2t9d0 ONLINE 0 0 0
c2t10d0 ONLINE 0 0 0
14132293493917319721 UNAVAIL 0 0 0 was /dev/dsk/c2t11d0s0
c2t12d0 ONLINE 0 0 0
c2t13d0 ONLINE 0 0 0
c2t14d0 ONLINE 0 0 0
我尝试了这个命令:
:~# zpool online -e data c2t5d0
cannot open 'data': pool is unavailable
为什么zpool数据仍然不可用?
c2t0d0 和 c2t1d0 为系统保留,位于 z 镜像中。不可用
我想知道这行的含义是什么:
14132293493917319721 UNAVAIL 0 0 0 was /dev/dsk/c2t11d0s0
因为在我看来应该是这样的:
c2t11d0 UNAVAIL 0 0 0
谢谢。
答案1
更换之前,您需要将其从池中取出。请参阅文档以获得更好的解释,然后我可以提供:更换 ZFS 存储池中的设备 | Oracle 帮助中心