[TriLUG] Unmount /tmp

Owen Berry oberry at trilug.org
Thu Nov 10 15:10:10 EST 2005


On Thu, Nov 10, 2005 at 08:04:05AM -0800, Aaron S. Joyner wrote:
> Owen Berry wrote:
> 
> >Is it possible to unmount /tmp without booting into a LiveCD of some
> >kind? I have it on LVM and have extended the logical volume size, but
> >the filesystem is ext3 and the recommendation is to unmount it before
> >running resize2fs.
> >
> >Thanks,
> >Owen
> > 
> >
> Well you can run `lsof | grep tmp` to see what programs have files open 
> in tmp.  Kill them (if appropriate / possible), then unmount tmp, resize 
> at will, and then restart the things you killed.  Alternatively, comment 
> it out from /etc/fstab, reboot, resize, uncomment, and run `mount /tmp`.
> 
> Best of luck,
> Aaron S. Joyner

Worked like a charm - thanks! Now why didn't I think of that. :-)

Owen



More information about the TriLUG mailing list