Hi,

I have lost a ZFS volume and I am hoping to get some help to recover the information ( a couple of months worth of work :( ).

I have been using ZFS for more than 6 months on this project. Yesterday I ran a "zvol status" command, the system froze and rebooted. When it came back the discs where not available.

See bellow the output of " zpool status", "format" and "zdb".
Do you think there is something that can be done to recover lost data?

Thanks,
  Vic


v490vic-00f3 # zpool status
 pool: SAP
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-D3
scrub: none requested
config:

       NAME                       STATE     READ WRITE CKSUM
SAP UNAVAIL 0 0 0 insufficient replicas mirror UNAVAIL 0 0 0 corrupted data
           c6t40d0                ONLINE       0     0     0 cannot open
           c6t226000C0FFA05F5Ed0  UNAVAIL      0     0     0  cannot open
mirror UNAVAIL 0 0 0 insufficient replicas
           c6t216000C0FF805F5Ed0  UNAVAIL      0     0     0  cannot open
           c6t42d0                UNAVAIL      0     0     0  cannot open
v490vic-00f3 # format
Searching for disks...done

c6t42d0: configured with capacity of 272.44GB
c6t118d0: configured with capacity of 679.97GB
c6t118d31: configured with capacity of 16.00MB
c6t119d0: configured with capacity of 679.97GB
c6t119d31: configured with capacity of 16.00MB
c6t216000C0FF87A646d0: configured with capacity of 272.44GB
c6t216000C0FF805F5Ed0: configured with capacity of 272.44GB
c6t226000C0FFA05F5Ed0: configured with capacity of 272.44GB


AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
         /p...@9,600000/SUNW,q...@2/f...@0,0/s...@w2100000c503b5b09,0
      1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
         /p...@9,600000/SUNW,q...@2/f...@0,0/s...@w2100000c503b783f,0
      2. c6t40d0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w216000c0ff87a7a9,0
      3. c6t42d0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w226000c0ffa7a7a9,0
      4. c6t118d0 <SUN-LCSM100_F-0670 cyl 65533 alt 2 hd 128 sec 170>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w202500a0b85a4cc8,0
      5. c6t118d31 <SUN-UniversalXport-0670 cyl 8 alt 2 hd 64 sec 64>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w202500a0b85a4cc8,1f
      6. c6t119d0 <SUN-LCSM100_F-0670 cyl 65533 alt 2 hd 128 sec 170>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w202400a0b85a4cc8,0
      7. c6t119d31 <SUN-UniversalXport-0670 cyl 8 alt 2 hd 64 sec 64>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w202400a0b85a4cc8,1f
8. c6t216000C0FF87A646d0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w216000c0ff87a646,0
9. c6t216000C0FF805F5Ed0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w216000c0ff805f5e,0
10. c6t226000C0FFA05F5Ed0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>
         /p...@8,600000/SUNW,q...@2/f...@0,0/s...@w226000c0ffa05f5e,0
11. c6t226000C0FFA7A646d0 <SUN-StorEdge3510-327P cyl 35424 alt 2 hd 127 sec 127>

v490vic-00f3 # zdb
SAP
   version=4
   name='SAP'
   state=0
   txg=2589278
   pool_guid=5644167510038135831
   vdev_tree
       type='root'
       id=0
       guid=5644167510038135831
       children[0]
               type='mirror'
               id=0
               guid=14615540212911926254
               whole_disk=0
               metaslab_array=17
               metaslab_shift=31
               ashift=9
               asize=292543528960
               children[0]
                       type='disk'
                       id=0
                       guid=3588260184558145093
                       path='/dev/dsk/c6t216000C0FF87A7A9d0s0'
                       devid='id1,s...@n600c0ff00000000007a7a96be8e22900/a'
                       whole_disk=1
                       DTL=197
               children[1]
                       type='disk'
                       id=1
                       guid=4026862278207380809
                       path='/dev/dsk/c6t226000C0FFA05F5Ed0s0'
                       devid='id1,s...@n600c0ff000000000005f5e76605a4900/a'
                       whole_disk=1
                       DTL=196
       children[1]
               type='mirror'
               id=1
               guid=13122299688569793580
               whole_disk=0
               metaslab_array=14
               metaslab_shift=31
               ashift=9
               asize=292543528960
               children[0]
                       type='disk'
                       id=0
                       guid=16666343811411216678
                       path='/dev/dsk/c6t216000C0FF805F5Ed0s0'
                       devid='id1,s...@n600c0ff000000000005f5e137feb5500/a'
                       whole_disk=1
                       DTL=198
               children[1]
                       type='disk'
                       id=1
                       guid=7841227132682983069
                       path='/dev/dsk/c6t226000C0FFA7A7A9d0s0'
                       devid='id1,s...@n600c0ff00000000007a7a94f7554fe00/a'
                       whole_disk=1
                       DTL=199

--

Victor Galis
Sun Solution Center for SAP
Office: x82399, 650-786-2399


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

Reply via email to