- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem reducing vg
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
06-28-2004 07:37 PM
06-28-2004 07:37 PM
Problem reducing vg
leo# vgdisplay -v vg_ob2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d1":
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_ob2
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 32
Cur PV 1
Act PV 1
Max PE per PV 2200
VGDA 2
PE Size (Mbytes) 16
Total PE 544
Alloc PE 292
Free PE 252
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d1":
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_ob2/lv_ob2cs
LV Status available/syncd
LV Size (Mbytes) 4672
Current LE 292
Allocated PE 292
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c12t0d1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d1":
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 Status available
Total PE 544
Free PE 252
Autoswitch On
/dev/dsk/c10t0d1 was an alternate link I want eliminate.
Vg belong to a cluster but package configuration was cancelled.
I can't do vgchange -f because vg in in shared mode. I can't change shared mode because there is no longer alternate path.
How can I reduce my vg?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 07:43 PM
06-28-2004 07:43 PM
Re: Problem reducing vg
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=614420
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 07:52 PM
06-28-2004 07:52 PM
Re: Problem reducing vg
vgexport vg_ob2
vgimport vg_ob2 /dev/dsk/c12t0d1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 08:33 PM
06-28-2004 08:33 PM
Re: Problem reducing vg
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 08:33 PM
06-28-2004 08:33 PM
Re: Problem reducing vg
1) vgchange -a e vg_ob2
2) mount and backup :-)
3) vgchange -a n vg_ob2
4) backup lvmtab
5) vgexport -m vg_ob2.map -v vg_ob2
6) mkdir /dev/vg_ob2
7) mknod /dev/vg_ob2/group c 64 0x??0000
8) vgimport -m vg_ob2.map -v vg_ob2 /dev/dsk/c12t0d1
Now I can:
vgchange -a e vg_ob2 and check
vgchange -a n vg_ob2
vgchange -c n vg_ob2
vgchange -a y vg_ob2
...
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 08:36 PM
06-28-2004 08:36 PM
Re: Problem reducing vg
I am not sure if it will work in your case because it's an altenate link, but did you try a vgreduce -f vg_ob2 or try vgreduce -l /dev/dsk/c10t0d1 vg_ob2.
Read the manpage for details before executing.
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 08:51 PM
06-28-2004 08:51 PM
Re: Problem reducing vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 04:28 AM
06-30-2004 04:28 AM
Re: Problem reducing vg
It it is an alternate link, just do a vgchange -a y for a normal VG and if it is in cluster mode, try to reactivate it in cluster mode and it should clear things up.