RAID Administration

From Linux Raid Wiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by OxzVcd (OxzVcd); changed back to last version by Keld)
Line 1: Line 1:
Periodic tasks
[ lees summit movie] [ industrial safety supply] [ in the rough movie] [ indian masala movie actress page] [ opps] [ philip kingsley] [ http] [ c300 free motorola ringtone] [ spring break t shirt] [ speed control deactivation switch] [ amoxicillin gum infection] [ atreyu crimson video] [ ozzfest tickets] [ ares god of war] [ rick james video dave chapelle] [ penis sucking video] [ index] [ advertising with radio] [ aguilera award christina movie mtv] [ general garden ebooks] [ cell phone ringtone silent] [ sex sim] [ video scalers] [ smartest cities] [ ramming] [ webmap] [ northern pike fishing trip] [ ashlee simpson piece of me music video] [ license motorcycle utah] [ modern pirate ships] [ comic book sex] [ how to make a still] [ respiratory therapy jobs in north atlanta] [ metro ringtones free] [ viscous lidocaine drug] [ gabriel garcia marquez] [ top] [ gay preteen boys] [ queeny love movie] [ judging amy] [ in much the same way] [ excessive perspiration treatments] [ saint james clothing] [ domain] [ smash hits hindi movies] [ siskel and roeper at the movies] [ rec arts movies erotica] [ who pays what closing costs] [ ems postgresql crack] [ latex babes] [ accenture labs technology] [ gay nude wrestling] [ free ringtone for motorola 120t cell phone] [ all about the benjamins music video] [ free german to english translation] [ panda titanium antivirus antispyware 2006 v5.00.00 crack] [ movie listings in london ontario] [ kate mara biography] [ angry kid videos to download] [ movie the lbj brigade] [ domain] [ parking at lax airport] [ sex drugs and violence] [ superdome] [ red arrows] [ queensryche silent lucidity video] [ ny physician license] [ linkin park video] [ rows to columns] [ free pakistani ringtone] [ jeremy piven] [ movie title underlined] [ licenced massage therapists] [ rhinestone transfer] [ thermal probe cpu] [ magic dvd ripper serial number] [ saddleback covenant church] [ in flames video download] [ convert ringtones] [ more] [ eveline] [ intimacy movie review] [ spears fake] [ care options] [ epa freon license] [ babes and bikes] [ play buddy super cracker] [ powervideomaker professional 1.01] [ law obey pack] [ aishwarya rai fucking video clips] [ road movie music] [ drum kits] [ redneck christmas video] [ sexywomen] [ dinosaur national monument] [ live and let die movie script] [ leather eyeglass cases] [ making love in a boat] [ sites] [ effects negative side zoloft] [ what drug are you test] [ uop pharmacy] [ http] [ sex cruises] [ exploded hard drive] [ efax] [ junior girls] [ lrta philippines] [ escort in bozeman montana] [ home] [ bbc sport] [ mule training video] [ nyc rachels restaurant] [ puerto escondido mexico] [ free motorola razor ringtones] [ elektra movie trailer download] [ lm317] [ wisconsin department of public instruction] [ texas state representative john davis] [ aaron burr] [ scrubs uniform] [ radiology jobs] [ santa cruz sentinnel] [ dmv hearings] [ nascar racing video clips] [ eye candy 5 serial] [ miss february] [ new disturbed album 2005] [ registered nurse license california] [ passwords] [ treo 600 ringtones mp3] [ jini pink teen video] [ www] [ fortuna] [ onion booties] [ sexual lesbian fantasies] [ adult movie news sex video] [ northern nsw accommodation] [ movie theater in abilene texas] [ netflix dvd movie] [ singing in the rain music video] [ war college washington] [ purchase porn movie] [ intervideo windvd 6.0] [ recruitment uk video] [ killer whale eating seal video] [ paralytic drug] [ nude female video] [ london dolls house company] [ soaked panties] Periodic tasks
The md system has the following functionality available:
The md system has the following functionality available:

Revision as of 19:33, 22 July 2008

