Gentoo Archives: gentoo-user

From: Andrea Conti <alyf@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [Gentoo install] Disk full at 35%?
Date: Sun, 21 Aug 2011 13:47:13
Message-Id: 4E510BE1.40000@alyf.net
In Reply to: Re: [gentoo-user] [Gentoo install] Disk full at 35%? by Alex Schuster
1 >> Would LVM somehow prevent these sort of things from happening? LVM
2 >> doesn't affect inode usage, does it?
3
4 LVM has nothing to do with inodes. Inodes are a filesystem concept, and
5 filesystems do not really care about the kind of block device they
6 reside on. Well, generally.
7
8 > AFAIK you will gain more inodes when you increase the size.
9
10 Only because by unless you specify a value mke2fs allocates a number of
11 inodes proportional to the size of the filesystem, with the default
12 being 1 inode every 16kB (see /etc/mke2fs.conf).
13
14 But for ext[234] the number of inodes is fixed at filesystem creation,
15 so even if you use LVM you can't increase it by -- say -- growing the
16 underlying LV and then using resize2fs.
17
18 andrea

Replies

Subject Author
Re: [gentoo-user] [Gentoo install] Disk full at 35%? Alex Schuster <wonko@×××××××××.org>