Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Getting maximum space out of a hard drive
Date: Thu, 25 Aug 2022 15:14:46
Message-Id: 6e3ee99d-46da-4cdf-93ed-838591a50f67@users.sourceforge.net
In Reply to: Re: [gentoo-user] Getting maximum space out of a hard drive by Rich Freeman
1 On 8/25/22 08:52, Rich Freeman wrote:
2 > On Thu, Aug 25, 2022 at 8:43 AM Dale <rdalek1967@×××××.com> wrote:
3 >> I've already got data on the drive now with the default settings so it
4 >> is to late for the moment however, I expect to need to add drives
5 >> later. Keep in mind, I use LVM which means I grow file systems quite
6 >> often by adding drives. I don't know if that grows inodes or not. I
7 >> suspect it does somehow.
8 > It does not. It just means that if you want to reformat it you have
9 > to reformat all the drives in the LVM logical volume. :)
10
11 As I remember, if you enlarge a logical volume by adding a new physical
12 volume, you then have to expand the filesystem to use that additional
13 space.  Looking at resize2fs, it does increase the number of inodes, but
14 only linearly in proportion to the amount of increased size.  I don't
15 see any way to tell it to decrease, or even just not increase, the
16 number of inodes.
17
18 Related question - how much space would you actually save by decreasing
19 the number of inodes by 90%?  Enough for one or two more videos?

Replies

Subject Author
Re: [gentoo-user] Getting maximum space out of a hard drive Dale <rdalek1967@×××××.com>