- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvm prob
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
03-23-2006 05:34 AM
03-23-2006 05:34 AM
# lvcreate -L 800 -n mcsg vg02
Logical volume "/dev/vg02/mcsg" has been successfully created with
character device "/dev/vg02/rmcsg".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg02/mcsg" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
# lvcreate -L 400 -n mcsg vg02
lvcreate: Logical volume "/dev/vg02/mcsg" already exists.
# lvremove /dev/vg02/mcsg
Logical volume "/dev/vg02/mcsg" has been successfully removed.
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.co
f
# lvcreate -L 350 -n mcsg vg01
lvcreate: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
# lvcreate -L 350 -n mcsg vg02
Warning: rounding up logical volume size to extent boundary at size "352" MB.
Logical volume "/dev/vg02/mcsg" has been successfully created with
character device "/dev/vg02/rmcsg".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg02/mcsg" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
# pvdisplay -v /dev/vg02/c6t0d1
pvdisplay: "/dev/vg02/c6t0d1": No such file or directory
Usage: pvdisplay
[-v]
[-b BlockList]
PhysicalVolumePath...
# pvdisplay /dev/dsk/c6t0d1
--- Physical volumes ---
PV Name /dev/dsk/c6t0d1
VG Name /dev/vg02
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 2
Free PE 2
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Now, it says that it doesnt have enough space the disk, and the pvdisplay shows 2 PE'S and 2 free PE'S . Now, y is it showing me with almost none PE'S.???
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 05:37 AM
03-23-2006 05:37 AM
Re: lvm prob
Thanks,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 05:39 AM
03-23-2006 05:39 AM
Re: lvm prob
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 05:41 AM
03-23-2006 05:41 AM
SolutionThe lv was created but there was not near enough space on disk c6t0d1 for the requested space.
I would run pvdisplay -v on the physical volume and see what is taking up the space.
If its the new lv, then lvremove it and start again.
I always like the two step approach.
I would create it empty and then use lvextend to particular physical disks to lay things out the way I wanted them. Took longer, got better results.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 10:33 PM
03-23-2006 10:33 PM
Re: lvm prob
Hi,
If this is the only PV in VG02, you can create a LV of maximum 8MB in size, since the free PEs available is only 2.
check vgdisplay -v vg02 to get the total FREE PEs in the VG and
try to create a LV of size ( 4*Total Free PEs)
It should wok
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 10:52 PM
03-23-2006 10:52 PM
Re: lvm prob
As mentioned earlier attach vgdisplay -v output for the VG.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2006 08:30 AM
04-19-2006 08:30 AM