# lvextend -L 500 /dev/vgapp01/app1
lvextend: "LogicalExtentsNumber" is not bigger than current
setting.
# lvdisplay /dev/vgapp01/app1
--- Logical volumes ---
LV Name /dev/vgapp01/app1
VG Name /dev/vgapp01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4504
Current LE 1126
Allocated PE 1126
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
When using the '-L' option in
lvextend, you must enter the NEW size of the LV. In your command, you say you
want to extend to LV to 500 MB. However, according to your lvdisplay, that LV
is already at 4504 MB. Therefore, your command did not work.
If you want to extend the LV to
5000 MB, do:
# lvextend -L 5000 /dev/vgapp01/app1
No comments:
Post a Comment