Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Mick
On Sunday 21 Aug 2011 05:47:16 Hilco Wijbenga wrote: On 20 August 2011 21:21, Nilesh Govindarajan cont...@nileshgr.com wrote: On 08/21/2011 09:00 AM, Hilco Wijbenga wrote: Yes, df -i says /portage is out of inodes. I've never run into that before. I reran mke2fs to increase the inode count

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Adam Carter
creating the FS, you can't change the inode count dynamically. I've never run out of inodes, even on small partitions.  I just let ext4 make a fs with its default settings.  Is there a magic formula to determine how many inodes are optimal? Some FSes allocate inodes as required. I know btrfs

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
If you run man mke2fs, you should check out -N and -i. It was trial-and-error (for me, anyway) to find the right number. Consider using reiserfs for /usr/portage. No real performance advantage over ext[234], but works well with lots of small files and there's no inode count to worry about. In

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Alan McKinnon
On Sun 21 August 2011 11:13:53 Mick did opine thusly: On Sunday 21 Aug 2011 05:47:16 Hilco Wijbenga wrote: On 20 August 2011 21:21, Nilesh Govindarajan cont...@nileshgr.com wrote: On 08/21/2011 09:00 AM, Hilco Wijbenga wrote: Yes, df -i says /portage is out of inodes. I've never run

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Alex Schuster
Hilco Wijbenga writes: Yes, df -i says /portage is out of inodes. I've never run into that before. I reran mke2fs to increase the inode count and that fixed things. Would LVM somehow prevent these sort of things from happening? LVM doesn't affect inode usage, does it? AFAIK you will gain

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
Would LVM somehow prevent these sort of things from happening? LVM doesn't affect inode usage, does it? LVM has nothing to do with inodes. Inodes are a filesystem concept, and filesystems do not really care about the kind of block device they reside on. Well, generally. AFAIK you will gain

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Alex Schuster
Andrea Conti writes: AFAIK you will gain more inodes when you increase the size. Only because by unless you specify a value mke2fs allocates a number of inodes proportional to the size of the filesystem, with the default being 1 inode every 16kB (see /etc/mke2fs.conf). But for ext[234]

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Hilco Wijbenga
On 21 August 2011 03:46, Andrea Conti a...@alyf.net wrote: If you run man mke2fs, you should check out -N and -i. It was trial-and-error (for me, anyway) to find the right number. Consider using reiserfs for /usr/portage. No real performance advantage over ext[234], but works well with lots

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/weird-inodetest 1024 1024 0 100% /mnt /dev/mapper/weird-inodetest 2048 1024 1024 50% /mnt Then I stand corrected. I guess that the man page for mke2fs saying that the inode count of a filesystem cannot

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Peter Humphrey
On Sunday 21 August 2011 19:14:53 Hilco Wijbenga wrote: The X86 handbook doesn't have this text. Is ReiserFS on AMD64 really only for the adventurous? Certainly not. It's 100% stable as far as I know. Or should this warning be removed? ASAP -- Rgds Peter Linux Counter 5290,

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Alan McKinnon
On Sun 21 August 2011 21:23:15 Andrea Conti did opine thusly: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/weird-inodetest 1024 1024 0 100% /mnt /dev/mapper/weird-inodetest 2048 1024 1024 50% /mnt Then I stand corrected. I guess that the man

[gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Hilco Wijbenga
Hi all, It's been quite a few years but I decided to try another Gentoo install (on a VirtualBox instance). I wanted to try out some new things... I created a ton of partitions including /usr (I want to see if I can get that to work), /portage, and /distfiles. The idea was to mount /portage on

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread covici
Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, It's been quite a few years but I decided to try another Gentoo install (on a VirtualBox instance). I wanted to try out some new things... I created a ton of partitions including /usr (I want to see if I can get that to work),

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Paul Hartman
On Sat, Aug 20, 2011 at 8:41 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: However, when I try to extract the Portage snapshot, I get No space left on device a long way into the untar process. According to df /portage (i.e. /mnt/gentoo/usr/portage) is only 35% full. In fact, not a single

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Hilco Wijbenga
On 20 August 2011 18:52, cov...@ccs.covici.com wrote: Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, It's been quite a few years but I decided to try another Gentoo install (on a VirtualBox instance). I wanted to try out some new things... I created a ton of partitions including

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Hilco Wijbenga
On 20 August 2011 20:05, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Sat, Aug 20, 2011 at 8:41 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: However, when I try to extract the Portage snapshot, I get No space left on device a long way into the untar process. According to df

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Nilesh Govindarajan
On 08/21/2011 09:00 AM, Hilco Wijbenga wrote: Yes, df -i says /portage is out of inodes. I've never run into that before. I reran mke2fs to increase the inode count and that fixed things. Sorry for the drop in, but I never knew that mke2fs can increase the number of inodes! I think I'll now

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-20 Thread Hilco Wijbenga
On 20 August 2011 21:21, Nilesh Govindarajan cont...@nileshgr.com wrote: On 08/21/2011 09:00 AM, Hilco Wijbenga wrote: Yes, df -i says /portage is out of inodes. I've never run into that before. I reran mke2fs to increase the inode count and that fixed things. Sorry for the drop in, but I