- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding disks and extending lv and file system
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
тАО02-28-2011 10:02 AM
тАО02-28-2011 10:02 AM
Existing file system:
/dev/vg01/gexdata01 204800000 246303 191769142 0% /h/data
Existing Disk:
0/1/1/0.0.0.5.0 1 LVM vg01 286102 HP DG0300
I configured these two new disks into vg01.
0/1/1/0.0.0.2.0 1 Unused -- 286102 HP DG0300
0/1/1/0.0.0.3.0 1 Unused -- 286102 HP DG0300
I tried to do an lvextend using:
lvextend -L 600000 /dev/vg01/gexdata01
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
The goal is to add these two new disks to the existing vg01 volume group and extend the logical volume and filesystem to use the new size. Help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2011 04:39 PM
тАО02-28-2011 04:39 PM
Solutionvgdisplay vg01
show for PE Size and Free PE? If the PE Size is too small, then you'll require more than 65536 extents. If this is the case, you'll have to rebuild the VG with -s 32 or -s 64 to reduce the extent count.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2011 08:12 PM
тАО02-28-2011 08:12 PM
Re: Adding disks and extending lv and file system
Firstly,backup the /h/data filesystem.
Now you should get the pe_size and of vg01 from ouput of vgdisplay -v vg01, and evaluate the number of max_pe you need.
you can try vgmodify without rebuild vg01 as followed:
vgmodify -e [max_pe] -n /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2011 08:46 PM
тАО02-28-2011 08:46 PM
Re: Adding disks and extending lv and file system
Get the pe_size and max_pe per pv values from vgdisplay.
This is the conditions:
1. If max_pe per pv value is the maximum value (65536), then you have no option except rebuilding the VG.
2. If the max_pe per pv value is less than 65536, then that will change automatically upto 65536 according to the value of pe_size to reach the disk space.
3. You can't change the pe_size value in any way, even in vgmodify.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2011 01:23 AM
тАО03-01-2011 01:23 AM
Re: Adding disks and extending lv and file system
#vgcreate -s 64 vg01 /dev/rdisk/newdisk's
#lvcreate -L 600000 -n gexdata01 /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2011 06:25 AM
тАО03-01-2011 06:25 AM
Re: Adding disks and extending lv and file system
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 35763
VGDA 6
PE Size (Mbytes) 8
Total PE 107271
Alloc PE 25000
Free PE 82271
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0