System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

remove hard disk from mirror

 
SOLVED
Go to solution
Highlighted
Frequent Advisor

remove hard disk from mirror

How to remove the mirroring of the hard disk? to removed it's attachment from the os hard disk so that i can use this hard disk for another purposes..Is that possible?does it requires the system to be reboot?


Pls help..ty
5 REPLIES 5
Highlighted
Honored Contributor

Re: remove hard disk from mirror

Removing of mirror disk doesn't require reboot.

It's simple. 1st identify how many LVs you have in mirrored.

lvextend -m 0

Verify that you have successfully removed the mirror

lvdisplay -v

remove disk from VG

vgreduce

Remove disk from the system

ioscan -fnk |grep disk |awk '{print $3}'

rmsf -H
Regards
Shibin
Highlighted
Respected Contributor
Solution

Re: remove hard disk from mirror

Shibin,

>> lvextend -m 0

mirror_copies can have the value 1 or 2. It must be greater than the current value.

You have to lvreduce.

Rgds...
Highlighted
Honored Contributor

Re: remove hard disk from mirror

You right Arumugam, I missed that.
Regards
Shibin
Highlighted
Honored Contributor

Re: remove hard disk from mirror

Dear Renz

The following examples is using the volume group vg01 and the logical volume lvhome

lvreduce -m 0 /dev/vg01/lvhome


Thanks and regards

Sajjad Sahir
Highlighted
Frequent Advisor

Re: remove hard disk from mirror

Thanks for the reply gurus!see you next tym..thank you for giving time with me,I really appreciate it..