Operating System - HP-UX
1753298 Members
7306 Online
108792 Solutions
New Discussion юеВ

remove hard disk from mirror

 
SOLVED
Go to solution
Renz Malabanan
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
Shibin_2
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
P Arumugavel
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...
Shibin_2
Honored Contributor

Re: remove hard disk from mirror

You right Arumugam, I missed that.
Regards
Shibin
Sajjad Sahir
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
Renz Malabanan
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..