How to safely remove disk from zpool and recover data?
Posted: Sat Mar 02, 2024 10:00 pm
Hi all,
I'm new to OpenZFS and couldn't find the documentation to this.
I have a drive with 10gb of data that I added to a zpool. I deleted the zpool using zpool destroy, and afterwards was unable to mount the original drive back with Disk Utility.
I was getting error Could not mount “disk1”. (com.apple.DiskManagement.disenter error -119930868).
I was able to use Disk Utility to recover the drive without losing data. For future reference, how do I avoid getting into this scenario? Or is this expected behavior?
Is zpool destroy the correct way to remove a pool without affecting data on my underlying drives?
I'm new to OpenZFS and couldn't find the documentation to this.
I have a drive with 10gb of data that I added to a zpool. I deleted the zpool using zpool destroy, and afterwards was unable to mount the original drive back with Disk Utility.
I was getting error Could not mount “disk1”. (com.apple.DiskManagement.disenter error -119930868).
I was able to use Disk Utility to recover the drive without losing data. For future reference, how do I avoid getting into this scenario? Or is this expected behavior?
Is zpool destroy the correct way to remove a pool without affecting data on my underlying drives?