HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgextend required, but can't activate VG!
Operating System - HP-UX
1833041
Members
2360
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-2005 08:35 PM
06-28-2005 08:35 PM
Hi guys,
I've had a controller fail on a VA7400 today... and everything is okay except for one volume group... where the alternate links were not setup.
Based on system records, this is how the volume groups looks:
VG Name /dev/vgappstatic
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 2
Act PV 2
....yada yada yada...
--- Physical volumes ---
PV Name /dev/dsk/c6t6d4
PV Status available
Total PE 1279
Free PE 511
Autoswitch On
PV Name /dev/dsk/c4t6d5
PV Status available
Total PE 1279
Free PE 511
Autoswitch On
Now... I know that my c6 path is down... and will stay down for a little while longer.
Therefore, I can't activate this VG, cause it's missing the first disk. But I know that the c4 path to this disk will have all the data there... it's just not defined in the VG.
I'd like to vgextend the path in... but I can't until I can activate the VG.
So... catch 22.
How can I get the VG to use the path that I forgot to define?
Can I just change /etc/lvmtab, and deal with the VGRA headed be out of sync with the lvmtab?
Thanks heaps !
Andrew
I've had a controller fail on a VA7400 today... and everything is okay except for one volume group... where the alternate links were not setup.
Based on system records, this is how the volume groups looks:
VG Name /dev/vgappstatic
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 2
Act PV 2
....yada yada yada...
--- Physical volumes ---
PV Name /dev/dsk/c6t6d4
PV Status available
Total PE 1279
Free PE 511
Autoswitch On
PV Name /dev/dsk/c4t6d5
PV Status available
Total PE 1279
Free PE 511
Autoswitch On
Now... I know that my c6 path is down... and will stay down for a little while longer.
Therefore, I can't activate this VG, cause it's missing the first disk. But I know that the c4 path to this disk will have all the data there... it's just not defined in the VG.
I'd like to vgextend the path in... but I can't until I can activate the VG.
So... catch 22.
How can I get the VG to use the path that I forgot to define?
Can I just change /etc/lvmtab, and deal with the VGRA headed be out of sync with the lvmtab?
Thanks heaps !
Andrew
The Unix Programmer's Manual, 2nd Edition, June, 1972: "The number of Unix installations has grown to 10, with more expected."
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 08:44 PM
06-28-2005 08:44 PM
Solution
Don't try and manually edit the lvmtab!
NO, to fix this you need to remove and re-create the VG.
1. Make a note of the VGs group file device minor number:
ll /dev/vgappstatic/group
(write down the 0xNN0000 number)
2. Remove the existing VG defintion:
vgexport -m /tmp/vgappstatic.map /dev/vgappstatic
3. Re-create the VG using the same minor number you wrote down before:
mkdir /dev/vgappstatic
mknod /dev/vgappstatic/group c 64 0xNN0000
vgimport -m /tmp/vgappstatic.map /dev/vgappstatic /dev/dsk/c4t6d4 /dev/dsk/c4t6d5
4. Activate & Mount
vgchange -a y /dev/vgappstatic
mount -a
Don't forget to put your alt links back in when the controller is fixed.
HTH
Duncan
I am an HPE Employee
NO, to fix this you need to remove and re-create the VG.
1. Make a note of the VGs group file device minor number:
ll /dev/vgappstatic/group
(write down the 0xNN0000 number)
2. Remove the existing VG defintion:
vgexport -m /tmp/vgappstatic.map /dev/vgappstatic
3. Re-create the VG using the same minor number you wrote down before:
mkdir /dev/vgappstatic
mknod /dev/vgappstatic/group c 64 0xNN0000
vgimport -m /tmp/vgappstatic.map /dev/vgappstatic /dev/dsk/c4t6d4 /dev/dsk/c4t6d5
4. Activate & Mount
vgchange -a y /dev/vgappstatic
mount -a
Don't forget to put your alt links back in when the controller is fixed.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 08:52 PM
06-28-2005 08:52 PM
Re: vgextend required, but can't activate VG!
Excellent.. thanks sooo much for saving me from that slip up!
I've successfully vgexport / recreated / vgimported... as per your instructions. And it worked a treat.
Silly me, thinking to edit lvmtab! as if that would work! Derr, I should know better! :)
Thanks heaps.
I've successfully vgexport / recreated / vgimported... as per your instructions. And it worked a treat.
Silly me, thinking to edit lvmtab! as if that would work! Derr, I should know better! :)
Thanks heaps.
The Unix Programmer's Manual, 2nd Edition, June, 1972: "The number of Unix installations has grown to 10, with more expected."
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP