My /tmp partition locked up for file system issues, it's read only now.
When I try to unmount it, Centos says it's busy.
When I try to run FSCK is says to unmount it.
Is there a way to force unmount on it so I can run FSCK, I know the system will not work without a /tmp partition during the process.
Would like to unmount /tmp run fsck -a and then remount it again all on a live system.
Thanks,
Can you umount the /tmp partition on a live system?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Can you umount the /tmp partition on a live system?
Did you try rebooting?
It should complain about the damaged filesystem and prompt you to run fsck on it.
If not, you can boot the DVD in rescue mode, fsck your filesystems, and reboot.
It should complain about the damaged filesystem and prompt you to run fsck on it.
If not, you can boot the DVD in rescue mode, fsck your filesystems, and reboot.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Can you umount the /tmp partition on a live system?
If this problem is related to
viewtopic.php?f=13&t=52240&view=unread& ... 9b#p221214
please keep your posts to one thread per problem. Not doing so wastes time and resources for those trying to help.
viewtopic.php?f=13&t=52240&view=unread& ... 9b#p221214
please keep your posts to one thread per problem. Not doing so wastes time and resources for those trying to help.
Re: Can you umount the /tmp partition on a live system?
These are totally different questions that can have a multitude of reasons for either one.gerald_clark wrote:If this problem is related to
viewtopic.php?f=13&t=52240&view=unread& ... 9b#p221214
please keep your posts to one thread per problem. Not doing so wastes time and resources for those trying to help.
Adding them together in one thread would only cause confusion.
I thought it was obvious that I am trying to not reboot. My bad for not saying that.
Re: Can you umount the /tmp partition on a live system?
This is what I'd do: Make a copy of TMP partition A to partition B. Run lsof/fuser on A, kill (stop and temporarily disable, if possible) all processes that are using files on A. Unmount A and mount B in its place, restart processes. Run fsck on A, rinse and repeat inverting A and B.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.