Operating System - HP-UX
1819833 Members
2810 Online
109607 Solutions
New Discussion юеВ

unable change faulty mirror disk

 
Johnson Punniyalingam
Honored Contributor

unable change faulty mirror disk

# vgreduce /dev/vg00 /dev/dsk/c1t2d0
vgreduce: Couldn't query physical volume "/dev/dsk/c1t2d0":
The specified path does not correspond to physical volume attached to
this volume group

[/home/root]
# pvcreate -B -f /dev/rdsk/c1t2d0
pvcreate: The physical volume "/dev/dsk/c1t2d0" is already recorded in the "/etc/lvmtab" file.

[/home/root]
# vgcfgrestore -n vg00 /dev/rdsk/c1t2d0
Volume Group configuration has been restored to /dev/rdsk/c1t2d0

[/home/root]
# mkboot /dev/rdsk/c1t2d0

[/home/root]
# mkboot -a "hpux -lq" /dev/rdsk/c1t2d0


[/home/root]
# vgchange -a y /dev/vg00
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t2d0":
Cross-device link
Volume group "/dev/vg00" has been successfully changed.


can please advice ?

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: unable change faulty mirror disk

Shalom,

Are you using this doc:

http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf

strings /etc/lvmtab

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
Johnson Punniyalingam
Honored Contributor

Re: unable change faulty mirror disk

Thanks SEP,
Problems are common to all, but attitude makes the difference