- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Server Change same old SAN......how to....
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
Forums
Discussions
Discussions
Discussions
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
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
01-29-2008 11:57 AM
01-29-2008 11:57 AM
A new server installed, a new OS is loaded and or ignited, and the LVM information is lost. The data on the disk array is still intact; however, the system is not recognizing the volume groups and LVM configuration.
I’m looking for the steps that need to be followed & what info I need to get off the old system.
I also am wondering will I come out with the same hardware numbers as I had before.
I have some info on this subject but I want an expert’s opinion please.
Thanks to all you guys and gals for your help!
Manual import:
1. Print out the group.dat file for this server.
2. Copy the mapfiles for this server. DO NOT copy over the vg00.mapfile.
3. If /dev/vgXX directories exist, rename them to /dev/vgXX.old (NOT vg00)
4. Create new directories for each volume group:
# mkdir vg02
# mkdir vg03 etc.
5. Create new group files for each volume group. Use printout of group.dat to get the correct minor number (0x00000)
mknod /dev/vgXX/group c 64 0x0?0000
where vgXX name of volume group
0x0?0000 minor number from group.dat listing
# mknod /dev/vg02/group c 64 0x020000
# mknod /dev/vg08/group c 64 0x010000
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 12:22 PM
01-29-2008 12:22 PM
Solution1) make note of what HW addresses are related to which VGs
2) Present disk to new server ( same lun numbers makes it easier)
3) mkdir and mknod each /dev/vgxx ( the minor numbers on the group file make not a difference, as long as they are unique)
4) vgimport -m mapfile /dev/vgxx
( if you do not specify the device names I understand the the vgimport will search for them )
5) vgchange -a y /dev/vgxx
6) fsck if needed then mount using your saved fstab info.
That should be it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 12:49 PM
01-29-2008 12:49 PM
Re: Server Change same old SAN......how to....
6. Import lvols into the VGs with the mapfiles that were copied over in step 2:
# vgimport -v -m "
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 01:13 PM
01-29-2008 01:13 PM
Re: Server Change same old SAN......how to....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 06:40 PM
01-29-2008 06:40 PM
Re: Server Change same old SAN......how to....
The hardware numbers could be different, depends on where you put your HBA on= the server and the i/o path of each server is also different.
Your step is correct, step no 6. would be importing the VG from the mapfile on the new server.
Good Luck!
Regards,
Sandy