- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving data to 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
04-09-2002 01:06 PM
04-09-2002 01:06 PM
moving data to a new volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:11 PM
04-09-2002 01:11 PM
Re: moving data to a new volume group
you can use tar or cpio or cp or mv to move data from one filesystem to another.
You can easily extend file system by using pvcreate on new disk. vgextend and then lvextend command.
I will go with extending volume group so have more disk space.
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:12 PM
04-09-2002 01:12 PM
Re: moving data to a new volume group
You can use either way ! But remember that the files/data are in the file system level. Your volume group might be devided in to Logical volumes in which the file system are created.
You can either create a new VG, new LVs, and new file systems in the large disk, copy the data to that. OR, extend the current VG with the new disk ( adding ) and extend the LVs and the file systems.
Read these topics from the LVM sessions:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:14 PM
04-09-2002 01:14 PM
Re: moving data to a new volume group
One problem often faced is that the volume group geometry ('max_pe', 'max_pv', 'pe_size') are fixed at the time a volume group is first created ('vgcreate') and cannot be changed. Without prior planning, starting with a small physical disk as the "seed" for the volume group can lead to the inability to utilize all physical extents on newly added, larger physical disk and/or the inability to simply add more physical volumes to the volume group. In these cases, the only recourse is to recreate the volume group, logical volumes, and filesystems and copy data into them.
The method by which the recreated filesystems are reloaded with data can be from backup, via copy utilities ('cpio' is most useful) or via the use of mirroring (MirrorDisk/UX) software.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:18 PM
04-09-2002 01:18 PM
Re: moving data to a new volume group
In order to move data from smaller vg to larger VG.
you can do in foloowing way.
1. suppose you have free disks available in machine, you can extend smaller VG by just adding new disks in it.
2. you can move data from smaller VG to larget VG but it requires more pain...I mean it will involve backup and all other things. as you can move data within VG only and not across VGs.
3. IF u can reduce any larger VG, then utilize the freed disk for smaller VG there by extending smaller VG.
The good solution is to extend smaller VG by adding disks available in any way.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:22 PM
04-09-2002 01:22 PM
Re: moving data to a new volume group
I would abs the decision on the following :
1. Size of the partions involved.
2. Maximum FREE PE
3. Ease of operation.
4. System Downtime involved.
Incase it is small they it is better to do a copy on tape using cpio , tar and get over it , hoever if it is bigger size say > 1 Gb then it is always better to extend . here is a useful link.
http://docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:26 PM
04-09-2002 01:26 PM
Re: moving data to a new volume group
Another option is to extend the original VG w/the new larger disk & use the pvmove command to move the existing LV info & data to it.
Then you could vgreduce the original disks out. see the man pgs on pvmove.
This is useful if the new disk is faster.
Of course as JRF pointed out do a little investigation to insure max_pe & pe_size are going to be workable for the new disk
You can always vgextend the old disk(s) back in later if you need the extra storage down the road.
Rgds,
Jeff