- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change physical volume paths under a logical v...
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
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
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
10-03-2011 08:35 AM
10-03-2011 08:35 AM
I have two HP2100 Disk Systems that had their SCSI bus ID switches set to "B" and "C". I would like to switch the bus ID's to "A" and "B". Doing so, of course, changes the physical volume path for those drives. Is there a way to chnage the LVM physical volume paths of the logical volumes that reside on these disks so they will continue to operate, without any data loss?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 10:30 AM
10-03-2011 10:30 AM
SolutionThe vgexport and vgimport commands would work for you.
You dont mention your OS version or whether they are boot disks are not, but the following are the basic steps for non VG00 VG's on 11.11/11.23:
1) vgexport -s -m /VG01_MAP /dev/vg01 -->export vg01 creating a map file
2) Change disks/cards to new location (lets assume the new device is /dev/dsk/c1t5d0)
3) Bring in vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -s -m /VG01_MAP /dev/vg01 /dev/dsk/c1t5d0
vgchange -a y /dev/vg01
vgcfgbackup /dev/vg01
4) mount -a -->or manually mount filesystems on vg01
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 11:10 AM
10-03-2011 11:10 AM
Re: Change physical volume paths under a logical volume
Sorry - oversight. System is 11.11, there are 8 disks in this VG and they are not boot volumes.
I asume I just need to add the addiitonal disk paths into the commands?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 11:13 AM
10-03-2011 11:13 AM
Re: Change physical volume paths under a logical volume
Yes, just add each PV device path that belongs to that VG to the vgimport command.
Was this helpful? Like this post by giving me a thumbs up below!