Date: Wed, 10 Nov 1999 18:30:31 -0500 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'slava revutchi' <sl@zeus.dnt.md> Cc: "FreeBSD Questions (E-mail)" <questions@FreeBSD.org> Subject: RE: running out of space on / Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105D6D@site2s1>
next in thread | raw e-mail | index | archive | help
The easiest thing to do is to make directories on another partition that is larger, such as /usr, for tmp and var. Copy everything from /var into /usr/var (cp -Rp /var/* /usr/var) Remove both /tmp and /var dirs. (rm -rf /tmp /var) Then symlink both /tmp and /var to the new directories on /usr. (ln -s /usr/tmp /tmp;ln -s /usr/var /var) This should clear up your problems with the root partition. (This all assumes that both /tmp and /var are not on separate partitions already.) -Chris > -----Original Message----- > From: slava revutchi [SMTP:sl@zeus.dnt.md] > Sent: Tuesday, November 09, 1999 6:32 AM > To: freebsd-questions@freebsd.org > Subject: running out of space on / > > > Hello, > > I have a system which I allocated only 50Mb for the / partition > and now that the user base went above 15K I am running out of space > because passwd, master.passwd, pwd.db and spwd.db live on this partition. > > pwd_mkdb would complain sometimes that it has no room to generate the .db > files. > > Is there a way to increase the size of this partition? If say I have > a 512Mb IDE drive would it solve the problem if I mount it on /tmp? > > Thanks for any advice, > slava. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105D6D>