On 08.06.09 15:50, Marius van Vuuren wrote:
A description of the problem

- Description

The j4200 and the x4150 connected to it were powered off
and then moved to another building with the utmost care. When powered on
again 'zpool status' revealed " corrupted data" on 3 of the disks.

Outputs:

zpool status
 pool: pool2
state: FAULTED
status: One or more devices could not be used because the label is missing
      or invalid.  There are insufficient replicas for the pool to continue
      functioning.
action: Destroy and re-create the pool from a backup source.
 see: http://www.sun.com/msg/ZFS-8000-5E
scrub: none requested
config:

      NAME         STATE     READ WRITE CKSUM
      pool2        FAULTED      0     0     0  corrupted data
        raidz1     UNAVAIL      0     0     0  insufficient replicas
          c1t33d0  ONLINE       0     0     0
          c1t34d0  FAULTED      0     0     0  corrupted data
          c1t35d0  ONLINE       0     0     0
          c1t36d0  FAULTED      0     0     0  corrupted data
          c1t37d0  FAULTED      0     0     0  corrupted data
        raidz1     ONLINE       0     0     0
          c1t26d0  ONLINE       0     0     0
          c1t27d0  ONLINE       0     0     0
          c1t28d0  ONLINE       0     0     0
          c1t29d0  ONLINE       0     0     0
          c1t30d0  ONLINE       0     0     0

r...@x4150:~# zpool status
 pool: pool2
state: FAULTED
status: One or more devices could not be used because the label is missing
      or invalid.  There are insufficient replicas for the pool to continue
      functioning.
action: Destroy and re-create the pool from a backup source.
 see: http://www.sun.com/msg/ZFS-8000-5E
scrub: none requested
config:

      NAME         STATE     READ WRITE CKSUM
      pool2        FAULTED      0     0     0  corrupted data
        raidz1     UNAVAIL      0     0     0  insufficient replicas
          c1t33d0  ONLINE       0     0     0
          c1t34d0  FAULTED      0     0     0  corrupted data
          c1t35d0  ONLINE       0     0     0
          c1t36d0  FAULTED      0     0     0  corrupted data
          c1t37d0  FAULTED      0     0     0  corrupted data
        raidz1     ONLINE       0     0     0
          c1t26d0  ONLINE       0     0     0
          c1t27d0  ONLINE       0     0     0
          c1t28d0  ONLINE       0     0     0
          c1t29d0  ONLINE       0     0     0
          c1t30d0  ONLINE       0     0     0
zfs
r...@x4150:~# zpool scrub pool2
cannot scrub 'pool2': pool is currently unavailable

All I want to know is if there is ANYTHING I can do to recover the data in this pool?

start with running

zdb -u pool2

zdb -bcsv pool2

it is a good idea to redirect output (along with stderr) of the second command to some file. It can take a while to run, but upon completion we'll have better idea what blocks are corrupted and what can be done.

regards,
victor
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to