[ilugd] to get data from raid5 breaked hdd
Dear I have software raid 5 in my fc4 system due to some problem my raid was faild. I remove the hdd from that system and plugin into another without raid system and try to mount it like mount -t fd /dev/hdd1 /mnt/mydir ( it gives error --> mount: unknown filesystem type 'fd') mount -t ext3 /dev/hdd1 /mnt/mydir( it givse error -- > wrong fs type, bad option, bad superblock on /dev/hdd1) mount /dev/hdd1 /mnt/mydir ( it gives error --> mount: wrong fs type, bad option, bad superblock on /dev/hdd1)dis mount -f /dev/hdd1 /mnt/mydir ( from this cmd hdd is mount and on df -lh it showing 8gb used but when i am doing ls, it showing no data) If I am run the command fdisk -l then it shows /dev/hdd1 1 30401 24419 6001 fd Linux raid autodetect so plz tell how can mount this partition as ext3 or how can we take data from this raid formated hdd with best wishes rajnish ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] to get data from raid5 breaked hdd
On 30/06/06, rajnish kumar <[EMAIL PROTECTED]> wrote: > I have software raid 5 in my fc4 system due to some problem my raid > was faild. I remove the hdd from that system and plugin into another > without raid system and try to mount it like > > mount -t fd /dev/hdd1 /mnt/mydir ( it gives error --> mount: unknown > filesystem type 'fd') > mount -t ext3 /dev/hdd1 /mnt/mydir( it givse error -- > wrong fs type, bad > option, bad superblock on /dev/hdd1) > mount /dev/hdd1 /mnt/mydir ( it gives error --> mount: wrong fs type, bad > option, bad superblock on /dev/hdd1)dis > mount -f /dev/hdd1 /mnt/mydir ( from this cmd hdd is mount and on df > -lh it showing 8gb used but when i am doing ls, it showing no data) "man mdadm" is your friend here. You can hot add or spin down a raid component using this command. Since it is a raid drive I suspect you have to do something like: mount /dev/md0 /mout/point -- Sudev Barar Learning Linux ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] to get data from raid5 breaked hdd
--- rajnish kumar <[EMAIL PROTECTED]> wrote: > Dear > I have software raid 5 in my fc4 system due to some problem > my raid > was faild. I remove the hdd from that system and plugin into another > without raid system and try to mount it like > > mount -t fd /dev/hdd1 /mnt/mydir ( it gives error --> mount: unknown > filesystem type 'fd') > mount -t ext3 /dev/hdd1 /mnt/mydir( it givse error -- > wrong fs > type, bad > option, bad superblock on /dev/hdd1) > mount /dev/hdd1 /mnt/mydir ( it gives error --> mount: wrong fs type, > bad > option, bad superblock on /dev/hdd1)dis > mount -f /dev/hdd1 /mnt/mydir ( from this cmd hdd is mount and on > df > -lh it showing 8gb used but when i am doing ls, it showing no > data) > > If I am run the command fdisk -l then it shows > > /dev/hdd1 1 30401 24419 6001 fd Linux raid > autodetect > > so plz tell how can mount this partition as ext3 or how can we take > data > from this raid formated hdd 1. Do a 'cat /proc/mdstatus' and check whether md still thinks you have two hard disk in the raid setup. 2. Assuming it shows three or more hard disk with one in failed status. Run 'mdadm /dev/md0 -r /dev/hdd1' which should remove the failed device from the RAID array. 3. Run 'mdadm /dev/md0 -a /dev/hdd1' which should add the new hard disk back into the array. 4. Regularly check the output of 'cat /proc/mdstatus' to see the Raid array being recreated. If possible try not to shutdown the server till the array is recreated. Following command might be helpful 'watch -n 10 cat /proc/mdstatus' 5. RAID devices dont necessarily have a filesystem therefore you can't mount the device/array itself. Assuming your filesystem didnt get wiped out you should not have to mount anything. RAID will recover itself and become healthy in the background without your intervention. Ofcourse system performance would go for a toss meanwhile. Do note I have made assumptions as to what your devices and raid setup are. Check the man page to understand what options I have given and their implications. Mithun __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/