1826724 Members
3114 Online
109702 Solutions
New Discussion

Mirror

 
SOLVED
Go to solution
Rafael Casero
Regular Advisor

Mirror

Why I'm getting this error while I try to lvextend to the mirroed disk , how would I correct this

miaux12: / =>lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0s2
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c0t5d0
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: Mirror

Shalom,

You need to break the mirrors if they exist, get that disk out of the volume group with vgreduce and get the disk redone via LVM pvcreate.

Thats what I'd try.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rafael Casero
Regular Advisor

Re: Mirror

How would I split the mirror on itanium...

TwoProc
Honored Contributor

Re: Mirror

reduce:
lvreduce /dev/vg00/lvol1 /dev/dsk/c0t5d0s2

then re-pvcreate:

pvcreate -f /dev/dsk/c0t5d0s2

then put it back as before:

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0s2

*Note: I'm not familiar with the "s2" extension: but I'm guessing that is for Itanium, so I just parroted the device as per what you had. But, the technique is the same.
We are the people our parents warned us about --Jimmy Buffett
Rafael Casero
Regular Advisor