- 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
08-22-2002 08:14 AM
08-22-2002 08:14 AM
lvextend
I need to extend the file-system to 1gig and when I ran the lvextend -L 1024 /dev/vg00/lvol8, I get this error.
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
Doing my vgdisplay shows the following information...
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4065
Free PE 275
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Please help. Points will be given.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:19 AM
08-22-2002 08:19 AM
Re: lvextend
If you do a 'vgdisplay -v vg00' and look at the info for lvol8, how many extents are allocated? Take that number and multiply by 4 and you get the # of MB that lvol8 is currently. I will bet that it is larger than 1024.
To fix the error you are getting, pick a number that is larger than the current size of lvol8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:21 AM
08-22-2002 08:21 AM
Re: lvextend
cf lvextend man pages
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:22 AM
08-22-2002 08:22 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:22 AM
08-22-2002 08:22 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:24 AM
08-22-2002 08:24 AM
Re: lvextend
# lvextend -L 1800 /dev/vg00/lvol8
would be fine ... (new size is 1.8GB)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:25 AM
08-22-2002 08:25 AM
Re: lvextend
# lvdisplay -v /dev/vg00/lvol8
This will tell you the LV details and size. For increasing it to 2GB:
# lvextend -L 2048 /dev/vg00/rlvol8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:27 AM
08-22-2002 08:27 AM
Re: lvextend
what is the current size , if you are increasing it by 1.gb then do a lvexnted -L 2048 /dev/vg00/lvol8
Alternatively use SAM
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 10:23 AM
08-22-2002 10:23 AM
Re: lvextend
If you still have the problem and if you are running 10.20, then install this patch - PHCO_23427. This is the LVM cumulative patch and will eliminate errors of lvextend when using -L.
hth,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 10:48 AM
08-22-2002 10:48 AM
Re: lvextend
From your original output really doesn't help because we need to see the lvdisplay output as well. For instance:
# lvdisplay /dev/vg00/lvolx
--- Logical volumes ---
LV Name /dev/vg00/lvolx
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
In this logical volume it shows:
Allocated PE =35
Take this and the original output you posted from the vgdisplay which showed:
PE Size (Mbytes) 4
So 500 x 4= 2000 which is displayed as:
LV Size 2000
So if I ran your command on this logical volume I would receive the same kind of error because my logical extents would be less than what I have configured already.
lvextend can be used with lower case "-l" which will specify size using extents. This is more accurate than using the upper case "-L" which specifies size in MB. The "-l" option will round the size off to the nearest whole extent value.
Thanks for participating in the forums,
Martin
Chaos reigns within. Reflect, repent, and reboot. Order shall return.