[TriLUG] Linux RAID Resync and LVM
David Rasch
rasch at raschnet.com
Tue Nov 2 08:59:06 EST 2004
On Tue, Nov 02, 2004 at 08:49:29AM -0500, Brian McCullough <bdmc at bdmcc-us.com> wrote:
> ----- Forwarded message from Brian McCullough <bdmc at bdmcc-us.com> -----
>
>
> I hope that somebody can offer some suggestions to counteract an issue
> that I am having.
>
> I have a server ( a little low on memory, I think ) that is trying to do
> a resync on a Raid 1 disk pair that is under my LVM. Unfortunately,
> this is killing performance on the server, and the people that I serve
> are working to a hard deadline.
>
> Is there any way ( what is the procedure ) to "pause" the resync ( yes I
> know that this is a BAD idea, but it is currently forecast to take
> another 12 - 18 hours ) so that I can either restart or resume it in a
> day or two when the deadline has passed?
>
>
> Configuration:
>
> /dev/md4 = /dev/hde1 ( disk 0 ), /dev/hdg1 ( disk 1 )
>
> /dev/mapper/VGProjectData-lvol1 ( 1-4 ) built on /dev/md4.
>
> I can mount and unmount the LVM partitions, but raidstop just comes back
> with the "help" message.
>
First, you can "cat /proc/mdstat" to see which disk is out of sync.
Then you should try "raidhotremove /dev/md4 /dev/hdx1" depending on
which disk is failed.
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20041102/0ff9f845/attachment.pgp>
More information about the TriLUG
mailing list