- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing old alternate link (LVM)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 08:30 PM
11-08-2006 08:30 PM
i have to reduce a VG of an alternate link that is no more visible.
Simply vgreducing does not work, and also vgreduce - f does not work (-i redice an old disk not available, not an alternate link not available).
Is there any other way to reduce that link without vgexport/vgimport?
thanks and regards
RV
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 08:45 PM
11-08-2006 08:45 PM
Re: removing old alternate link (LVM)
Did you tried to recreate lvmtab (mv /etc/lvmtab ot lvmtab.orig then vrscan -a) and run "vgreduce -f vg##"?
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 08:53 PM
11-08-2006 08:53 PM
Re: removing old alternate link (LVM)
here are the outputs:
#strings /etc/lvmtab
/dev/vg_dstage
/dev/dsk/c2t4d0
/dev/dsk/c14t4d0
/dev/dsk/c16t4d0
#ioscan -fnCdisk
the disk is not shown (maybe a reboot has been performed after the link gone away)
#vgreduce vg_dstage /dev/dsk/c2t4d0
vgreduce: Couldn't query physical volume "/dev/dsk/c2t4d0":
The specified path does not correspond to physical volume attached to
this volume group
#vgdisplay -v vg_dstage
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg_dstage
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 3473
VGDA 2
PE Size (Mbytes) 4
Total PE 3472
Alloc PE 3472
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg_dstage/lvol1
LV Status available/syncd
LV Size (Mbytes) 13888
Current LE 3472
Allocated PE 3472
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c14t4d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c16t4d0 Alternate Link
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
I would like to avoid using vgscan -a because there are a lot of other VG i want leave there.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:35 PM
11-08-2006 09:35 PM
Re: removing old alternate link (LVM)
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:37 PM
11-08-2006 09:37 PM
Re: removing old alternate link (LVM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 10:34 PM
11-08-2006 10:34 PM
SolutionYang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 11:29 PM
11-08-2006 11:29 PM