- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Resize PE Size
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
Forums
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
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-07-2005 06:00 AM
тАО09-07-2005 06:00 AM
Resize PE Size
vg01, PE 4, Max Pe per Pv 4350, but i have 2 disks of 18 and 2 disks of 36, my problem is the disks of 36Gb only used 18Gb
Attach archive with the configuration of vgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:04 AM
тАО09-07-2005 06:04 AM
Re: Resize PE Size
You have a 4MB PE size and a maximum of 4350 PE per PV, for a maximum disk size of 17,400 MB.
So, now you are stuck. There really is no way, other than to recreate the VG, to increase the MAX PE PER PV parameter.
This is why it is almost always best to manually specify the VG parameters in the vgcreate command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:06 AM
тАО09-07-2005 06:06 AM
Re: Resize PE Size
This can not be done online, create a backup on disk/tape, vgexport vg01 and recreate the volume group with a larger PE size. After these actions restore your data from backup.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:17 AM
тАО09-07-2005 06:17 AM
Re: Resize PE Size
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:32 AM
тАО09-07-2005 06:32 AM
Re: Resize PE Size
1 - note the size & type of all you LV's use attched script if you want.
2 - backup all data in vg.
3 - destroy vg
- umount all FS
# umount /dev/vg01/
- vgexport vg01
# vgexport vg01
- pvcreate phusical volumes
# pvcreate -f /dev/rdsk/cXtYdZ
4 - Create new vg01
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
5 - Create new VG with "betetr parameters
# vgcreate -e 20000 -p 24 -s 8 vg01 /dev/dsk/cXtYdZ /dev/dsk/cXtyDZ
6 - Create all the logical volumes (above script will do most of the work, but you will need to edit mklv.vg01 to include things like mirroring.
7 - newfs all file systems
8 - mount filesystems
# mount /dev/vg01/
9 - restiore data
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:36 AM
тАО09-07-2005 06:36 AM
Re: Resize PE Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 06:37 AM
тАО09-07-2005 06:37 AM
Re: Resize PE Size
using your tool of choice, backup the contents of all logical volumes under vg01.
Step 2
unmount all logical volumes
Step 3
vgchange -a n vg01
Step 4
vgexport -v vg01
Step 5
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate -s 8 vg01 /dev/dsk/cXtXdX # use a 36 GB device file here
vgextend vg01 /dev/dsk/cYtYdY # repeat this for all the volumes you want in this volume group
Step 6 and further
re-create your logical volumes.
mount filesystems.
restore from your backups.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 07:13 AM
тАО09-07-2005 07:13 AM
Re: Resize PE Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 07:15 AM
тАО09-07-2005 07:15 AM
Re: Resize PE Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 07:30 AM
тАО09-07-2005 07:30 AM
Re: Resize PE Size
Best regards,
Robert-Jan