(no subject)

Chameeya Software Services Ltd. chameeyass at hotmail.com
Wed Jun 4 19:38:58 UTC 2008


I have had further problems with this RAID. Today I was extracting files from a 2Gig zipped tar andthe node ad4 failed. I could not not figure out what to do after that. I triedgmirror forget datgmirror insert dat ad4 that gave me an error ad6 device not found So I tried a reboot. That was even worse. as when the mirror came up ad4 was restored only!in a degraded state. Then I recieved a endless stream ofg_vfs_done READ errors! I had to turn the machine off. So I decided to destroy the mirror. I amended fstab to not mount the mirror and mounted ad4 into /homewhere the mirror usually resides and back everything up.I did :gmirror stop datwhich worked until GEOM timed out and started it again.I quickly didgmirror stop datgmirror unloadmount /dev/ad4 /home Then I rebuilt the mirror:gmirror label -b split -s 2048 dat ad4 ad6gmirror loadnewfs /dev/mirror/dat -Umount /dev/mirror/dat /home2 and copied all the files back- well tried to. The mirror broke again.I had to do all the work again. Except this time I left off SOFT-UPDATES.I copied all the files again and this time the mirror survived. Am I doing something wrong when I build the mirror? Or is therean issue with SOFT-UPDATES? my system again isCeleron 800Mhz, 768MBad2  - 11Gig HD IDEad4,ad6 - WD 320Gig SATASiL3512 PCI SATA controller Thanks,Salik.> From: chameeyass at hotmail.com> To: freebsd-geom at freebsd.org> Date: Mon, 2 Jun 2008 21:18:51 +0000> Subject: mirror device detached on large file copy> > > Hello running FreeBDs 7.0 on a Celeron 800Mhz and I copied a 1.8G file across from my Windows box to the FreeBSD box. It finished the copy..or during the copy I got the following:kernel : ad6 : FAILURE - device detachedkernel : subdisk6: detachedkernel : ad6 : detachedkernel : GEOM_MIRROR : device dat : provider ad6 disconnected.kernel : g_vfs_done():mirror/dats1d[READ(offset=196937613312, length=16384)]error=6I can only think that perhaps its a time out or a file block error> The file appears okay on ad4 and when I look at it from a NFS mount and through SAMBA on my Windows box.> the configuration is roughly thus> ad2 - boot drive, freeBSD installedad4 - 320G SATAad6 - 320G SATA - components of mirror dat I used round-robin priority. So I am not sure if the failure is copying the large file from ad6->ad4?> or from ad4->ad6. I presume it is the latter, so would wonder why I got a READ error and not a write.> I put a newfs on ad4 but not ad6 when I was building the mirror. I put the label on ad4 during install (also put newfs during install). Did not put label on on ad6, did not put a newfs on ad6. I Thought the gmirror would take care of that, at any rate it has been working. I have put other files of several hundred megabytes without a problem. But when I tried this 1.8G file this error happened. I have checked the file systems on each device and they appear identical...could be because of the mirror I am reporting only on ad4 and fooling me?> Now I can see some internet documents on this where the newfs should be run on the mirror. Is this the correct procedure> to ensure the file blocks are mapped properly on each drive. The drive, as I have said, has some files on it already and has been working > fine for a couple of week. It is not a heavily loaded server, its why I am using a slower machine.> I would appreciate any tips on determining why this happened and whether I built the mirror properly.> > Thanks,> Sal
_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000002ukm/direct/01/


More information about the freebsd-geom mailing list