hermy65 Posted May 8, 2020 Posted May 8, 2020 I moved my server to a new location, fired it up and for some reason 2 of my cache drives are now showing up in unassigned devices. If i add them i assume it rebuilds them but do i lose any data? Whats the best way to handle this so i dont lose anything on my cache drive? Also, why would this happen? Quote
John_M Posted May 8, 2020 Posted May 8, 2020 7 minutes ago, hermy65 said: I moved my server to a new location That is probably the clue. The SATA and/or power cables probably got disturbed. Samsung SSDs are incredibly fussy about their SATA cables at the best of time. Quote
hermy65 Posted May 8, 2020 Author Posted May 8, 2020 5 minutes ago, John_M said: That is probably the clue. The SATA and/or power cables probably got disturbed. Samsung SSDs are incredibly fussy about their SATA cables at the best of time. @John_M so do I just add them back into the cache pool then? Will I lose any data? Quote
John_M Posted May 8, 2020 Posted May 8, 2020 I'd power down and check the cables first. Then power up and reassign the two SSDs, if necessary. btrfs should run a balance when you start the array. Quote
John_M Posted May 8, 2020 Posted May 8, 2020 Losing two devices out of four is serious but if you didn't start the array in that condition I would not expect you to lose any data, but one can never be sure. What RAID level are you running - I assume 1 or 10? Quote
hermy65 Posted May 8, 2020 Author Posted May 8, 2020 @John_MÂ It was RAID 1. I checked the cables and they all seem solid. I added the two drives back into the pool and started the array but now im getting this. Â Quote
JorgeB Posted May 8, 2020 Posted May 8, 2020 5 hours ago, hermy65 said: I added the two drives back into the pool and started the array but now im getting this. You'll destroy the pool doing that, for the future the correct procedure would be: Â Stop the array, if Docker/VM services are using the cache pool disable them, unassign all cache devices, start array to make Unraid "forget" current cache config, stop array, reassign all cache devices, re-enable Docker/VMs if needed, start array. Â Alternatively you can also do a new config and reassign all devices, then check parity is already valid before starting the array. Quote
hermy65 Posted May 8, 2020 Author Posted May 8, 2020 @johnnie.black I followed your steps but when i re-add the drives and start the array i get an error that says: Cache drive unmountable, no pool uuid.  I tried the btrfs restore steps listed here and was able to recover data from the two drives in my original screenshot that were in unassigned devices but when i try it on the two disks that were listed in the pool in my original picture i get the error in the attached image.  Quote
JorgeB Posted May 8, 2020 Posted May 8, 2020 38 minutes ago, hermy65 said: I followed your steps but when i re-add the drives and start the array i get an error that says: Cache drive unmountable, no pool uuid. Like mentioned: 5 hours ago, johnnie.black said: You'll destroy the pool doing that  Quote
hermy65 Posted May 8, 2020 Author Posted May 8, 2020 @johnnie.black I guess im not following. Are you saying what i did earlier caused the issue? Quote
JorgeB Posted May 8, 2020 Posted May 8, 2020 Just now, hermy65 said: Are you saying what i did earlier caused the issue? Yes, you can't re-add existing devices like that, there would be a "any data on this devices will be lost" warning next to them, and starting the array wipes them, a 4 disk pool can't mount with 2 missing devices, the correct way of fixing the pool would be what I wrote above. Quote
JorgeB Posted May 9, 2020 Posted May 9, 2020 It will happen to anyone sooner or later, cache pool behavior especially can be very tricky sometimes, also a reminder that everyone should keep up to date backups of anything important.  Quote
albion01 Posted September 22, 2022 Posted September 22, 2022 On 5/8/2020 at 2:03 AM, JorgeB said: You'll destroy the pool doing that, for the future the correct procedure would be:  Stop the array, if Docker/VM services are using the cache pool disable them, unassign all cache devices, start array to make Unraid "forget" current cache config, stop array, reassign all cache devices, re-enable Docker/VMs if needed, start array.  Alternatively you can also do a new config and reassign all devices, then check parity is already valid before starting the array.  Lost a power supply, after replacing the unit my raid came up with one of the Cache Pool drives unassigned. This solution worked great to get my dockers and VMs back.  Thanks! 1 Quote
Recommended Posts
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.