On Apr 12, 2010, at 8:01 PM, Peter Tripp wrote: > Hi folks, > > At home I run OpenSolaris x86 with a 4 drive Raid-Z (4x1TB) zpool and it's > not in great shape. A fan stopped spinning and soon after the top disk > failed (cause you know, heat rises). Naturally, OpenSolaris and ZFS didn't > skip a beat; I didn't even notice it was dead until I saw the disk activity > LED stuck on nearly a week later. > > So I decided I would attach the disks to 2nd system (with working fans) where > I could backup the data to tape. So here's where I got dumb...I ran 'zpool > export'. Of course, I never actually ended up attaching the disks to another > machine, but ever since that export I've been unable to import the pool at > all. I've ordered a replacement 1TB disk, but it hasn't arrived yet. Since I > got no errors from the scrub I ran while the array was degraded, I'm pretty > confident that the remaining 3 disks have valid data. > > * Should I be able to import a degraded pool?
In general, yes. But it is complaining about corrupted data, which can be due to another failure. > * If not, shouldn't there be a warning when exporting a degraded pool? What should the warning say? > * If replace 1TB dead disk with a blank disk, might the import work? Have you tried simply removing the dead drive? Also, the ZFS Troubleshooting Guide has procedures that might help. > * Are there any tools (or commercial services) for ZFS recovery? Versions of OpenSolaris after b128 have additional recovery capability using the "zpool import -F" option. -- richard > > I read a blog post (which naturally now I can't find) where someone in > similar circumstances was able to import his pool after restoring > /etc/zfs/zpool.cache from a backup before the 'zpool export'. Naturally this > guy was doing it with ZFS-FUSE under Linux, so it's another step removed, but > can someone explain to me the logic & risks of trying such a thing? Will it > work if the zpool.cache comes from 1day/1week/1month old backup? > > So here's what I get... > pe...@pickle:~$ pfexec zpool import > pool: andre > id: 5771661786439152324 > state: FAULTED > status: One or more devices are missing from the system. > action: The pool cannot be imported. Attach the missing > devices and try again. > see: http://www.sun.com/msg/ZFS-8000-3C > config: > > andre FAULTED corrupted data > raidz1 DEGRADED > c5t0d0 ONLINE > c5t1d0 ONLINE > c5t2d0 ONLINE > c5t3d0 UNAVAIL cannot open > > Any constructive suggestions would be greatly appreciated. > Thanks > --Peter > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ZFS storage and performance consulting at http://www.RichardElling.com ZFS training on deduplication, NexentaStor, and NAS performance Las Vegas, April 29-30, 2010 http://nexenta-vegas.eventbrite.com _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss