Solaris
如何替換現有條帶 zpool 上的磁碟?
我有以下 zpool:
pool: mypool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 0 0 c9t50060E801331FC42d6 ONLINE 0 0 0 c9t50060E801331FC42d7 ONLINE 0 0 0
我需要做的是從另一個儲存中替換這些磁碟,當然,預計不會有停機時間。
我的想法是創建條帶池的鏡像然後拆分它,但它似乎不起作用:
zpool add -n mypool mirror c6t500507630A200568d4 c6t500507630A200568d5 vdev verification failed: use -f to override the following errors: mismatched replication level: pool uses disk and new vdev is mirror Unable to build pool from specified devices: invalid vdev configuration
非常歡迎任何建議。謝謝!
zpool replace mypool c9t50060E801331FC42d6 c6t500507630A200568d4
成功了