Rainer Siedler
2009-Jul-20 09:49 UTC
[zfs-discuss] zpool import problem / missing label / corrupted data
After a power outage due to a thunder storm my 3 disk raidz1 pool has become UNAVAILable. It is a ZFV v13 pool using the whole 3 disks created on FreeBSD current 8 x64 and worked well for over a month. Unfortunately I wasn''t able to import the pool with neither a FreeBSD LiveCD or the current OpenSolaris LiveCD x86/x64. When I tried to import the pool with FreeBSD the system just hangs (I waited for 2 days for a response, which didn''t come, not even an error message). Browsing the web informed me that this problem might be solved by using a newer ZFS revision. Therefore I gave opensolaris a try, resulting in the following zpool import -f output: pool: tank id: 582994605255991135 state: UNAVAIL status: The pool is formatted using an older on-disk version. action: The pool cannot be imported due to damaged devices or data. config: tank UNAVAIL insufficient replicas raidz1 UNAVAIL corrupted data c8t0d0p0 ONLINE c10d0p0 ONLINE c11d0p0 ONLINE The OpenSolaris LiveCD (snv_111b) uses ZFS v14, which would explain the status message. zdb -l shows full LABELs on c8t0d0p0, but the other disks are missing LABEL 2 and LABEL 3. c8t0d0p0 is connected via usb and the other disks via onboard SATA. Some people with similar problems where able to solve them by exporting and importing their pools. I can''t export the pool, since I need to import it first in order to have a pool available to export, can''t destroy it import it with the -D option for the same reason. At least the disks themselves seem to be okay, since dd finished on all disks without errors. Everything I found on the web so far was either not applicable or didn''t lead to any results. I hope that you can help me to get at least a fraction of the data back. The ''important data'' was the cifs share used by all in-house computers for central storage. There are partial backups of the data, on different disks, but those aren''t up to date with the files on the pool. Snapshots have been made, but those are on the pool as well. I planned on adding another disk for the OS and use the raidz for storage only. The new disk arrived a few days after that incident with the power outage. So I am close to just setup the whole system from scratch with the new setup, but I want to give it a last try to recover it with your expertise. After all it would be pretty convenient to add the raidz pool to the fresh install without loosing any user data. Regards, sid -- This message posted from opensolaris.org
raoul le crie qui desaoule
2009-Jul-20 19:52 UTC
[zfs-discuss] zpool import problem / missing label / corrupted data
hello, I cannot help for your problem but one of my drives wwas also destroyed by last week-end''s storm. and what a storm it was! good luck with your restore. -- This message posted from opensolaris.org