Chi-Tseh Fu
2008-Apr-11 12:48 UTC
[zfs-discuss] How to replace root drive if ZFS data is on it?
Hi, Experts: A customer has X4500 and the boot drives mirrored (c5t0d0s0 and c5t4d0s0) by SVM, The ZFS uses the two other partitions on these two drives(c5t0d0s3 and c5t4d0s3). If we need to replace the disk drive c5t0d0, do we need to do anything on the ZFS (c5t0d0s3 and c5t4d0s3) first or just follow the regular boot drive replacement procedure? Below is the summary of their current ZFS file system on X4500: *sr1-uhou03-02% cat zpool_list.out* NAME SIZE USED AVAIL CAP HEALTH ALTROOT Services 43.5T 14.9T 28.6T 34% ONLINE - sr1-uhou03-02% cat zpool_status_-v.out pool: Services state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM Services ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t0d0s3 ONLINE 0 0 0 c1t0d0s3 ONLINE 0 0 0 c4t0d0s3 ONLINE 0 0 0 c6t0d0s3 ONLINE 0 0 0 c7t0d0s3 ONLINE 0 0 0 c5t0d0s3 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t0d0s6 ONLINE 0 0 0 c1t0d0s6 ONLINE 0 0 0 c4t0d0s6 ONLINE 0 0 0 c6t0d0s6 ONLINE 0 0 0 c7t0d0s6 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t1d0 ONLINE 0 0 0 c1t1d0 ONLINE 0 0 0 c4t1d0 ONLINE 0 0 0 c5t1d0 ONLINE 0 0 0 c6t1d0 ONLINE 0 0 0 c7t1d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t2d0 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c4t2d0 ONLINE 0 0 0 c5t2d0 ONLINE 0 0 0 c6t2d0 ONLINE 0 0 0 c7t2d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t3d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c4t3d0 ONLINE 0 0 0 c5t3d0 ONLINE 0 0 0 c6t3d0 ONLINE 0 0 0 c7t3d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t4d0s3 ONLINE 0 0 0 c1t4d0s3 ONLINE 0 0 0 c4t4d0s3 ONLINE 0 0 0 c6t4d0s3 ONLINE 0 0 0 c7t4d0s3 ONLINE 0 0 0 c5t4d0s3 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t4d0s6 ONLINE 0 0 0 c1t4d0s6 ONLINE 0 0 0 c4t4d0s6 ONLINE 0 0 0 c6t4d0s6 ONLINE 0 0 0 c7t4d0s6 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t5d0 ONLINE 0 0 0 c1t5d0 ONLINE 0 0 0 c4t5d0 ONLINE 0 0 0 c5t5d0 ONLINE 0 0 0 c6t5d0 ONLINE 0 0 0 c7t5d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t6d0 ONLINE 0 0 0 c1t6d0 ONLINE 0 0 0 c4t6d0 ONLINE 0 0 0 c5t6d0 ONLINE 0 0 0 c6t6d0 ONLINE 0 0 0 c7t6d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c0t7d0 ONLINE 0 0 0 c1t7d0 ONLINE 0 0 0 c4t7d0 ONLINE 0 0 0 c5t7d0 ONLINE 0 0 0 c6t7d0 ONLINE 0 0 0 c7t7d0 ONLINE 0 0 0 errors: No known data errors sr1-uhou03-02% cat zpool_iostat_-v.out capacity operations bandwidth pool used avail read write read write ------------ ----- ----- ----- ----- ----- ----- Services 14.9T 28.6T 0 0 2 6 raidz1 1.67T 3.67T 0 0 0 2 c0t0d0s3 - - 0 0 1 0 c1t0d0s3 - - 0 0 1 0 c4t0d0s3 - - 0 0 1 0 c6t0d0s3 - - 0 0 1 0 c7t0d0s3 - - 0 0 1 0 c5t0d0s3 - - 0 0 1 0 raidz1 93.0G 7.92M 0 0 0 1 c0t0d0s6 - - 0 0 1 0 c1t0d0s6 - - 0 0 1 0 c4t0d0s6 - - 0 0 1 0 c6t0d0s6 - - 0 0 1 0 c7t0d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 0 3 0 c6t7d0 - - 0 0 3 0 c7t7d0 - - 0 0 3 0 ------------ ----- ----- ----- ----- ----- ----- Thanks ahead. Joe