- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding disks to existing LVs in a HA enviromen...
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
09-11-2002 11:44 AM
09-11-2002 11:44 AM
Adding disks to existing LVs in a HA enviroment
I recently added 5 EMC disks to existing LVs in a volume group on box 2 of a HA cluster running MC/SG. I didn't create any new LVs, just simply added 5 new disks to the VG and then lvextended to the new ones.
I then did the usual vgexport -p -s -m /tmp/vg03.map vg00 and ftped it to the 1 box and tried to import it but failed for some reason I forget. Of course that VG isn't activated on the 1 box because 2 is currently running it (where I added the disks).
My question is this. The /etc/lvmtab on the 1 box does not reflect the 5 (actually 10 because of the alternate links) new disks. When I fail the package and that volume group over to the 1 box, will /etc/lvmtab update itself?
If not, whats the procedure I have to do to update /etc/lvmtab on the 1 box?
I've taken a look at the mapfile created with the vgexport command and it doesn't contain device names, only logical volumes. The device paths to the shared disks are different on the 1 and 2 systems although it's easy to figure out whats what (only the controller number) is different. Is there any issue with that?
Thanks for any info!
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 11:50 AM
09-11-2002 11:50 AM
Re: Adding disks to existing LVs in a HA enviroment
Your /etc/lvmtab on box 1 won't fix itself (although that would be cool - I would have fewer gray hairs if it did!). You'll need to get the vgimport done to make it happy. Box 1 won't be able to use that VG until you get it fixed.
When you look at the map file, the first line is the VGID entry. The vgimport command looks at all the disks and imports any of them that have that VGID.
If you'll try the vgimport command on box 1 again and post the errors, maybe we can figure out what is going on.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 11:53 AM
09-11-2002 11:53 AM
Re: Adding disks to existing LVs in a HA enviroment
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 11:57 AM
09-11-2002 11:57 AM
Re: Adding disks to existing LVs in a HA enviroment
Thanks!
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 12:09 PM
09-11-2002 12:09 PM
Re: Adding disks to existing LVs in a HA enviroment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 12:10 PM
09-11-2002 12:10 PM
Re: Adding disks to existing LVs in a HA enviroment
The vg needs to be active on the system (box 2) where you are running the vgexport. On the first system, you'll need to vgexport the vg, mkdir your /dev/vg03 directory (it gets nuked by the vgexport), mknod your group file, and then do your vgimport. Be sure to do an 'ls -l /dev/vg03' on box 1 to make sure you get the right minor number for the group file. Of course, it should be the same as the minor number for the group file on box 2.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 04:47 PM
09-11-2002 04:47 PM
Re: Adding disks to existing LVs in a HA enviroment
Make sure you see the 5 new disks on box1 . On box 2 where the VG is active , export the VG is shared and preview mode in a map file . This map file will only have the VGID and LV names .
Copy this map file to box 1 .
The VG that you want to import should be in a deactivated atate here . Now export the VG using vgexport /dev/
Now mkdir /dev/
#mknod group c 64 0Xyy0000
yy should be the same number as it is on your box 2 .
Now do vgimport
#vgimport -s -m
Once this is successfull , you can see the new disks in your lvmtab .