UnixPedia : HPUX / LINUX / SOLARIS: HPUX : Change in SAN Path, Recreate the LVMTAB:

Saturday, January 19, 2013

HPUX : Change in SAN Path, Recreate the LVMTAB:



There should not be any impact but it might occur that some path to san storage will disappear ,because Disk are available via other paths connecting the storage you should be able to rebuild the /etc/lvmtab with a proper primary and alternate path.

You can rebuild the /etc/lvmtab with the following commands

1. mv /etc/lvmtab /etc/lvmtab.old

2. ioscan -fnCdisk

3. insf -e

4. vgscan -a (might take a while)

 The following messages will appear after /etc/lvmtab file is recreated, please do so as suggested

           *** LVMTAB has been created successfully.

           *** If PV links are configured in the system

           *** Do the following to resync information on disk.

           *** #1.  vgchange -a y

           *** #2.  lvlnboot -R

After successfully  creation of the /etc/lvmtab please do a vgdisplay -v and check if there are primary and alternate paths ,and check for any other odd messages

If everything is alright you can remove  the /etc/lvmtab.old if there is any problem you can
remove /etc/lvmtab and   mv /etc/lvmtab.old to /etc/lvmtab (this will recreate the situation before you started)

No comments:

Post a Comment