Dear all, I'm puzzled by the following, here's what happened:
(1) I reinstalled FreeBSD (I wanted to start from scratch trying Wayland / Hyprland instead of KDE (that was running like a charm)). But, before I reinstalled, I physically disconnected my data disk hdd: a geli-encrypted zpool called 'zstorage' (ada1p1)
(2) After setting up the system, I physically reconnected the disk, booted in the system, and decrypted the disk with the following geli command:
This proceeded without problems
(3) then I got confused trying to mount it using zpool, partly read the man page, tried a bunch of commands like:
After these commands, I found the mount point /zstorage was there, but the disk was empty (also confirmed by df -h)
After a stressful reboot, I fired up a browser on my phone to read some more, and realized I should not have been running the create commands, but the import command after geli attach instead:
To my horror, the disk was still empty...
So, now my question: I seem to be able to decrypt with geli attach just fine (so the data is fine?), but after the zpool commands the disk seems to be emtpy. Is it possible that one of the issued zpool commands destroyed the data on the disk? Please help!
(1) I reinstalled FreeBSD (I wanted to start from scratch trying Wayland / Hyprland instead of KDE (that was running like a charm)). But, before I reinstalled, I physically disconnected my data disk hdd: a geli-encrypted zpool called 'zstorage' (ada1p1)
(2) After setting up the system, I physically reconnected the disk, booted in the system, and decrypted the disk with the following geli command:
geli attach ada1p1
This proceeded without problems
(3) then I got confused trying to mount it using zpool, partly read the man page, tried a bunch of commands like:
zpool create zstorage
zpool create zstorage ada1p1
zpool create -f zstorage ada1p1
After these commands, I found the mount point /zstorage was there, but the disk was empty (also confirmed by df -h)
After a stressful reboot, I fired up a browser on my phone to read some more, and realized I should not have been running the create commands, but the import command after geli attach instead:
zpool import zstorage
To my horror, the disk was still empty...
So, now my question: I seem to be able to decrypt with geli attach just fine (so the data is fine?), but after the zpool commands the disk seems to be emtpy. Is it possible that one of the issued zpool commands destroyed the data on the disk? Please help!