lvextend
This article is a Draft. Help us to complete it.
Options:
-r, --resizefs
lvextend --resizefs -l +100%FREE -n /dev/vg_docker/docker Size of logical volume vg_docker/docker unchanged from <75.00 GiB (19199 extents). Logical volume vg_docker/docker successfully resized. meta-data=/dev/mapper/vg_docker-docker isize=512 agcount=4, agsize=3276544 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1 spinodes=0 rmapbt=0 = reflink=0 data = bsize=4096 blocks=13106176, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 ftype=1 log =internal bsize=4096 blocks=6399, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 data blocks changed from 13106176 to 19659776
lvextend -l +100%FREE -n /dev/mapper/ubuntu--vg-ubuntu--lv Size of logical volume ubuntu-vg/ubuntu-lv changed from 63.50 GiB (16256 extents) to <127.00 GiB (32511 extents). Logical volume ubuntu-vg/ubuntu-lv successfully resized.
Note: + sign lvextend -l +100%FREE -n /dev/mapper/VG_NAME-LV_NAME Size of logical volume VG_NAME/LV_NAME changed from 4.00 TiB (1048576 extents) to <4.10 TiB (1074790 extents). Logical volume VG_NAME/LV_NAME successfully resized.
lvextend -l 100%FREE -n /dev/mapper/VG_NAME-LV_NAME New size given (26214 extents) not larger than existing size (1048576 extents)
lvextend -l +100%FREE -n /dev/main/LV_NAME New size (23736 extents) matches existing size (23736 extents).
lvextend -l 100%FREE -n /dev/mapper/VG_NAME-LV_NAME WARNING: Device /dev/mapper/3600a09803831417a5a244f5665797a4d has size of 8804682957 sectors which is smaller than corresponding PV size of 12884901888 sectors. Was device resized? One or more devices used as PVs in VG data_server1 have changed sizes. New size given (524287 extents) not larger than existing size (1048576 extents)
lvextend -l +100%FREE -n /dev/vg_docker/docker Size of logical volume vg_docker/docker changed from <50.00 GiB (12799 extents) to <75.00 GiB (19199 extents). Logical volume vg_docker/docker successfully resized.
Related[edit]
Activities[edit]
See also[edit]
- scan:
pvscan
vgscan
- LVM:
lvs
lvmscan
lvm fullreport
lvmreport
lvmconfig
lvmdump
lvmcheck
lvm dumpconfig
- Scan:
pvs
vgs
lvs
pvscan
vgscan
- PV:
pvcreate
pvremove
pvscan
pvremove
pvscan
pvs
pvchange
pvck
pvdisplay
pvresize
- LV:
lvdisplay
lvcreate
lvremove
,lvresize
,lvextend
,lvreduce
,lvrename
- VG:
vgdisplay
,vgcreate
,vgremove
,vgextend
,vgreduce
,vgscan
,vgchange
,vgrename
,vgcfgbackup
,vgcfgrestore
,vgimportclone
,vgck
- Check commands:
pvck
vgck
Advertising: