Re: Copying LVM configuration to failover node when filesystems are increased (76 Views)
Reply
Advisor
Ravi-Joshi
Posts: 21
Registered: ‎10-26-2011
Message 1 of 2 (78 Views)

Copying LVM configuration to failover node when filesystems are increased

In a 2-node SG clustered environment, if I extend filesystem on one node, Is it necessary to do vgexport and vgimport

of LVM configuration to other node.

 

Normally when we add disks to VG on one node, we do vgexport and take mapfile. This mapfile is copied to node 2 and

vgimport is done there.

 

When I do not add disks to VG and I simply extend a lvol and increase the filesystem. Do I still need to do vgexport, take mapfile, move it to node 2 and then do vgimport.

 

Thank you,

 

Ravi Joshi

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,720
Registered: ‎06-21-2000
Message 2 of 2 (76 Views)

Re: Copying LVM configuration to failover node when filesystems are increased

>>if I extend filesystem on one node, Is it necessary to do vgexport and vgimport of LVM configuration to other node.

 

No, that is not necessary.  The information about the size of the LVs is stored and read from the LVM area on the disk.

 

>>Normally when we add disks to VG on one node, we do vgexport and take mapfile. This mapfile is copied to node 2 and vgimport is done there.

 

Correct.  That is only when adding disks.  This process is primarily done so that the /etc/lvmtab gets updated with the appropriate disk info so that HP-UX on the 2nd node knows which disks are part of each VG.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation