On Sat, 18 Sep 2010, Heinrich wrote:

I SAN boot my systems and this block volume is a windows install, windows boot and run fine. it does however indicate that the disk has a bad block in event viewer. I have been running this setup since build 99 and boot CentOS, win2k8 and Vista/7 from it. ZFS is now unable to get data from the mirror but was able to write it before, so I assume this is either a controller/system fault, disk fault or a ZFS fault? Could a client side FC driver/HBA fault cause this? I did a full scrub of the pool twice. 1st only zlun02 showed up. then I accessed zlun03 via the windows 7 install running on zlun02 and now it shows as a problem also.

It is very unusual to obtain the same number of errors (probably same errors) from two devices in a pair. This should indicate a common symptom such as a memory error (does your system have ECC?), controller glitch, or a shared power supply issue.

My real question here is how can I make a backup/move of the block volume zlun02 via ZFS or is this impossible. Due to licensing on some software it is a real nightmare to reinstall (once I found out what the problem is) I tried making a snapshot of the fs and tried to use zfs send/recv, but this fails as can be expected. Any ideas would be welcomed. Also if anyone knows of a tool I can use to test

It seems like you could use 'dd' with the 'noerror' option and "sync conversion" to do a low-level copy of the data:

         noerror         Does not stop  processing  on  an  input
                         error.  When  an  input  error occurs, a
                         diagnostic message is written  on  stan-
                         dard  error,  followed  by  the  current
                         input and output  block  counts  in  the
                         same  format  as  used at completion. If
                         the sync conversion  is  specified,  the
                         missing  input  is  replaced  with  null
                         bytes and processed normally. Otherwise,
                         the input block will be omitted from the
                         output.

The copy could be to a new zvol in the same pool (assuming you trust the disks) or you could pipe it over ssh to another 'dd'.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to