LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2004, 04:11 PM   #1
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
e2fsck -c question!


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

Thanks
 
Old 03-29-2004, 06:51 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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).
 
Old 03-29-2004, 09:48 PM   #3
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
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
 
Old 03-30-2004, 02:42 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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.
 
Old 03-30-2004, 09:20 AM   #5
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
no, it is setup as raid 1, 2 drives, 3 partitions mirrored.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i skip e2fsck? murrowman789 Slackware 8 07-20-2005 05:25 PM
e2fsck Eugney Slackware 2 06-03-2005 11:13 AM
e2fsck error hk_linux Linux - Hardware 3 12-08-2004 07:48 AM
e2fsck syntax help resistednormalc Linux - General 1 08-25-2004 09:19 AM
When and how to use e2fsck and badblocks Silly22 Linux - Newbie 5 05-29-2002 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration