- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Moving multiple vg's to a single disk
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
03-29-2001 04:49 AM
03-29-2001 04:49 AM
Moving multiple vg's to a single disk
System is N4000 running HPUX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 04:54 AM
03-29-2001 04:54 AM
Re: Moving multiple vg's to a single disk
The concept of a VG is that it can comprise only of one or more physical disks. You cannot have more than one VG per disk. You can however, have multiple disks in one VG.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 05:53 AM
03-29-2001 05:53 AM
Re: Moving multiple vg's to a single disk
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 05:59 AM
03-29-2001 05:59 AM
Re: Moving multiple vg's to a single disk
There is no way to move LVs from one VG to another. You have to migrate the data at the filesystem level by:
1) backup and restoration
2) copying tools such as cpio
You can however vgexport and vgimport disks from one VG to another.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 06:07 AM
03-29-2001 06:07 AM
Re: Moving multiple vg's to a single disk
you will have to move all your data manually from the old VG's to VG01, either through backup tapes or with a spare disk.
If you have enough free space in VG01,you can recreate the lvols one by one, and copy them from the old VG's, drop the old lvols, and mount the new lvols on the old mountpoints.
If you have freed some disks in the old VG's then you can add them to VG01.
have fun ;)
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 06:10 AM
03-29-2001 06:10 AM
Re: Moving multiple vg's to a single disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 06:15 AM
03-29-2001 06:15 AM
Re: Moving multiple vg's to a single disk
just to repeat:
The command to move physical extends is pvmove and this can be only done within a volume group NOT to another volume group.
If you have enough space in your new vg you can create a new lvol in the new vg and use dd to copy the contents ie:
dd if=/dev/vg04/rlvol1 of=/dev/vg01/rlvolX bs=64k
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 06:22 AM
03-29-2001 06:22 AM
Re: Moving multiple vg's to a single disk
lvmmigrate is used for migrating root filesystems from partitions to logical volumes. In HP-UX 9.X, partitions were still in use. LVM was not used.
Hope this helps. Regards.
Steven sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 06:35 AM
03-29-2001 06:35 AM
Re: Moving multiple vg's to a single disk
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 03:25 PM
03-29-2001 03:25 PM
Re: Moving multiple vg's to a single disk
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 07:08 AM
04-02-2001 07:08 AM
Re: Moving multiple vg's to a single disk
From the old filesystem:
# find . | cpio -pvdm /new_filesystem
This will copy the data without doing any damage to the old data. You can then compare the two and delete the old copy whenever you want (I'd recommend holding on to it a day or two if possible).