- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgscan----should i move my existing lvmtab fil...
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
Discussions
Discussions
Forums
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
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
тАО03-03-2008 02:03 AM
тАО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
4) Vgscan
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.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 02:10 AM
тАО03-03-2008 02:10 AM
Re: vgscan----should i move my existing lvmtab file
Hope this helps!
Regards
Torsten.
__________________________________________________
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 02:16 AM
тАО03-03-2008 02:16 AM
Re: vgscan----should i move my existing lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 02:25 AM
тАО03-03-2008 02:25 AM
Re: vgscan----should i move my existing lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 03:32 AM
тАО03-03-2008 03:32 AM
Solution2. 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).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 06:41 PM
тАО03-03-2008 06:41 PM
Re: vgscan----should i move my existing lvmtab file
Thanks...
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 08:27 AM
тАО03-04-2008 08:27 AM
Re: vgscan----should i move my existing lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 11:36 PM
тАО03-04-2008 11:36 PM
Re: vgscan----should i move my existing lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 12:12 AM
тАО03-05-2008 12:12 AM
Re: vgscan----should i move my existing lvmtab file
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.
Goodluck
Darrel