LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   e2fsck -c question! (https://www.linuxquestions.org/questions/linux-hardware-18/e2fsck-c-question-163900/)

Finlay 03-29-2004 04:11 PM

e2fsck -c question!
 
I have a RAID 1, 2 drives mirrored.
If i run e2fsck -c will it be able to detect badblocks?

Thanks

born4linux 03-29-2004 06:51 PM

if your partitions are in extended fs - it should work if they have bad blocks. but make sure you now what raid device you wish to run e2fsck on - ie. e2fsck /dev/md0 and not just e2fsck /dev/hdX (which is a member of the array).

Finlay 03-29-2004 09:48 PM

it is an lsi megaraid ide on red hat 9
/dev/sda3 is the root partition.
/dev/sda2 is the swap
/dev/sda1 is the /boot partition
so should i run like e2fsck -c /dev/sda3 ?
ext3 fs

born4linux 03-30-2004 02:42 AM

so it's just on a RAID controller but not actually set up as RAID? if that's the case - go into single or rescue mode and then run e2fsck on that partition.

Finlay 03-30-2004 09:20 AM

no, it is setup as raid 1, 2 drives, 3 partitions mirrored.


All times are GMT -5. The time now is 09:23 PM.