- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvcreate: Not enough free physical extents availab...
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
тАО05-24-2002 07:37 AM
тАО05-24-2002 07:37 AM
lvcreate: Not enough free physical extents available.
Done the following:
pvcreate /dev/rdsk/c2t0d0
pvcreate /dev/rdsk/c2t1d0
pvcreate /dev/rdsk/c2t2d0
pvcreate /dev/rdsk/c2t4d0
pvcreate /dev/rdsk/c2t5d0
vgextend /dev/db /dev/dsk/c2t1d0
.
.
.
.
vgcreate -e 5500 -p 5 -s 4 /dev/db /dev/dsk/c2t0d0
lvcreate -L 10480 -i 5 -I 4096 /dev/db
Logical volume "/dev/db/lvol1" has been successfully created with
character device "/dev/db/rlvol1".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/db/lvol1" could not be extended.
lvcreate: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/db".
Run the "lvextend" command to create space on the Logical Volume.
what is going wrong ??
Venus:/> vgdisplay -v db |more
--- Volume groups ---
VG Name /dev/db
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 5
Cur PV 5
Act PV 5
Max PE per PV 5500
VGDA 10
PE Size (Mbytes) 4
Total PE 5231
Alloc PE 0
Free PE 5231
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/db/lvol1
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 508
Free PE 508
Autoswitch On
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 2169
Free PE 2169
Autoswitch On
PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 1023
Free PE 1023
Autoswitch On
PV Name /dev/dsk/c2t4d0
PV Status available
Total PE 1023
Free PE 1023
Autoswitch On
PV Name /dev/dsk/c2t5d0
PV Status available
Total PE 508
Free PE 508
Autoswitch On
Venus:/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:40 AM
тАО05-24-2002 07:40 AM
Re: lvcreate: Not enough free physical extents available.
the -l option will use pe's
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:42 AM
тАО05-24-2002 07:42 AM
Re: lvcreate: Not enough free physical extents available.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:43 AM
тАО05-24-2002 07:43 AM
Re: lvcreate: Not enough free physical extents available.
If you are creating brand new vg on brand new pv you don't need to run vgextend
say you are creating vg02
#pvcreate
#mkdir /dev/vg02
#mknod /dev/vg02/group c 64 0x020000
#vgcreate (put all pv paths)
#lvcreate
#newfs
If you are extending lv/vg then
#pvcreate
#vgextend (give all 5 disk path)
#lvextend
#extendfs
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:46 AM
тАО05-24-2002 07:46 AM
Re: lvcreate: Not enough free physical extents available.
It appears that you created a volume group with only *one* physical disk and then attempted to stripe a logical volume across *five*:
# vgcreate -e 5500 -p 5 -s 4 /dev/db /dev/dsk/c2t0d0
# lvcreate -L 10480 -i 5 -I 4096 /dev/db
You need to 'vgextend' your other four physical disk into /dev/db and then do the 'lvcreate' or start by specifying all five physical disk (pv_path) in the 'vgcreate'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:46 AM
тАО05-24-2002 07:46 AM
Re: lvcreate: Not enough free physical extents available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 07:47 AM
тАО05-24-2002 07:47 AM
Re: lvcreate: Not enough free physical extents available.
-I 1024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 08:14 AM
тАО05-24-2002 08:14 AM
Re: lvcreate: Not enough free physical extents available.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 08:19 AM
тАО05-24-2002 08:19 AM
Re: lvcreate: Not enough free physical extents available.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 09:34 AM
тАО05-24-2002 09:34 AM
Re: lvcreate: Not enough free physical extents available.
Upon further reading of your post I (finally) saw the you actually had created the volume group. However, based on you 'vgdisplay' your *smallest* disk only has 508 4MB-extents. This means that striping across your 5-disks ('lvcreate -L 10480 -i 5 -I 4096') will require 10480/5 or 2096MB per disk, *more* space than you have on the smallest disk. Clearly, you need to decrease the size of your logical volume if you are going to utilize this configuration.
Regards!
...JRF...