Hi,

zpool status reports my zones pool is corrupted. It seems 2 blocks went bad 
(see below for more details): 

errors: Permanent errors have been detected in the following files:

        <0x4865>:<0x1>
        <0x6f7a>:<0x1>

That's really strange since  mirroring is active. 
Could this be zfs not writing the right data on both disks?
My Supermicro server is running  joyent_20131003T221245Z kernel

At this time, I can see no effect on running VMs.
Is the corruption happening outside of filesystems/volumes actual data?  how 
could I try to recover from this situation?
I have 4 new disks and would like to clean up the pool. 
Would something like this be correct:
zpool create zones2 mirror <ndisk1> <ndisk2> mirror <ndisk3> <ndisk4>
zfs snapshot -r zones@snap
zfs send -Rp zones@snap | zfs receive -u zones2
<stop all vms>
zpool export zones
zpool import  zones2 zones


Thanks,
—
Michel


zpool status -v
  pool: zones
 state: ONLINE
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 4h16m with 32768 errors on Mon May 12 14:14:03 2014
config:

        NAME                         STATE     READ WRITE CKSUM
        zones                        ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c1t50000394183AFC96d0    ONLINE       0     0     0
            c4t50000394183AE482d0    ONLINE       0     0     0
          mirror-1                   ONLINE       0     0     0
            c2t50000394183AE50Ed0    ONLINE       0     0     0
            c5t50000394183B0B86d0    ONLINE       0     0     0
        logs
          mirror-2                   ONLINE       0     0     0
            c0t5E83A97059BABF17d0s0  ONLINE       0     0     0
            c0t5E83A97059BABF12d0s0  ONLINE       0     0     0
        cache
          c0t5E83A97059BABF12d0s1    ONLINE       0     0     0
          c0t5E83A97059BABF17d0s1    ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        <0x4865>:<0x1>
        <0x6f7a>:<0x1>




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to