- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 questions on LVM .
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
08-15-2003 12:50 PM
08-15-2003 12:50 PM
i have 2 questions related to LVM issues :
1. i have hpux system 11.0 and i want to
upgrade the os to 11i .
i'm doing it by taking ignite from other
system ( 11i ) .
i have a vg01 with 2 disks c5t2d0 &
c5t13d0 mounted to /app ,
i want have this vg01 on my new system .
how do i do it ? pls give me all the
commands ...
2. On the new system 11i , i want to move sc10
from other system .
This sc10 have 2 vgs : vg09 with disk
c5t11d0 mounted on /kuku1
and vg10 c5t1d0 mounted on /kuku2 .
i know that the disks address will changes
on the new system .
how do i do it ? pls give me all the
commands ...
Bye ,
Eran .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 01:07 PM
08-15-2003 01:07 PM
SolutionThe answer, in both cases, is to 'vgexport' your non-vg00 volume groups; Ignite (install the OS); and then 'vgimport' the volume groups.
Have a look at the 'man' pages for 'vgexport' and 'vgimport' for details. You will want to use the '-p' (preview) option to 'vgexport'. Generate a mapfile during the process and copy it to a place where you can copy it back to the server following installation.
The '-s' option is most useful. It places the VGID from the physical disk into the mapfile during 'vgexport'. During 'vgimport' physical disk are sought not by pv_path but by matching this VGID.
Here's an example of the whole process:
# for V in vg01 vg02 vg03
> do
> vgexport ???p ???v ???s ???m /tmp/coldvault/${V}.mapfile /dev/${V} 2>&1 | tee /tmp/coldvault/${V}.log
> done
...now install OS which erase all knowledge of server's volume groups...
# mkdir /dev/vgXY
# mknod /dev/vgXY/group c 64 0xXY0000
# vgimport ???s ???m /tmp/coldvault/vgXY.mapfile vgXY
# vgchange ???a y vgXY
# vgcfgbackup vgXY
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 01:16 PM
08-15-2003 01:16 PM
Re: 2 questions on LVM .
You need to export the configuration, move the file and import it on new system.
Here are the commands.
1. # vgchange -a n /dev/vg01
# vgexport -p -m mapfile vg01
# vgexport -m mapfile vg01
On new system
# cd /
# mkdir /dev/vg01
# cd /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
Install disks on new system and find the driver using
# ioscan -funC disk
# vgimport -p -v -m mapfile /dev/dsk/cxtydz /dev/dsk/cxtydz
Use actual disk path.
Run the same command without -p ( preview )
Same thing for question 2.
You can get more help on page 360 of admin guide.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 02:13 PM
08-15-2003 02:13 PM
Re: 2 questions on LVM .
I thought that -s option is used just for cluster issues - mean shareable mode .
The disks on the new system will have other address ,and will not see by the original
system , so i think that this solution is good for this case .
Eran .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2003 04:34 AM
08-16-2003 04:34 AM
Re: 2 questions on LVM .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 01:18 AM
08-18-2003 01:18 AM
Re: 2 questions on LVM .
James your answer help me.
I think that using with -s option is the best solution .
Bye ,
Eran .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 05:42 AM
08-18-2003 05:42 AM
Re: 2 questions on LVM .
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee2d4e7a25b7fa4ba4321876cef6567b,00.html