Доброго времени суток.
Развернул UNetLab на ESXi, необходимо увеличить размер fs.
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000462f5
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 499712 41943039 20721664 8e Linux LVM
root@UNL:~# df -T | grep ext4
/dev/dm-0 ext4 18044916 1711804 15566076 10% /
/dev/sda1 ext4 236876 42122 178223 20% /boot
Вариант, который предлагает сам автор unetlab не работает:
root@UNL:~# lvextend -L+19G /dev/rootvg/rootvol
Extending logical volume rootvol to 36.50 GiB
Insufficient free space: 4864 extents needed, but only 333 available
root@UNL:~# resize2fs /dev/rootvg/rootvol
resize2fs 1.42.9 (4-Feb-2014)
The filesystem is already 4588544 blocks long. Nothing to do!
root@UNL:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 481M 4.0K 481M 1% /dev
tmpfs 99M 896K 98M 1% /run
/dev/dm-0 18G 1.7G 15G 10% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 494M 0 494M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 232M 42M 175M 20% /boot