lees summit movie industrial safety supply in the rough movie indian masala movie actress page opps philip kingsley http c300 free motorola ringtone spring break t shirt speed control deactivation switch amoxicillin gum infection atreyu crimson video ozzfest tickets ares god of war rick james video dave chapelle penis sucking video index advertising with radio aguilera award christina movie mtv general garden ebooks cell phone ringtone silent sex sim video scalers smartest cities ramming webmap northern pike fishing trip ashlee simpson piece of me music video license motorcycle utah modern pirate ships comic book sex how to make a still respiratory therapy jobs in north atlanta metro ringtones free viscous lidocaine drug gabriel garcia marquez top gay preteen boys queeny love movie judging amy in much the same way excessive perspiration treatments saint james clothing domain smash hits hindi movies siskel and roeper at the movies rec arts movies erotica who pays what closing costs ems postgresql crack latex babes accenture labs technology gay nude wrestling free ringtone for motorola 120t cell phone all about the benjamins music video free german to english translation panda titanium antivirus antispyware 2006 v5.00.00 crack movie listings in london ontario kate mara biography angry kid videos to download movie the lbj brigade domain parking at lax airport sex drugs and violence superdome red arrows queensryche silent lucidity video ny physician license linkin park video rows to columns free pakistani ringtone jeremy piven movie title underlined licenced massage therapists rhinestone transfer thermal probe cpu magic dvd ripper serial number saddleback covenant church in flames video download convert ringtones more eveline intimacy movie review spears fake care options epa freon license babes and bikes play buddy super cracker powervideomaker professional 1.01 law obey pack aishwarya rai fucking video clips road movie music drum kits redneck christmas video sexywomen dinosaur national monument live and let die movie script leather eyeglass cases making love in a boat sites effects negative side zoloft what drug are you test uop pharmacy http sex cruises exploded hard drive efax junior girls lrta philippines escort in bozeman montana home bbc sport mule training video nyc rachels restaurant puerto escondido mexico free motorola razor ringtones elektra movie trailer download lm317 wisconsin department of public instruction texas state representative john davis aaron burr scrubs uniform radiology jobs santa cruz sentinnel dmv hearings nascar racing video clips eye candy 5 serial miss february new disturbed album 2005 registered nurse license california passwords treo 600 ringtones mp3 jini pink teen video www fortuna onion booties sexual lesbian fantasies adult movie news sex video northern nsw accommodation movie theater in abilene texas netflix dvd movie singing in the rain music video war college washington purchase porn movie intervideo windvd 6.0 recruitment uk video killer whale eating seal video paralytic drug nude female video london dolls house company soaked panties Periodic tasks

The md system has the following functionality available:

echo check > /sys/block/mdX/md/sync_action
echo repair > /sys/block/mdX/md/sync_action

A recent discusion between Roy Waldspurger and Neil Brown:

On a RAID5, and soon a RAID6, I'm looking to set up a cron job, and am trying to figure out what exactly to schedule. The answers to the following questions might shed some light on this:



The "md.txt" doc mentions for "check" that "a repair may also happen for some raid levels." Which RAID levels, and in what cases? If I perform a "check" is there a cache of bad blocks that need to be fixed that can quickly be repaired by executing the "repair" command? Or would it go through the entire array again? I'm working with new drives, and haven't come across any bad blocks to test this with.

'check' just reads everything and doesn't trigger any writes unless a read error is detected, in which case the normal read-error handing kicks in. So it can be useful on a read-only array.

'repair' does that same but when it finds an inconsistency is corrects it by writing something. If any raid personality had not be taught to specifically understand 'check', then a 'check' run would effect a 'repair'. I think 2.6.17 will have all personalities doing the right thing.

check doesn't keep a record of problems, just a count. 'repair' will reprocess the whole array.

2. CAN "CHECK" BE RUN ON A DEGRADED ARRAY (say with N out of N 1 disks on a RAID level 5)? I can test this out, but was it designed to do this, versus "REPAIR" only working on a full set of active drives? Perhaps "repair" is assuming that I have N 1 disks so that parity can be WRITTEN?

No, check on a degraded raid5, or a raid6 with 2 missing devices, or a raid1 with only one device will not do anything. It will terminate immediately. After all, there is nothing useful that it can do.

3. RE: FEEDBACK/LOGGING: it seems that I might see some messages in dmesg logging output such as "raid5:read error corrected!", is that right? I realize that "mismatch_count" can also be used to see if there was any "action" during a "check" or "repair." I'm assuming this stuff doesn't make its way into an email.

You are correct on all counts. mdadm --monitor doesn't know about this yet. ((writes notes in mdadm todo list)).


repair only writes when necessary. In the normal case, it will only read every block.



6. IS IT AT ALL POSSIBLE TO CHECK A CERTAIN RANGE OF BLOCKS? And to keep track of which blocks were checked? The motivation is to start checking some blocks overnight, and to pick-up where I left off the next night...

Not yet. It might be possible one day.


Not that I am aware of.

I/O Schedulers

Starting from version 2.6, Linux kernel has several choices about the I/O scheduler to be used. The default is the anticipatory scheduler, which seems to be sub-optimal on high (eg [resync]) loads. If your kernel has the CFQ scheduler compiled in, it can be used during a resync.

From the command line you can see which schedulers are supported and change it on the fly (remember to do it for each RAID disk):

 # cat /sys/block/hda/queue/scheduler
 noop [anticipatory] deadline cfq
 # echo cfq > /sys/block/hda/queue/scheduler

Otherwise you can recompile your kernel and set CFQ as the default I/O scheduler (CONFIG_DEFAULT_CFQ=y in Block layer, IO Schedulers, Default I/O scheduler) or simply passing elevator=cfq on the kernel command line at boot time (see Documentation/kernel-parameters.txt).

Personal tools