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 |