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


Groups > linux.debian.user > #242137

Re: set the number of inodes during FS creation via pressed

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: set the number of inodes during FS creation via pressed
Date 2021-11-13 18:20 +0100
Message-ID <Dj4R4-4P7-5@gated-at.bofh.it> (permalink)
References <DiPfk-3FU-7@gated-at.bofh.it> <DiPfk-3FU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat 13 Nov 2021 at 00:31:42 (+0000), phoebus phoebus wrote:

> Do you know if it possible to set the number of inodes  to create in the filesystem during the installalation with the pressed file? 
> 
> If i start from this example for the filesystem /var/log, how to set numbers of inodes inside it ?
> 
>                 500 550 1024 ext4 \            lv_name{ varlog } \
>             method{ lvm } format{ } \
>             use_filesystem{ } filesystem{ ext4 } \
>             label{ varlog } \
>             mountpoint{ /var/log } \
>                         options/nodev{ nodev } \
>                         options/nosuid{ nosuid } \
>                         options/noexec{ noexec } \
>             options/relatime{ relatime } \
>             $lvmok{ } \
>             . \
> Hope to do it as mkfs do it: mkfs -t ext4 -N iNumberOfINodes /dev/XdY ?

I don't know about the actual number, but I think there's a crude
switch under   use_filesystem{ }   which can be set, from memory,
to one of three options, Standard, large files (fewer inodes for,
say, multimedia) and lots of files (more inodes, say, mail server).
I've only seen the choice (years ago) in the interactive d-i,
and don't know the magic preseed terms.

Cheers,
David.

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


Thread

set the number of inodes during FS creation via pressed phoebus phoebus <frphoebus@yahoo.fr> - 2021-11-13 01:40 +0100
  Re: set the number of inodes during FS creation via pressed Stanislav Vlasov <stanislav.v.v@gmail.com> - 2021-11-13 11:20 +0100
  Re: set the number of inodes during FS creation via pressed David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 18:20 +0100
    Re: set the number of inodes during FS creation via pressed David <bouncingcats@gmail.com> - 2021-11-13 23:50 +0100
      Re: set the number of inodes during FS creation via pressed phoebus phoebus <frphoebus@yahoo.fr> - 2021-11-14 15:00 +0100
        Re: set the number of inodes during FS creation via pressed David Wright <deblis@lionunicorn.co.uk> - 2021-11-14 18:00 +0100
        Re: set the number of inodes during FS creation via pressed David <bouncingcats@gmail.com> - 2021-11-15 01:50 +0100
          Re: set the number of inodes during FS creation via pressed phoebus phoebus <frphoebus@yahoo.fr> - 2021-11-15 12:00 +0100

csiph-web