Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd March 2005, 11:41 PM
whoissasha Offline
Registered User
 
Join Date: Mar 2005
Posts: 5
check for bad sectors on a "Linux raid auto" partition

Hello,

I'm running into problems setting up a software raid5 array using mdadm tool with 3 scsi drives. Two of the drives are marked failed almost immediately after the array's creation (mdadm --create etc.). The array is then unusable (as raid 5 requires a min of 3 devices); i can't even format it with mke2fs fast enough before this happens.

I *think* I traced this problem down to bad sectors on those drives. I used dd to try to zero out the drives, and got I/O errors after a couple min. on both of the drives that kept getting dropped out of the array. I got NO i/o errors on the drive that was NOT kicked out - untill the device filled up in a couple hours.

So, i've been reading about the "badblocks" utility - but this tool seems relevant only on ex2 formatted partitions, and invividual drives. Wouldn't make sence to run it on a raid device...

Is there a utility to check for bad sectors/blocks on a "Linux raid auto" partition, which raid participants have to be?

What can i do if i'm able to check those devices and I actually find bad sectors? If they were standalone ex2 formatted drives, i know mke2fs can use badblocks to "mask" them out. But these need to be in a raid...

thanks for any help,

-Sasha Borodin
Reply With Quote
  #2  
Old 24th March 2005, 04:37 PM
whoissasha Offline
Registered User
 
Join Date: Mar 2005
Posts: 5
Well, the problem seems to be fixed, this is what I did:

/sbin/mke2fs -c -c /dev/<problem drive>

This used badsector to write and read different patterns to every place on the disk. I'm not sure HOW this helped, but when i tried to zero out this drive afterwords, i got NO i/o errors - it filled the drive with zeros to the last sector.

Afterwords, i followed the regular steps to create my raid5 device, and this time everything worked great!

Hope this helps someone.

-Sasha Borodin
Reply With Quote
Reply

Tags
bad, check, linux raid auto, partition, sectors

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO MOUNT "C" "D" "E" LOCAL HARDDISK PARTITION ketan_hk Using Fedora 6 6th September 2007 01:10 AM
F4 PPC "Attempt to read sectors 16-18 of partition on /dev/hda" Heckler Installation and Live Media 3 28th June 2005 10:45 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM
"Keep Partitions and Use free space" + "Auto parition" = wipe anything? oldman_420 Installation and Live Media 4 6th May 2005 04:32 AM
How to make Linux partition "invisible" in Windows? redflyingpig Using Fedora 1 16th March 2005 07:25 AM


Current GMT-time: 23:24 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat