Hot answers tagged zpool
Given the fact, that the zpool loss took place during a regular reboot, I hoped that at least the zpool export took place. And even if it had been shut down unclean, I prefer to do rescue works on copies. So I added a large HDD to my system (which was added as device sdb - thanks udev) and formatted it with two partitions of the same size as the zfs ...
I was able to 'recover' from this incident by zfs 'send'ing and receiving the corrupt pool to a new pool. # create new single disk pool (or a mirror in advance if you wish) zpool create -f tpool c0d0s0 # make a baseline snapshot of the old pool zfs snapshot -r rpool@now # zfs send it to the new tpool zfs send -vR rpool@now | zfs receive -Fduv tpool # ...
Use the following command change out /dev/adaX for your drives. [blackout@freenas ~]# smartctl -a /dev/ada0 | grep "Serial" Serial Number: WD-WCC4EXXXXXXXX also a helpful commant [blackout@freenas ~]# glabel status
Only top voted, non community-wiki answers of a minimum length are eligible