Any way to know what files were in a broken ZFS pool?

Posted by Erik Tjernlund on Server Fault See other posts from Server Fault or by Erik Tjernlund
Published on 2012-04-15T14:51:45Z Indexed on 2012/04/15 17:33 UTC
Read the original article Hit count: 301

Filed under:
|
|

I have a large ZFS pool of 4 combined drives. Now, the filesystem can not be mounted:

  pool: tank
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
        replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-3C
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        UNAVAIL      0     0     0  insufficient replicas
          c10t0d0   ONLINE       0     0     0
          c8t0d0    UNAVAIL      0     0     0  cannot open
          c8t1d0    ONLINE       0     0     0
          c10t1d0   ONLINE       0     0     0

Probably a broken drive (c8t0d0).

I'm not overly concerned by the loss of the data, but I'd love to know exactly which files were in that pool. Is there any way to get a listing of what files were there?

© Server Fault or respective owner

Related posts about solaris

Related posts about zfs