I am running a RHEL 7 server with a license from my university. I am running it on a bare metal server in a local place on my university. I originally installed RHEL 7 with LVM on my hard drive (there is a 2TB HDD in the system). I started noticing that I was greeted with this message on login after a while.
mktemp: failed to create file via template ‘/tmp/.colorlsXXX’: No space left on device -bash: $TMP: ambiguous redirect
If I would try updating the system, I would be greeted with a very similar message by
yum. Upon evaluating the space left on my filesystem, the issue was apparent.
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 50G 20K 100% / devtmpfs 12G 0 12G 0% /dev tmpfs 12G 4.0K 12G 1% /dev/shm tmpfs 12G 8.8M 12G 1% /run tmpfs 12G 0 12G 0% /sys/fs/cgroup /dev/sda2 494M 170M 325M 35% /boot /dev/sda1 200M 9.5M 191M 5% /boot/efi /dev/mapper/rhel-home 1.8T 843G 958G 47% /home
/dev/mapper/rhel-root part of my filesystem, where the root directory is located, is out of room and is causing issues with my system. Inside of LVM, is there a way I can resolve or fix this issue without reinstalling the operating system? Ideally, any other solution than reinstalling would be preferred. Thanks!