Operating System - HP-UX
1834789 Members
2694 Online
110070 Solutions
New Discussion

Re: -s adds VGID to map file

 
SOLVED
Go to solution
Kim Kendall
Regular Advisor

-s adds VGID to map file

Looks like the -s switch adds a line to the map file, VGID... whereas just using the -p without the shared mode switch does not.

VGID 781a573a3cc590d3
1 lvol1
2 lvol2

Will this cause issues when rebuilding a "non" shared volume group?

3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: -s adds VGID to map file

Kim,

As I understand the -s option, it's used to prevent having to identify each physical disk when importing a volume group - nothing to do with whether it's shared or not.

Pete

Pete
Kim Kendall
Regular Advisor

Re: -s adds VGID to map file

Oops -

Please move into the "rebuilding system and saving LVM info" post

S.K. Chan
Honored Contributor

Re: -s adds VGID to map file

With "-s" it kindda makes it easy later on in the vgimport whereby you don;t have to specify the device path because the VGID is recorded in the map file. All of the disks that belong in a volume group have a VGID number. So in the vgimport (with "-s") you don't need to specify each and every disk. Having said that I prefer to not use "-s". To answer your question ..
No, it will not cause any issues. Just remember to use "-s" in your vgimport it you used it in vgexport.