My Debian server is running ZFS on Linux. Today I had to reboot it two times due to software upgrades. A first reboot because of ZFS update from some 0.6.4-1.2-1-wheezy to 0.6.5.2-2-wheezy, which went fine as I afterwards accessed my home dir in the pool. After the last reboot, zpool fails to import the pool:
# zpool import pool: storage id: 4490463110120864267 state: FAULTED status: The pool metadata is corrupted. action: The pool cannot be imported due to damaged devices or data. see: http://zfsonlinux.org/msg/ZFS-8000-72 config: storage FAULTED corrupted data logs sda3 ONLINE # zpool import storage cannot import 'storage': I/O error Destroy and re-create the pool from a backup source. # zpool import -F storage cannot import 'storage': one or more devices is currently unavailable
I'm missing my complete pool, which should read like this:
storage mirror scsi-SATA_WDC_WD30EFRX-68_WD-WMC1T2132687-part1 scsi-SATA_WDC_WD30EFRX-68_WD-WMC1T2194187-part1
How can I tell zpool to use the data partitions? I'm afraid trying to attach the disks to this pool or a new pool because I fear the disks resp. their metadata will be cleared.
- perhaps important: after re-reading both apt's history.log and wtmp, I'm not sure if I accessed my home dir after the first ZFS-update related reboot. Meanwhile I tried to go back to the former version but I can't find any ZFS packages except the most recent version.
- I have two HDD for data (sdb, sdc), GPT-partitioned, and both main partitions had been set up as a mirror pool on ZFS, using /dev/disk/by-id. Device sda is an SSD with the Debian installation, some VM space and, in a separate partition /dev/sda3, the SLOG/ZIL. All disks are directly attached to the mainboard.
- The zfsonlinx-URL above also suggests a "zpool clear -F storage" which replies "no pools available".