1833838 Members
2307 Online
110063 Solutions
New Discussion

Re: Remove mirror disk

 
SOLVED
Go to solution
j773303
Super Advisor

Remove mirror disk

As title, in VG00, /home has
been mirror to another disk,
how to remove the mirror disk
from /home?
Hero
2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: Remove mirror disk

Hi,

This should do it. Change the '?' to the corresponding lvol number you have, or change the 'lvol?' to the corresponding logical volume name for /home

# lvreduce -m 0 /dev/vg00/lvol?

HTH
Michael
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: Remove mirror disk

You'll have to umount /home before reducing. And if you can't from run level 3 then you'll have to use LVM maintenance mode.

umount /home
fuser /home (* to see what processes are attached to /home *)
lvreduce -m 0 /dev/vg00/lvol4

LVM maintenance mode is tricky, try this first and respond if you need it.
Support Fatherhood - Stop Family Law