- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: Adding disks and extending lv and file system
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP