- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recreate 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
08-16-2001 05:16 AM
08-16-2001 05:16 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 05:24 AM
08-16-2001 05:24 AM
Re: Recreate Volume Group
I believe that if you split mirror's, they still belong to the VG (its been a year since I've played with mirrors), and since the PE is a definition of the VG, you have to delete the VG and recreate it with large PE's. So, I'd backup the LV's (twice), delete the LV's, then the VG, and then do my restores.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 05:34 AM
08-16-2001 05:34 AM
SolutionI presume that you are not dealing with vg00. If that is the case, I would look to using Ignite 'make_tape_recovery' to reinstall and due your resizing changes via the advanced filesystem options menus.
Thus, I presume that the volume group isn't vg00. Then, since you are going to have to bite-the-bullet and recreate the volume group to change the LVM geometry, 'lvsplit' isn't going to gain you much. The bit map created by a split remains in existence only until a merge is completed, or until one of the logical volumes is extended, reduced, split again, or until the system is rebooted.
I think you will want to 'lvreduce' and 'vgreduce' the volume to gain the physical disk you will use to recreate the volume group. Then make a new volume group with a new volume group number. Create your logical volumes, and a set of mount points. Then using 'cpio' copy your filesystems from their current mount point to the new ones:
# cd /old_mount_point
# find . | cpio -pudlmv /new_mount_point
When done, edit /etc/fstab replacing the "old_mount_point" with the "new_mount_point" and remove the "old" ones.
Lastly, remirror your newly created logical volumes on your newly created volume group.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2001 12:02 AM
08-17-2001 12:02 AM
Re: Recreate Volume Group
yo can use the pvmove to copy a logical Volume
from a disk to other if this are persisting.
look man page for pvmove.
regards
mo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2001 01:31 AM
08-17-2001 01:31 AM
Re: Recreate Volume Group
I was wondering why U fancy destorying the entire VG and then recreating it ..
U can always extend it...is it not ?
Add a new disk..
# pvcreate
# vgextend
This should be an easy and safe way in extending the number of PE's
See if this helps and assing the points :-)
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2001 11:40 AM
08-19-2001 11:40 AM
Re: Recreate Volume Group
#vgcreate -p 255 -s 32 /dev/vgxx /dev/dsk/c.t.d
This consumes some more over head but it is safe.
Good Luck