Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • How to change inode_ratio (bytes-per-inode) from within the kickstart script on RHEL 6.9?

    Posted on

    How do I change (reduce) inode_ratio (bytes-per-inode from default 16K to 8K) from within the kickstart script on RHEL6.9 ? Basically, I need to increase the number of inodes during installation of the OS right from the kickstart script while creating the ext4 type file partitions.

    My /etc/mke2fs.conf has default "inode_ratio = 16384". I tried the following from kickstart "part" line -

    part /data --bytes-per-inode=8192 --fstype=ext4 ....

    It did not work; bytes-per-inode was still 16K. Now I know that the part "--bytes-per-inode" option is obsolete.

    Do I directly change inode_ratio from 16384 to 8192 in /etc/mke2fs.conf file using sed or awk from kickstart script before the "part" lines? I am not sure if the corresponding package (rpm) e2fsprogs that provides /etc/mke2fs.conf file will be installed already at that point.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat