- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend
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
Forums
Discussions
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
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
09-07-2007 07:06 AM
09-07-2007 07:06 AM
lvextend
I'm trying to extend a VG (vg03) to hopefully 60G, but I'm getting an error message: Can anyone tell me how to make this work or should I create a new 70G VG.
lvextend -L 61440 /dev/vg03/lvol1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg03/lvol1" could not be extended.
Failure possibly caused by strict allocation policy
VG Name /dev/vg03
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 12799
VGDA 2
PE Size (Mbytes) 4
Total PE 12797
Alloc PE 12796
Free PE 1
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg03/lvol1
LV Status available/syncd
LV Size (Mbytes) 51184
Current LE 12796
Allocated PE 12796
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c8t0d3
PV Name /dev/dsk/c10t0d3 Alternate Link
PV Status available
Total PE 12797
Free PE 1
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 07:10 AM
09-07-2007 07:10 AM
Re: lvextend
PE Size (Mbytes) 4
Total PE 12797
Alloc PE 12796
Free PE 1
You have only 4MB free!
You need to add more physical disk space (new disk/LUN) first.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 07:15 AM
09-07-2007 07:15 AM
Re: lvextend
So, your current size of lvol1 is about 50G(12,797x4M) - so the most you can put together without adding more disk 50Gig + 4M.
You don't have enough space for that requested operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 07:56 AM
09-07-2007 07:56 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 07:58 AM
09-07-2007 07:58 AM
Re: lvextend
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 08:34 AM
09-07-2007 08:34 AM
Re: lvextend
1. pvcreate -f /dev/dsk/c10t1d5
2. vgextend /dev/vg03 /dev/dsk/c10t1d5
3. lvextend -L 71680 /dev/vg03/lvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 08:39 AM
09-07-2007 08:39 AM
Re: lvextend
1. pvcreate -f /dev/dsk/c10t1d5
2. vgextend /dev/vg03 /dev/dsk/c10t1d5
3. lvextend -L 71680 /dev/vg03/lvol1
You were very close. Change the /dev/dsk/c10t1d5 in the pvcreate step to /dev/rdsk/c10t1d5.
When you create LUN's, it normal to make them bigger than you need at the moment. That makes it very easy to extend LVOL's later should the need arise without having to add additional LUN's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 09:15 AM
09-07-2007 09:15 AM
Re: lvextend
I will try it this weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 12:37 AM
09-11-2007 12:37 AM
Re: lvextend
Since you are left with 1 free PE, so you cannot extend your lvol, you have to create another volume group for your purpose...
Amitav