Gentoo Archives: gentoo-user

From: Matthias Bethke <matthias@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] FIXED!! Re: Can't emerge xfce4 with installed lprng. But ran out of inodes. :-(
Date: Tue, 29 Jul 2008 18:41:17
Message-Id: 20080729184113.GB7990@aldous
In Reply to: Re: [gentoo-user] FIXED!! Re: Can't emerge xfce4 with installed lprng. But ran out of inodes. :-( by Dale
1 Hi Dale,
2 on Fri, Jul 25, 2008 at 03:44:54PM -0500, you wrote:
3 > How do you run out of inodes anyway? I use reiserfs for most partitions
4 > except /boot and portage. My /data partition has 75,000 files and 3,600
5 > directories. No problems so far but not near as many files as you have.
6
7 You can adjust the number of inodes to create at mkfs using -i, -N or -T
8 which are just different ways of doing the same thing. Lowering the
9 number of inodes wastes less disk space if you know you're not going to
10 write many files anyway. This feature bit me once when I set up a
11 -Tlargefile4 partition (i.e. one inode per 4 MiB of disk) for videos. As
12 it happens, I had to misuse it for backups at some point and was very
13 puzzled when df showed 3% used space but even "touch" gave me a "no space
14 left on device" error. tarring the stuff I had planned to just copy
15 solved it and would prolly have been faster in the first place :)
16
17 cheers,
18 Matthias
19 --
20 I prefer encrypted and signed messages. KeyID: FAC37665
21 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665