- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving one logical volume into a new volume group
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
09-10-2012 02:23 AM
09-10-2012 02:23 AM
Moving one logical volume into a new volume group
Hi,
i have one volume group (vg01) with 2 logical volume (lvol1 , lvol2) on 1 local disk, i want to move lvol2 to new volume group (vg02) how i can do this without loss data ?
OS version: HP-UX 11.31 SD2 server
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2012 05:04 AM
09-10-2012 05:04 AM
Re: Moving one logical volume into a new volume group
You'll want to create the new lvol and filesystem in your new VG, then backup/restore the data. As you can see, this will require an outage so you could at least unmount the old filesystem to mount the new one under the same mount point--don't forget to update /etc/fstab.
Before creating your new lvol and fs, use lvdisplay and 'fstyp -v' to view details about them both. If the source and destination lvol are identical sizes, you would be able to use dd to 'clone' the unmounted filesystem (ex/ if=src_lvol of=dest_lvol)... otherwise, backup and restore. After you are satisfied that all is well, you could remove the old lvol.
Hope this helps,
-denver