How to create a filesystem with custom options using a kickstart

Solution Verified - Updated -

Issue

  • There does not seem to be any way to provide creation options during installation with kickstart

  • Kickstart offers the --fsprofile option, but that only seems to apply to ext* file systems

  • We should be able to create a filesystem with custom options in the kickstart file as we create it using mkfs command, e.g.:

    mkfs.xfs -i size=512 -n size=8192 -d su=64k,sw=3 /dev/rhel/root
    

Environment

  • Red Hat Enterprise Linux 7 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content