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


Groups > linux.debian.user > #213290

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

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD
Date 2019-08-26 15:30 +0200
Message-ID <yznei-4V2-13@gated-at.bofh.it> (permalink)
References <yyNXc-7rx-17@gated-at.bofh.it> <yyYSB-66P-5@gated-at.bofh.it> <yzlvQ-3K3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 26, 2019 at 07:36:13AM -0400, Stefan Monnier wrote:
> - When you only store large files (e.g. videos) on the file system, you
>   may end up wasting more space on the unused inodes than you'd like.
>   IIRC with the default setting, about 5% of the disk space is used for
>   inodes, so if you only store a couple of super-large files on it, you
>   may be wasting up to 5% of your space.

I suspect you are accidentally conflating "space used by inodes" and
"space reserved for use by root".  The latter defaults to 5% and is
configurable with the "-m" option in mkfs.ext4(8) and tune2fs(8).

The "bytes-per-inode" value ("-i" option) is the closest match to what
you described.  The man page doesn't tell us what the default value is,
but the Arch wiki says it's one inode per 16384 bytes.
<https://wiki.archlinux.org/index.php/ext4#Bytes-per-inode_ratio>

Since the default inode size is 256 bytes, that tells us the inodes
take about 1.5% of the space by default.

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


Thread

Re: Buster Installation - Partition phase - Inode option to choose  - SSD or Mechanical HD bw <bwtnguy@yahoo.com> - 2019-08-25 01:50 +0200
  Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Richard Owlett <rowlett@cloud85.net> - 2019-08-25 13:30 +0200
    Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-25 14:40 +0200
      Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Richard Owlett <rowlett@cloud85.net> - 2019-08-25 15:00 +0200
        Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-25 15:30 +0200
    Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD David Wright <deblis@lionunicorn.co.uk> - 2019-08-26 03:10 +0200
      Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Richard Owlett <rowlett@cloud85.net> - 2019-08-26 08:00 +0200
    Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD Stefan Monnier <monnier@iro.umontreal.ca> - 2019-08-26 13:40 +0200
      Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-26 15:30 +0200
        Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD Stefan Monnier <monnier@iro.umontreal.ca> - 2019-08-26 15:50 +0200
        Re: Buster Installation - Partition phase - Inode option to choose - SSD or Mechanical HD rhkramer@gmail.com - 2019-08-26 20:30 +0200
          Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD David Wright <deblis@lionunicorn.co.uk> - 2019-08-26 21:50 +0200
          Re: Buster Installation - Partition phase - Inode option to choose -  SSD or Mechanical HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-27 01:00 +0200

csiph-web