November 20, 20241 yr I recently had a few older disks go bad and ZFS got the better of me, I lost everything and had to recover from glacier, super slow. I recovered and was working on a smaller ZFS pool replacing disks and accidentally left two disks out of the 24 disk main array. I started the array because I needed to resilver the smaller pool and that finished and I realized the two drives were missing in the main array and the pool was unmountable. Now, I stopped the array and went to re-assign the drives to their slots and it wants to format the main array again. I stopped here. How do I re-insert the two drives into the array without losing the entire array again? ocean - 24 x 12 TB SAS Drives. ZFS RaidZ2 2x12drive vdevs. Both drives removed were from the 2nd vdev. OS is 7.0.0 beta.4
November 20, 20241 yr Author Also note: ocean is showing in ZFS list, and is online, and I can read data, but Unraid is saying it wants to format it. root@blinky:~# zfs list NAME USED AVAIL REFER MOUNTPOINT lake 98.0G 64.4T 213K /mnt/lake lake/backups 171K 64.4T 171K /mnt/lake/backups lake/downloads 69.4G 64.4T 69.4G /mnt/lake/downloads lake/isos 28.2G 64.4T 28.2G /mnt/lake/isos lake/scans 239M 64.4T 239M /mnt/lake/scans ocean 84.2T 115T 238K /mnt/ocean ocean/data 84.2T 115T 84.2T /mnt/ocean/data pond 18.7G 6.37T 104K /mnt/pond pond/windowsdockers 18.7G 6.37T 18.7G /mnt/pond/windowsdockers puddle 165G 1.64T 20.9G /mnt/puddle puddle/appdata 133G 1.64T 133G /mnt/puddle/appdata puddle/system 10.6G 1.64T 10.6G /mnt/puddle/system root@blinky:~# zpool status ocean pool: ocean state: ONLINE scan: scrub in progress since Wed Nov 20 17:42:11 2024 24.8T / 111T scanned at 13.5G/s, 2.69T / 111T issued at 1.46G/s 0B repaired, 2.44% done, 21:00:12 to go config: NAME STATE READ WRITE CKSUM ocean ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 sdu1 ONLINE 0 0 0 sdt1 ONLINE 0 0 0 sdx1 ONLINE 0 0 0 sdae1 ONLINE 0 0 0 sdab1 ONLINE 0 0 0 sdaa1 ONLINE 0 0 0 sdac1 ONLINE 0 0 0 sdag1 ONLINE 0 0 0 sdah1 ONLINE 0 0 0 sdz1 ONLINE 0 0 0 sdad1 ONLINE 0 0 0 sdy1 ONLINE 0 0 0 raidz2-1 ONLINE 0 0 0 sdl1 ONLINE 0 0 0 sdm1 ONLINE 0 0 0 sdq1 ONLINE 0 0 0 sdp1 ONLINE 0 0 0 sdar1 ONLINE 0 0 0 sds1 ONLINE 0 0 0 sdw1 ONLINE 0 0 0 sdaq1 ONLINE 0 0 0 sdo1 ONLINE 0 0 0 sdn1 ONLINE 0 0 0 sdv1 ONLINE 0 0 0 sdr1 ONLINE 0 0 0 errors: No known data errors root@blinky:~# blinky-diagnostics-20241120-1818.zip Edited November 20, 20241 yr by DieFalse add diagnostics file.
November 21, 20241 yr Community Expert Solution 9 hours ago, DieFalse said: ocean is showing in ZFS list, and is online You must export the pool first with zpool export in the CLI, then click on the pool and "remove pool", back on main, add a new pool, re-assign all pool devices, leave the filesystem set to auto, start array to re-import the pool.
November 21, 20241 yr Author Ok, I: Pre-Req: 1. screenshotted the drives in pool "ocean" Work: 1: CLI - zpool export ocean 2: clicked on "ocean" in UnRaid Web Portal 3: clicked "Remove Pool" 4: typed the name of the pool to confirm 5: added new pool named "ocean" with 24 devices 6: re-assigned all 24 drives 7: verified all 24 drive assignments to screenshot 8: LEFT FILESYSTEM AS AUTO. 9: started array Verified pool with status and list, and can then confirm the CRC checks and all passes, no data lost. THANK YOU!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.