Re: mdadm and fsck

2011-09-19 Thread tv.deb...@googlemail.com
19/09/2011 15:59, Joey L wrote: > Hi Andrew - > Thanks for the reply - > I tried to mount the individual drives that make up my /dev/md1 and this > is what i get : > > root@rider:~# mount -o ro -t ext4 /dev/sdc1 /mnt/sdc1 > mount: wrong fs type, bad option, bad superblock on /dev/sdc1, >

Re: mdadm and fsck

2011-09-19 Thread Joey L
Hi Andrew - Thanks for the reply - I tried to mount the individual drives that make up my /dev/md1 and this is what i get : root@rider:~# mount -o ro -t ext4 /dev/sdc1 /mnt/sdc1 mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error

Re: mdadm and fsck

2011-09-18 Thread Bob Proulx
tv.deb...@googlemail.com wrote: > > My /dev/md1 is gone after a reboot - and is no longer showing - > > I get nothing when i run: Was /dev/md1 created by you somewhere along the way after having installed the system previously? Did you remember to update the /etc/mdadm/mdadm.conf file with the ne

Re: mdadm and fsck

2011-09-18 Thread tv.deb...@googlemail.com
18/09/2011 05:04, Joey L wrote: > Thanks for the info and quick reply. > > My /dev/md0 has rebuilt itself and is okay. > My /dev/md1 is gone after a reboot - and is no longer showing - > I get nothing when i run: > > root@rider:~# mdadm --detail /dev/md1 > mdadm: cannot open /dev/md1: No such fil

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi Joey, Joey L wrote: Thanks for the scripts and the reply !! now i think i understand raid on linux a lot better - but do have additional questions :) Great. My /dev/md0 the root filesystem came back - Thank God !! and you :) Info you requested : root@rider:~# mdadm --detail /dev/md0 /dev/

Re: mdadm and fsck

2011-09-17 Thread Joey L
Thanks for the info and quick reply. My /dev/md0 has rebuilt itself and is okay. My /dev/md1 is gone after a reboot - and is no longer showing - I get nothing when i run: root@rider:~# mdadm --detail /dev/md1 mdadm: cannot open /dev/md1: No such file or directory Questions for you: 1. How do I

Re: mdadm and fsck

2011-09-17 Thread Joey L
Thanks for the scripts and the reply !! now i think i understand raid on linux a lot better - but do have additional questions :) My /dev/md0 the root filesystem came back - Thank God !! and you :) Info you requested : root@rider:~# mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creatio

Re: mdadm and fsck

2011-09-17 Thread tv.deb...@googlemail.com
17/09/2011 17:18, Joey L wrote: > I have a broken raid1 drive set - i was able to fix 1 but the other raid > still has issues. > i have gone through the tutorials online to bring it back online but > still unable to bring it back. > > Do i have to run fsck on the individual member drives ??? Shor

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Andrew McGlashan wrote: You might also find the attached script useful, I place it in /etc/profile.d/ and it runs when I login. You might want this other file too, it defines the system binary locations (and more) as used in the other script... ;-) A. # Global Variables EDITOR=/usr/bin/vim

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi, You might also find the attached script useful, I place it in /etc/profile.d/ and it runs when I login. When I am doing a rebuild, I do the following to monitor the progress: watch -n .5 $CMDADM2_CMD That will repeat the command set each half a second. Cheers AndrewM if [ -d /dev/disk/b

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi, Joey L wrote: I have a broken raid1 drive set - i was able to fix 1 but the other raid still has issues. You fixed the file system with fsck. One drive [of md0] is considered fine, the other is becoming fine during the rebuild. i have gone through the tutorials online to bring it back

mdadm and fsck

2011-09-17 Thread Joey L
I have a broken raid1 drive set - i was able to fix 1 but the other raid still has issues. i have gone through the tutorials online to bring it back online but still unable to bring it back. Do i have to run fsck on the individual member drives ??? my /proc/mdstat looks like: Personalities : [rai