/tmp Is Almost Full ?!? How Do I Clean It Up ??
/tmp Is Almost Full ?!? How Do I Clean It Up ??
This is a first: My /tmp partition which is normally EMPTY -- or near empty -- is now 89% full!!! Yes this is in theory a partition that holds TEMPORARY files and should in THEORY empty out with each reboot -- just not this time. This is *almost* academic as tomorrow I am going to try and rollover the system -- again -- to 7.5 and hope I don't get hosed once again. OTOH I'm wondering if there is something in my /tmp partition that caused me to be hosed the first time around. Is there a SAFE way to clean out the partition?? Hopefully when I rollover the system tomorrow it will simply empty it out, but if not...
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
Desperately sorry about the...
Last edited by zethro on 2018/05/20 22:53:26, edited 1 time in total.
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
/tmp is a partition (dev/sda9) and the partition is almost full. When I ran "rm -rf * /tmp" I got "rm: cannot remove ‘/tmp’: Device or resource busy". I don't want to delete the partition, put rather the contents of the partition... without hosing the system.zethro wrote:rm -rf * /tmp
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
almost forgot...sorry.
then try to rm -rf /tmp/*
i am not sure, but....
then try to rm -rf /tmp/*
i am not sure, but....
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
Yep that worked like a charm. Tomorrow: The Rollover !! Let's hope *this* time I don't get hosed!!!zethro wrote:almost forgot...sorry.
then try to rm -rf /tmp/*
i am not sure, but....
Thanks for your help!
Desertcat
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
Ouch! That is some typo. That will have removed everything forcefully without prompting in the current working directory and the entire /tmp directory and all its contents.rm -rf * /tmp
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
OUCH indeed Trevor!!!! SIGH!!! I discovered that a few hours ago much to my chagrin. Good thing I have backups of all my major partitions including /tmp as well as /home, and a backup of the entire drive which was how I recovered from my last disaster when I rolled over from 7.4 => 7.5. The quetion I am now trying to figure out: 1) Restore the entire disk which will take several hours, clean it up then try and do the roll over 2) Restore /tmp => Restore /home => Reboot the machine => Cleanup => run yum update and cross my fingers that the machine will roll over. Any insight you could provide as to which would be the best approach would be greatly appreciated.TrevorH wrote:Ouch! That is some typo. That will have removed everything forcefully without prompting in the current working directory and the entire /tmp directory and all its contents.rm -rf * /tmp
Something indeed went WRONG somewhere: /tmp usually showed 0-10% full at any given time suddenly shot up to 89% full on a partition that is 5.4 GB in size. No clue what caused it and rebooting the machine and trying to selectively hand delete duplicate files did not solve the problem. Only a few hours before the size reported by System Monitor was 0% then while checking something on the next door monitor I caught a quick glance of /tmp and it now read 89% full! POOF!!!
On the bright side I am getting a crash course in RESTORATION. Could have done without this bit of education.... SIGH!!!
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
Sorry for nuisance!!!
I swear that I didn't intend this disturbance!
Terrably sorry for the bad reply!
I swear that I didn't intend this disturbance!
Terrably sorry for the bad reply!
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
No Problem, that is what backups are for. As it turned out there was something terribly WRONG... SOMEWHERE, and I ended up re-installing the entire disk from backup, it solved the problem, after cleaning up the reinstall I SUCCESSFULLY was able to rollover the system to 7.5. After I am SURE that I've squashed any bugs I'll do my first ENTIRE Disk Backup of the system. The next ENTIRE Disk Backup will be just before 7.6 comes out in about a year's time. I have automated weekly backups of all the partitions with Backupninja.zethro wrote:Sorry for nuisance!!!
I swear that I didn't intend this disturbance!
Terrably sorry for the bad reply!
Re: /tmp Is Almost Full ?!? How Do I Clean It Up ??
great!! always luck be with you!!!