growfs on /
Sergey 'DoubleF' Zaharchenko
doublef at tele-kom.ru
Sat Dec 13 06:09:10 PST 2003
On Sat, 13 Dec 2003 14:02:59 +1030
Malcolm Kay <malcolm.kay at internode.on.net> probably wrote:
> On Sat, 13 Dec 2003 13:08, Jeff LaMarche wrote:
> > Hey all...
> >
> > Have FreeBSD 4.8-STABLE, and I've run out of space on the slice /
> >
> > I really want to avoid having to backup and reformat, or doing anything
> > that's super-time-intensive - from reading various posts and blogs
> > related to FreeBSD, it appears to me that I can resolve my issue by
> > using growfs - the next slice after / is /tmp which has plenty of room
> > free, and can afford to be reduced by a little. It doesn't seem to be
> > affecting system use except that I can't add new users.
> >
> > Here's what I look like now:
> >
> > Filesystem 1K-blocks Used Avail Capacity Mounted on
> > /dev/ad0s1a 128990 127682 -9010 108% /
>
> I should have thought that 125Mb or so should have been ample for / when
> /tmp, /var and /usr have there own partitions.
>
> Your mail prompted me to look at what I have under / and was somewhat
> surprised to find about 90Mb. But when I examined this I found about 40Mb
> was pure junk -- things like temproot, modules.old and etc.old1 left over from
> a system update and a core file or two.
>
> Have you been running X applications (especially browsers) as root ---- a
> practice frowned upon, mostly I guess, because it can swallow large gulps of
> space on /.
Not because of this, but because of security reasons. I believe something like
# du -hx -d 1 /
will help you find out what things use up the space.
> I would certainly look at getting the total file size down in / rather than
> trying to grow it.
>
> Malcolm
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
DoubleF
Help a swallow land at Capistrano.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031213/e83a4edf/attachment.bin
More information about the freebsd-questions
mailing list