From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Majed B." Subject: Re: Is My Data DESTROYED?! Date: Fri, 23 Oct 2009 06:14:33 +0300 Message-ID: <70ed7c3e0910222014r7fee262csd67808c75a0aa179@mail.gmail.com> References: <70ed7c3e0910221943v50d62cecg2a8741a7928ec064@mail.gmail.com> <516041.14853.qm@web38805.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <516041.14853.qm@web38805.mail.mud.yahoo.com> Sender: linux-raid-owner@vger.kernel.org To: adfas asd Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids Since you noticed that the utils were gone, seems like JFS libs & programs were uninstalled/deleted. Now that you have them back, you're able to mount the filesystem normal= ly. On Fri, Oct 23, 2009 at 5:59 AM, adfas asd wrot= e: > When I was trying to find man for mkfs.jfs I discovered that jfsutils= was suddenly not installed. =C2=A0I installed it and then could man mk= fs.jfs . > > I rebooted so I could plug in the second drive, and then md0 was gett= ing mounted on /home as it should. =C2=A0Indeed I have all my data agai= n. =C2=A0I don't understand what happened. > > > --- On Thu, 10/22/09, Majed B. wrote: > >> From: Majed B. >> Subject: Re: Is My Data DESTROYED?! >> To: "adfas asd" >> Cc: linux-raid@vger.kernel.org >> Date: Thursday, October 22, 2009, 7:43 PM >> I don't know exactly what went wrong >> with your setup, so I can't tell >> why it's not mounting. >> >> Did you check the output of dmesg | tail after a failed >> mount? >> >> I'd suggest that you don't touch the disks, cables, nor the >> array. >> >> Try running sudo fsck /dev/md0 >> >> On Fri, Oct 23, 2009 at 5:18 AM, adfas asd >> wrote: >> > >> > I don't understand exactly what it is to be done. =C2=A0If >> I can mount using a different superblock, do I then remove >> one of the drives from the array so I can put that drive >> away with my data until I can buy another drive to back up >> the data to? =C2=A0If so, how? >> > >> > How is it that the superblock on -both- drives got >> destroyed? =C2=A0Isn't RAID10 supposed to be mirrored? >> > >> > --- On Thu, 10/22/09, Majed B. >> wrote: >> > >> > > From: Majed B. >> > > Subject: Re: Is My Data DESTROYED?! >> > > To: "adfas asd" >> > > Cc: linux-raid@vger.kernel.org >> > > Date: Thursday, October 22, 2009, 7:12 PM >> > > If you have bad sectors here >> > > & there, and you didn't read the areas where >> the bad >> > > sectors are, you won't get read errors. >> > > >> > > That's why you should always have smartd running >> along >> > > with periodic sync_action -> check to force >> mdadm to >> > > check the array. >> > > >> > > >> > > >> > > There's still hope in recovering your data. >> Don't >> > > despair. >> > > >> > > On Fri, Oct 23, 2009 at 5:04 AM, >> > > adfas asd >> > > wrote: >> > > >> > > >> > > How could this possibly have >> > > happened? =C2=A0The whole idea of RAID is so >> something like this >> > > won't happen. >> > > >> > > >> > > >> > > >> > > >> > > I was using JFS. >> > > >> > > >> > > >> > > I've lost confidence now in mdadm. =C2=A0I have too >> much >> > > data to back up practically, and am now at a >> loss. >> > > >> > > >> > > >> > > >> > > >> > > --- On Thu, 10/22/09, Majed B. >> > > wrote: >> > > >> > > >> > > >> > > > From: Majed B. >> > > >> > > > Subject: Re: Is My Data >> > > DESTROYED?! >> > > >> > > > To: "adfas asd" >> > > >> > > > Cc: linux-raid@vger.kernel.org >> > > >> > > > Date: Thursday, October 22, 2009, 6:40 PM >> > > >> > > > Seems like your >> > > filesystem is >> > > >> > > > corrupted. Some filesystems have >> alternative >> > > superblocks. >> > > >> > > > >> > > >> > > > you can mount your filesystem using an >> alternative >> > > >> > > > superblock using: mount -o >> sb=3D >> > > >> > > > You find the offset value by running a >> dry-run (test) >> > > of >> > > >> > > > mkfs on your drives. It will print multiple >> offsets >> > > for >> > > >> > > > superblocks. >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > On Fri, Oct 23, 2009 at 4:36 AM, >> > > >> > > > adfas asd >> > > >> > > > wrote: >> > > >> > > > >> > > >> > > > >> > > >> > > > Today I went in to my HTPC, to find it was >> hung and >> > > the >> > > >> > > > drive light was stuck on. =C2=A0After all >> attempts to >> > > revive it >> > > >> > > > or switch to terminal 2 or 3 had failed I >> reset the >> > > system. >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > It rebooted to tell me that it cannot mount >> /home, >> > > the >> > > >> > > > RAID10offset2 device. >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > When I reboot in recovery mode and try to >> mount >> > > /dev/md0 >> > > >> > > > manually it informs me there is an invalid >> superblock! >> > > =C2=A0I >> > > >> > > > shut down and unplugged each drive in turn, >> and >> > > /proc/mdstat >> > > >> > > > shows the appropriate volume gone, but still >> can't >> > > mount >> > > >> > > > the array. >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > What has happened here? =C2=A0Is all my data >> destroyed? >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > -- >> > > >> > > > >> > > >> > > > To unsubscribe from this list: send the >> line >> > > >> > > > "unsubscribe linux-raid" in >> > > >> > > > >> > > >> > > > the body of a message to majordomo@vger.kernel.org >> > > >> > > > >> > > >> > > > More majordomo info at =C2=A0http://vger.kernel.org/majordomo-= info.html >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > -- >> > > >> > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Majed B. >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > >> > > To unsubscribe from this list: send the line >> > > "unsubscribe linux-raid" in >> > > >> > > the body of a message to majordomo@vger.kernel.org >> > > >> > > More majordomo info at =C2=A0http://vger.kernel.org/majordomo-in= fo.html >> > > >> > > >> > > >> > > >> > > -- >> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Majed B. >> > > >> > > >> > > >> > >> > >> > >> > -- >> > To unsubscribe from this list: send the line >> "unsubscribe linux-raid" in >> > the body of a message to majordomo@vger.kernel.org >> > More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info= =2Ehtml >> >> >> >> -- >> =C2=A0 =C2=A0 =C2=A0 Majed B. >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-raid" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.h= tml >> > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid"= in > the body of a message to majordomo@vger.kernel.org > More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.ht= ml > --=20 Majed B. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html