03-03-2008 02:03 AM
Greetings to all,
Iam in a situation where my OS in booting from Local disk and my other VG's are from SAN. Now we are migrating from Brocade to Cisco Switch. Once we connect to other new cisco switch the device files will change.Im having HP-UX11.23 and what should i do now to make the LVM to recognise the new path. Please correct me if iam missing some thing or if iam wrong,
1) umount the file system (all Non-VG00)
2) De-activate all non vg00 VG's
3) mv /etc/lvmtab /tmp/lvmtab.bkp ( should i move the current LVmtab file or can i use the same lvmtab when i use vgscan), please brief me in this step
5) Activate all VG's and mount the file system
6)by moving the /etc/lvmtab, will this affect my VG00? or pls suggest how to go ahead with this.
Solved! Go to Solution.
03-03-2008 02:10 AM
Hope this helps!
There are only 10 types of people in the world -
those who understand binary, and those who don't.
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
03-03-2008 03:32 AM
2. vgexport -s -m /tmp/vgNNmap /dev/vgNN
3. mkdir /dev/vgNN
4. mknod /dev/vgNN/group c 64 0xNN0000
5. vgimport -s -m /tmp/vgNN
6. vgchange -a y
That's it. And you don't even need map files if your lvols are conventionally named (lvol1, lvol2, etc).
03-03-2008 06:41 PM
My situation when iam migrating from Brocade to Cisco Mds, Device files will change in Hp-UX.
1) Now When i do an vgexport -s (with option "s")with a map file and when i vgimport with the same map file, will my new device files come in to picture in to the VG automatically or will it use the old device files from brocade?
2) One more query, when we are using vgscan, it is better to move the /etc/lvmtab to another location, the run vgscan. My question is when i move my /etc/lvmtab file, will it affect vg00?
03-05-2008 12:12 AM
Make sure you've a good backup, before you start.
Make a listing of what your current LVM config is.
# ls -l /dev/vg*/group
# backup the /etc/lvmconf directory to a different dir.
# make a vgexport of all vg's
vgexport -v -p -m
All of the above is needed in case of a fallback.