1753417 Members
5009 Online
108793 Solutions
New Discussion юеВ

MIrroring in HP UX

 
ajin
Frequent Advisor

MIrroring in HP UX

Which command used to remove the defective mirrored hdd with out loosing any data ?
2 REPLIES 2
Jeeshan
Honored Contributor

Re: MIrroring in HP UX

If you have a mirror copy of the data already, you can stop LVM from using the copy on the failing disk by reducing the number of mirrors. To remove the mirror copy from a specific disk, use lvreduce, and specify the disk from which to remove the mirror copy.
For example:
# lvreduce -m 0 -A n /dev/vgname/lvname pvname (if you have a single mirror copy)
or
# lvreduce -m 1 -A n /dev/vgname/lvname pvname (if you have two mirror copies)
a warrior never quits
Jeeshan
Honored Contributor

Re: MIrroring in HP UX

don't forget to assign points!!!!
a warrior never quits