- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Importing LUNs
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
тАО05-19-2001 10:07 AM
тАО05-19-2001 10:07 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 10:10 AM
тАО05-19-2001 10:10 AM
Re: Importing LUNs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 10:18 AM
тАО05-19-2001 10:18 AM
Re: Importing LUNs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 10:20 AM
тАО05-19-2001 10:20 AM
Re: Importing LUNs
vgexport vg03
after doing
vgchange -a no vg03
etc.
I did save a copy of the output of vgdisplay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 10:31 AM
тАО05-19-2001 10:31 AM
Re: Importing LUNs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 10:36 AM
тАО05-19-2001 10:36 AM
Solutionfor example, vg02 - if c1t0d0 c2t0d0 were the disk on the old system (your saved vgdisplay -v vg02 would show this - if you used the "-v" option), and on the new OS, the disks are, say c5t0do and c6t0d0, then:
1. create the directory /dev/vg02
2. create the "group" file in /dev/vg02.
The minor number MUST be unique.
do a "# ls -al /dev/vg* | grep group" to
see the existing group minor numbers.
Example:
# ls -al /dev/vg*
the minor numers shown might be:
0x000000 (root volume group vg00)
0x010000 (some other volume group)
Pick the next minor number (in hex), in
this example it is 0x020000.
#mknod /dev/vg02/group c 64 0x020000
then
# vgimport /dev/vg02 /dev/dsk/c5t0d0 /dev/dsk/c6t0d0
(this is using the new disks)
then
# vgchange -a y vg02
# vgdisplay -v vg02
you should see the logical volumes - lvol1, lvol2, etc.
You will need to figure out which of these logical volumes belongs where. If you saved a copy of /etc/fstab, this will help.
The usual method to export vg's for OS re-installs is to use "vgexport -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2001 01:26 PM
тАО05-19-2001 01:26 PM
Re: Importing LUNs
I did no do vgdisplay -v
only vgdisplay.
I am trying to retrieve a copy of lvmtab, but if the disks are named differently it will complicate the whole process. It sounds like I better just recreate the volumes and restore from backup.