Subject: "no inodes free", but still 40% (73MB) left on disk
To: None <netbsd-help@NetBSD.org>
From: henry nelson <netb@irm.nara.kindai.ac.jp>
List: netbsd-help
Date: 11/05/2003 09:49:14
I've been trying to just unpak (not use) pkgsrc.tar.gz, but it won't go on
the partition I made for it.  I tried: "gzip -dc pkgsrc.tar.gz | tar xf -",
"cat pkgsrc.tar.gz |(cd /usr; tar xf -)" and "pax -zrpe -f pkgsrc.tar.gz".
In every case, it stops with a message like:
/usr/pkgsrc: create/symlink failed, no inodes free
tar: Could not create file pkgsrc/ ... link2.mk: No such file or directory
Yet, if I do `df`, that partition shows up as:
          1K-blocks  Used  Avail  Capacity
/dev/sd0e   190600  107988 73082    59%    /usr/pkgsrc

Is it because pkgsrc has a huge number of very small files?  Could I use
tunefs(8) or fdisk(8) to somehow increase the number of inodes without
increasing the size of the partition?  (If yes, how, i.e., what options?)

In case it's relevant: NetBSD1.6.1/sparc

-- 
henry nelson