From owner-freebsd-geom@FreeBSD.ORG Wed Jun 4 19:38:58 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F39B1065671 for ; Wed, 4 Jun 2008 19:38:58 +0000 (UTC) (envelope-from chameeyass@hotmail.com) Received: from blu0-omc3-s7.blu0.hotmail.com (blu0-omc3-s7.blu0.hotmail.com [65.55.116.82]) by mx1.freebsd.org (Postfix) with ESMTP id 3DDBD8FC1B for ; Wed, 4 Jun 2008 19:38:57 +0000 (UTC) (envelope-from chameeyass@hotmail.com) Received: from BLU121-W21 ([65.55.116.73]) by blu0-omc3-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Jun 2008 12:38:57 -0700 Message-ID: X-Originating-IP: [82.71.53.224] From: Chameeya Software Services Ltd. To: Date: Wed, 4 Jun 2008 19:38:57 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 04 Jun 2008 19:38:57.0514 (UTC) FILETIME=[A1560CA0:01C8C67A] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 19:38:58 -0000 I have had further problems with this RAID. Today I was extracting files fr= om a 2Gig zipped tar andthe node ad4 failed. I could not not figure out wha= t to do after that. I triedgmirror forget datgmirror insert dat ad4 that ga= ve me an error ad6 device not found So I tried a reboot. That was even wors= e. as when the mirror came up ad4 was restored only!in a degraded state. Th= en 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 mou= nt the mirror and mounted ad4 into /homewhere the mirror usually resides an= d back everything up.I did :gmirror stop datwhich worked until GEOM timed o= ut and started it again.I quickly didgmirror stop datgmirror unloadmount /d= ev/ad4 /home Then I rebuilt the mirror:gmirror label -b split -s 2048 dat a= d4 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 d= o 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 wr= ong when I build the mirror? Or is therean issue with SOFT-UPDATES? my syst= em again isCeleron 800Mhz, 768MBad2 - 11Gig HD IDEad4,ad6 - WD 320Gig SATA= SiL3512 PCI SATA controller Thanks,Salik.> From: chameeyass@hotmail.com> To= : freebsd-geom@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 th= e 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 disconnect= ed.kernel : g_vfs_done():mirror/dats1d[READ(offset=3D196937613312, length= =3D16384)]error=3D6I can only think that perhaps its a time out or a file b= lock error> The file appears okay on ad4 and when I look at it from a NFS m= ount and through SAMBA on my Windows box.> the configuration is roughly thu= s> ad2 - boot drive, freeBSD installedad4 - 320G SATAad6 - 320G SATA - comp= onents of mirror dat I used round-robin priority. So I am not sure if the f= ailure is copying the large file from ad6->ad4?> or from ad4->ad6. I presum= e 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 th= e 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 ta= ke 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 fi= le 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 e= nsure the file blocks are mapped properly on each drive. The drive, as I ha= ve said, has some files on it already and has been working > fine for a cou= ple 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/=