TayF5un
Oct 10, 2016Nimbostratus
expanding file
hi,
Can I expand the files which are /config and /var. I can do it with VE.
F5 BIGIP software uses CentOS as the base system with TMOS. You need to extend the CentOS volumes.
Here are the steps I did in my lab unit (12.0.0 Final):
[root@LABBIGIP1:zrd DOWN:Disconnected] config df -h /config
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg--db--sda-set.20._config 3.2G 351M 2.7G 12% /config
[root@LABBIGIP1:zrd DOWN:Disconnected] config lvextend -L+1G /dev/mapper/vg--db--sda- set.20._config
Extending logical volume set.20._config to 4.17 GiB
Logical volume set.20._config successfully resized
[root@LABBIGIP1:zrd DOWN:Disconnected] config df -h /config
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg--db--sda-set.20._config
3.2G 351M 2.7G 12% /config
[root@LABBIGIP1:zrd DOWN:Disconnected] config resize2fs /dev/mapper/vg--db--sda-set.20._config
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/mapper/vg--db--sda-set.20._config is mounted on /config; on-line resizing required old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/mapper/vg--db--sda-set.20._config to 1092608 (4k) blocks.
The filesystem on /dev/mapper/vg--db--sda-set.20._config is now 1092608 blocks long.
[root@LABBIGIP1:zrd DOWN:Disconnected] config df -h /config
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg--db--sda-set.20._config
4.2G 352M 3.6G 9% /config