Date: Sun, 7 Sep 1997 14:52:18 +0930 From: Greg Lehey <grog@lemis.com> To: "Gregory G. Losik" <gregor@cc.gatech.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /: file system is full Message-ID: <19970907145218.40817@lemis.com> In-Reply-To: <Pine.SUN.3.91.970907004059.27091A-100000@felix.cc.gatech.edu>; from Gregory G. Losik on Sun, Sep 07, 1997 at 01:06:14AM -0400 References: <19970907130816.48891@lemis.com> <Pine.SUN.3.91.970907004059.27091A-100000@felix.cc.gatech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 07, 1997 at 01:06:14AM -0400, Gregory G. Losik wrote: > > I think I found the problem... Suggestions? :) I fear not. I forgot about this one :-( That's normal. > When I ls -l in /stand, all the files are 1069056 bytes in size. There > was also sysinstall.core same size which I deleted. Strangely du reports > a total of 1140, which seems more reasonable. That's a UNIX trick. All of those files are really the same file, they just have 19 names. Check the concept of links some time. > Can I find /stand/* files somewhere archived on the net to copy them > over, or there is something else to try? Well, there are a couple of things. First, you say you installed FreeBSD 2.2.2. I did that yesterday, and I've done this list: # ls -l /stand total 19915 -r-xr-xr-x 19 root bin 1060864 May 28 07:48 -sh -r-xr-xr-x 19 root bin 1060864 May 28 07:48 bad144 -r-xr-xr-x 19 root bin 1060864 May 28 07:48 boot_crunch -r-xr-xr-x 19 root bin 1060864 May 28 07:48 cpio drwx------ 2 root wheel 512 Sep 5 18:30 etc -r-xr-xr-x 19 root bin 1060864 May 28 07:48 find -r-xr-xr-x 19 root bin 1060864 May 28 07:48 fsck -r-xr-xr-x 19 root bin 1060864 May 28 07:48 ft -r-xr-xr-x 19 root bin 1060864 May 28 07:48 gunzip -r-xr-xr-x 19 root bin 1060864 May 28 07:48 gzip drwxr-xr-x 2 root wheel 1024 Sep 5 18:30 help -r-xr-xr-x 19 root bin 1060864 May 28 07:48 ifconfig -r-xr-xr-x 19 root bin 1060864 May 28 07:48 mount_nfs -r-xr-xr-x 19 root bin 1060864 May 28 07:48 newfs -r-xr-xr-x 19 root bin 1060864 May 28 07:48 ppp -r-xr-xr-x 19 root bin 1060864 May 28 07:48 pwd -r-xr-xr-x 19 root bin 1060864 May 28 07:48 route -r-xr-xr-x 19 root bin 1060864 May 28 07:48 sh -r-xr-xr-x 19 root bin 1060864 May 28 07:48 slattach -rw-r--r-- 1 root wheel 454 May 28 07:52 symbols -r-xr-xr-x 19 root bin 1060864 May 28 07:48 sysinstall -r-xr-xr-x 19 root bin 1060864 May 28 07:48 zcat Note in particular the second column: most of the files (19 of them) have the number 19 there. This is the link count, and it indicates that all 19 names point to the same file. If you have somehow missed out here (I don't know how), you might find you have 19 copies, which would explain the problem. If that's the case, you could run this script: cd stand rm -f bad144 boot_crunch cpio find fsck ft gunzip gzip ifconfig mount_nfs \ newfs ppp pwd route sh slattach sysinstall zcat for i in bad144 boot_crunch cpio find fsck ft gunzip gzip ifconfig mount_nfs \ newfs ppp pwd route sh slattach sysinstall zcat; do ln ./-sh $i done The other thing that puzzles me is that you say the files have a size of 1069056 bytes. I get 1060864. At first, I thought that you had transferred by FTP in ASCII mode, but that still doesn't add up, and anyway, you wouldn't have been able to install. Could you tell me where you got the software, please? Greg > On Sun, 7 Sep 1997, Greg Lehey wrote: >> On Sat, Sep 06, 1997 at 11:12:25PM -0400, Gregory G. Losik wrote: >>> Hello, >>> >>> This is really easy one but I wasn't able to find anything that simple in >>> archives and maybe you can refer me to some manual where I can learn more... >>> >>> I just installed 2.2.2 on my 1gig partition. Used auto for creation of /, >>> /usr, /var, and /proc FS. Installed X, and later during addition of >>> other packages got something like "/: file system is full" df -k reports >>> 109% used for /. >>> Basicly, I am trying to find out what are my options and what tools can I >>> use to change things (lots of rm:)? What's best configuration? >>> >>> Now, my / is 31M, /usr is ~1gig, and /var = 30M. Don't have any data yet. >> >> Hmmm. This is the second report we've seen recently. Try this: >> >> # find / -xdev -size +2000 | xargs ls -l >> >> This will find all files larger than 1 MB (2000 blocks of 512 byte) on >> the root file system. The only ones that should be there should be >> /kernel and /kernel.GENERIC (and possibly other kernels that you have >> put there). >> >> If that doesn't find anything untoward, do: >> >> # find / -xdev -type d >> >> This lists all the directories in /. You should get something like: >> >> / /dev /dev/fd /usr /stand /stand/help /stand/etc /etc /etc/gnats >> /etc/kerberosIV /etc/mtree /etc/namedb /etc/ppp /etc/uucp /proc /cdrom >> /dist /bin /lkm /mnt /root /sbin /tmp /tmp/.X11-unix /src /home >> >> If there are other directories there, check them out. In particular, >> of course, /var shouldn't be there. >> >> Greg >> > > -- Greg Lehey LEMIS grog@lemis.com PO Box 460 Tel: +61-8-8388-8286 Echunga SA 5153 Fax: +61-8-8388-8725 Australia -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2i mQCNAzGpfDEAAAEEAMh6rH1c9+oKgazwGLitshrIFKFSGelccTK1fwnMw2O6SrK8 r0ttvRO42fZa8WXvlsSF1JIAqOJoaBP8HJNv6G/RA1NcKgqQKLc4RmTNnu6MoPe0 a25w25wyKOfzefJTS9dsQhWg2XJlyRo4YMtbSxDOZldq7kmga0Sj8+byVwABAAUR tBNDQyA8Y2NAbWFyY2FkZS5jb20+tAZDb250cm8= =FJvY -----END PGP PUBLIC KEY BLOCK-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970907145218.40817>