giftconsult.blogg.se

Import zfs pool systemrescuecd
Import zfs pool systemrescuecd





import zfs pool systemrescuecd

I rebooted into the actual system, and everything worked as it should. I scrubbed the entire array and no errors were reported. Once I did that, I was able to import the pool. I removed the RAID array, zeroed out the superblocks. I finally found that the partitions that were used by ZFS, which were previously used by mdadm as RAID devices, were still being detected as being part of the RAID array. But after I tried to import it, it said one or more devices was still in use. Why that was different from the one I got when I booted and ended up in recovery mode, I don't know. There it gave me a different configuration (the right one). I installed all the necessary tools to use ZFS and from there I tried to look at the status the zpools were in. What I did was booting into the live CD of Fedora. I've got everything running again but I unfortunately don't really know why things are working again. Is it possible that ZFS scans my disks, finds one of the old partitions with the old configuration and uses that instead of the new one? (zdb -l on the other partitions all show different configurations than the one I'm getting when I booting, except part8, which shows that it is replacing part8 by another disk) How can I tell ZFS to use the correct configuration so that I can import and open my pool? I checked with zdb by running zdb -l /dev/disk/by-id/wwn-0x50014ee05943ce36-part4 and it shows 4 labels, all displaying the correct configuration which it was before I rebooted. Status: The pool metadata is corrupted and the pool cannot be opened.Īction: Destroy and re-create the pool from The configuration listed several drives that I had just moved to other drives.Ĭurrently the output of zpool status looks like this: pool: pool When I checked the zpool configuration using zpool status (from the recovery console), the configuration that it displayed was all wrong. The exact error that I'm getting is: "The pool metadata is corrupted and the pool cannot be opened"

import zfs pool systemrescuecd

After rebooting my ZFS pool was unable to open my main pool.







Import zfs pool systemrescuecd