Giving top priority to a rebuild instead of serving userland?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am doing a resize on a 4 x 1 TB raid5 array (going to 5x 1 TB).

When there is no userland I/O it reports about 1000 minutes to
rebuild.  However, minor amount of userland demand makes it shoot up
to 3500-4000 as the rebuild puts it's own interests behind.

However, the I/O there is garbage, in this case a disk-noisy web
browser.  Can I tell md to give priority to it's rebuild and serve
userland as it pleases with -say- a maximum of 10% rebuild time
increase? Yes I know that'll make the system very sluggy.

I would be finished already but overnight I left a browser tab open
that caused according to iostat 400-500 Blk_wrtn contiguously.  That
is when *not* actually using the browser (I'll report that as a bug).
Now I am still at 38% rebuild.  Didn't seem worth the price I payed :-)

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@xxxxxxxx>   http://www.cons.org/cracauer/
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux