- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem Adding logical volume to volume group mapf...
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
07-16-2008 12:13 PM
07-16-2008 12:13 PM
Problem Adding logical volume to volume group mapfile
We are running a serviceguard, version 75.02, cluster, and I am in the process of adding an additional logical volume to an existing volume group that will be available on both nodes in the cluster. The logical volume in question is /dev/vg102/lvol10.
I have already gone through the motions of running the pvcreate, vgextend, lvcreate, and newfs commands. I checked the /etc/lvmconf/vg102.mapfile, and I noticed there was no reference to it.
How can I correct this problem so the logical volume can be properly mounted and also made part of the service guard package? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 12:37 PM
07-16-2008 12:37 PM
Re: Problem Adding logical volume to volume group mapfile
Secondly, are you just adding a logical volume, or are you also adding a new PV to the VG?
You will need to recreate a mapfile using the -s and -p option, export the VG on the other nodes in the cluster, then import them using the map file, again using tyhe -s option.
If you are just creating an lv, then you can simply use mknod to replicate the lvol character and block mode device files on the other nodes.
Finally, you need to edit your package control file to add in the relevant details of the LV and FS, again replicating across all nodes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 01:16 PM
07-16-2008 01:16 PM
Re: Problem Adding logical volume to volume group mapfile
Thank-you for your reply. Just so we are on the same page, here is the output from the what /usr/lbin/cmcld command:
/usr/lbin/cmcld:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP32) $Revision: 75.02 $
Build date: Thu Mar 23 14:55:13 PST 2006
Build id: ibld_sg_a1116patch_1111_product
Build platform: hpux
Cluster Monitor Product $Revision: 82.2 $
Cluster Monitor Product Only $Revision: 82.2 $
Daemon
A.11.16.00 Date: 03/23/06 Patch: PHSS_34503
I am adding a three new pv's to the volume group. I thought that after running the lvcreate command, the mapfile would be automatically updated. I was going to export the map file using the syntax vgexport -p -m /tmp/vg102.map -v -s vg102.
What step(s) did I forget to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 10:42 PM
07-16-2008 10:42 PM
Re: Problem Adding logical volume to volume group mapfile
1. Add PV's to VG
2. Create LV
3. Create Map File using options -m -f (pv.map)
4. Copy map file to second node
5. Import that map file
6. Modify package control file with new LV information.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 12:28 AM
07-17-2008 12:28 AM
Re: Problem Adding logical volume to volume group mapfile
If you have added 3 new PV's, and then created new LV's, you need to use vgexport -p -s -m mapfilename to create the mapfile, then copy this mapfile to your other nodes. Then you need to export your VG, recreate the directory and use mknod to recreate the group (control) file, then import the vg into the other nodes.
If there are new file systems, create the mount points, and theh modify your control script, and finally test that it works.
One small item to remember, when you activate the VG on the other nodes, use vgcfgbackup on each node, as this will then make sure you have the config backed up in the event of a problem