- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvcreate: Specified LogicalVolumeSize is too large...
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
05-23-2006 06:52 AM
05-23-2006 06:52 AM
Please helpe-me...
I have one problem... description about:
#> lvcreate -n l100 -L 511920 /dev/vg100
lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
of the Volume Group. Resulting number of extents is out of the range
1 to 65535 (127980).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:02 AM
05-23-2006 07:02 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:06 AM
05-23-2006 07:06 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
I need create one FS with 511920 MB, and have five disks with 100GB. How can create?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:11 AM
05-23-2006 07:11 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:14 AM
05-23-2006 07:14 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
The PE size is set at the time the VG is created. You will have to remove the VG and receate it with a larger extent size, preferably 16MB, so you have some wiggle room.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:47 AM
05-23-2006 07:47 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
- size of physical extents for this volume group (PE size: default 4 MB, can be 4, 8, 16, 32, 64, 128 or 256 MB)
- the maximum number of physical extents per physical volume (MaxPE: default is 1016 or appropriate for the physical volume used to create the VG, whichever is larger; maximum is 65535)
- the maximum number of physical volumes for this volume group (MaxPV: default is 16, maximum is 255)
- the maximum number of logical volumes for this volume group (default is 255, which is also the maximum)
These values cannot be changed once the volume group has been created. They will limit the size and number of physical volumes you can use in that volume group. The maximum size of a logical volume is also limited to 65535 extents, as you discovered.
You are requesting a logical volume of 511920 MB in size. The error message reveals it would need 127980 extents to create that, so your PE size is 511920 MB / 127980 = 4 MB, the default value.
The only way you will be able to create a logical volume of that size in that volume group is to destroy the volume group and recreate it with different parameters. You need to back up all the data and restore it to the logical volumes of the re-created volume group.
This is what happens when the creator of the volume group does not plan ahead for expansion in the future (or the need of expansion is severely underestimated).
For modern disks, the PE size of 4 MB is *way* too small. I'd recommend that all VGs for new systems be always created with the PE size of 16 MB or above. For large data VGs, I'd recommend an extent size of at least 64 or 128 MB always if possible. This will also determine the maximum LV size, because it is always 65535 * PE size.
When creating a new volume group, you must also think about the MaxPE value. If you use the default values and the physical volume size divided by the extent size is more than 1016, the current physical volume size gets effectively hardcoded as the maximum physical volume size for that volume group. Since disks are getting bigger all the time, it is very likely the disks you will want to add to the VG in the future are going to be bigger than the current disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:48 AM
05-23-2006 07:48 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
Its, ok, I can create this LVol, but I have other problem...
#> mount /dev/vg100/l100 /orahis100
/dev/vg100/l100: unrecognized file system
#> fsck -y /dev/vg100/l100
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: not a valid vxfs file system
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:50 AM
05-23-2006 07:50 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
Second, you have just created the LV, you haven't said whether you created the filesystem on the LV or not.
To do that:
# newfs -F vxfs -o largefiles /dev/vg100/rl100
# man newfs
if you need information on what the command is doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 07:57 AM
05-23-2006 07:57 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
I executed the command newfs, but, this error:
c0837sb/> newfs -F vxfs -o largefiles /dev/vg100/l100
vxfs newfs: /dev/vg100/l100 is not a character device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 08:00 AM
05-23-2006 08:00 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 08:00 AM
05-23-2006 08:00 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
newfs -F vxfs -o largefiles /dev/vg100/l100
You are using the BLOCK device node rather than the CHARACTER device node, /dev/vg100/rl100.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 08:06 AM
05-23-2006 08:06 AM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
Im sorry for my error.. e Thanks..
very points for everybody...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 11:54 PM
07-12-2006 11:54 PM
Re: lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 12:29 AM
07-13-2006 12:29 AM