Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #213240

Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD
Date 2019-08-25 10:50 +0200
Message-ID <yyWnM-4rn-1@gated-at.bofh.it> (permalink)
References <yyNu9-7gL-5@gated-at.bofh.it> <yyOJz-7Yi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 25/08/2019 à 02:33, Rick Thomas a écrit :
>> On Aug 24, 2019, at 4:18 PM, list@contacte.xyz wrote:
>>
>> What would be the «best» to choose for an SSD in an usual desktop environment ?
>> What would be the «best» to choose for an mechanical HD in an usual desktop environment ?
> 
> I don’t think there’s any difference between SSD and spinning disk (for the particular question of how many inodes are needed).

Indeed inodes have nothing to do with the storage technology but with 
filesystem contents type. Each file and directory requires one inode, 
and the available inode count is fixed when the filesystem is created.
If you are going to fill a filesystem with small files, you need a lot 
of inodes. If you are going to fill a filesystem with big files, you 
need fewer inodes.

man mke2fs for details.

> As a real-world example, here’s a system I set up a couple of years ago (so it’s had enough time to reach an equilibrium state) with “typical usage” (the default).
> 
> 
> rbthomas@monk:~$ df -ih | grep -v tmpfs
> Filesystem                Inodes IUsed IFree IUse% Mounted on
> udev                        3.0M   580  3.0M    1% /dev
> /dev/mapper/monk--vg-root   1.8M  258K  1.5M   15% /
> /dev/sda1                    61K   337   61K    1% /boot
> /dev/mapper/monk--vg-home   5.3M   43K  5.2M    1% /home
> /dev/mapper/monk-download    50M   374   50M    1% /download
> /dev/mapper/monk-export      25M    18   25M    1% /export

So you could have selected "largefile" for all filesystems but / to save 
some space. Unused inodes consume space.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Buster Installation - Partition phase - Inode option to choose - SSD  or Mechanical HD list@contacte.xyz - 2019-08-25 01:20 +0200
  Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Rick Thomas <rbthomas@pobox.com> - 2019-08-25 02:40 +0200
    Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-25 10:50 +0200
    You may need more inodes if you store lots of emails locally in maildir format (was: Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD rhkramer@gmail.com - 2019-08-25 14:20 +0200
      Re: You may need more inodes if you store lots of emails locally in  maildir format Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-25 14:50 +0200
      Re: You may need more inodes if you store lots of emails locally in  maildir format (was: Re: Buster Installation - Partition phase - Inode  option to choose - SSD or Mechanical HD David Wright <deblis@lionunicorn.co.uk> - 2019-08-25 21:30 +0200
        Re: You may need more inodes if you store lots of emails locally in maildir format (was: Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD rhkramer@gmail.com - 2019-08-25 22:00 +0200
  Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD list@contacte.xyz - 2019-08-25 22:50 +0200

csiph-web