At least 94MB more space needed on the /var filesystem.
Error Summary
Disk Requirements:
At least 94MB more space needed on the /var filesystem.
I just did a yum update on a new server I just from Dell.
I'm not sure how to proceed so I don't mess up my file system.
I can not update because /var is full.
I've got 2 2tb hard-drive.
Notes:
uname -a
3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 1014M 67M 948M 7% /
devtmpfs 12G 0 12G 0% /dev
tmpfs 12G 0 12G 0% /dev/shm
tmpfs 12G 8.6M 12G 1% /run
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/mapper/VolGroup00-LogVol02 7.0G 3.0G 4.1G 43% /usr
/dev/mapper/VolGroup00-LogVol05 1014M 151M 864M 15% /home
/dev/sda3 197M 64M 134M 33% /boot
/dev/mapper/VolGroup00-LogVol04 5.0G 4.8G 222M 96% /var
/dev/mapper/VolGroup00-LogVol03 509M 34M 476M 7% /tmp
[root@tritechsc lab]#
Responses
Hi craigcoleman,
By seeing the out of df -h, i can see that you are using the LVM,
/var is mount on on /dev/mapper/VolGroup00-LogVol04 LVM volume so you can increase the size of LVM using below method, if your your server is hosted on VMware by adding a new Virtual disk or adding a physical if hosted on a physical server you can do this easily. follow the below link.
https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/
Hope it will help you.
The size allocated for root and other file systems is too small for enterprise level usage. Hence, try increasing the size of logical volumes instead of re-installation which I feel ideal solution. Yes, the above article provided by craigcoleman is a good one for changing root lvm siz.e
From your statement I could say that "/dev/sda5" partition has been allocated complete space out of which you've allocated around 41GB of space to "swap, /, /usr/, /home, /var, & /tmp". So, there is still space remaining which you can use. Run "vgs" command and check out free space which can used to create a new or to extend the space of existing lv. So, here /dev/sda5 is your physical volume. Also, show "pvs, lvs" outputs.
@craigcoleman: yes, you're on the right track. You might want to use the "lvs", "vgs" and "pvs" commands: although the total overview given by "lsblk" is nice, "vgs" will tell you directly how much capacity you have available for extending any logical volumes (LogVols) within a volume group (VolGroup). And you've already discovered the commands to use for the extension.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
