7.x
Note: Before doing any work make sure we have a current backup of VIO. For more information, see Backup and Restore.
# df -h /var/log
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/logs_vg-log 30G 30G 30G 100% /var/log
# journalctl --disk-usage
Archived and active journals take up 1.4G in the file system.
# journalctl --vacuum-size=200M
Deleted archived journal /var/log/journal/####/system@####-####-####.journal (104.0M).
...
/var/log/journal/####/system@####-####-####.journal (104.0M).
Vacuuming done, freed 1.2G of archived journals from /var/log/journal/e21ec5ea576c4a52acd1740a6dd9c845.
Note: Access to both vCenter and the command line of the VIO manager are needed:
pvcreate /dev/sdc
vgextend logs_vg /dev/sdc
lvm lvextend -l +100%FREE /dev/mapper/logs_vg-log
resize2fs -p /dev/mapper/logs_vg-log