platforms: Use 4k target block size and sync btrfs fsoptions

Apple Silicon platforms have disks that are 4k block size.

Additionally, update the server config for Btrfs to more closely
match the workstation one.
This commit is contained in:
Neal Gompa 2022-12-22 21:57:54 -05:00
parent 0e153ceaa0
commit d927cd9af3
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
</profile>
</profiles>
<preferences profiles="Server">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 rootdelay=300 scsi_mod.use_blk_mq=1 multipath=off" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 rootdelay=300 scsi_mod.use_blk_mq=1 multipath=off" devicepersistency="by-uuid" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="serial" timeout="1" timeout_style="countdown"/>
<systemdisk name="fedora">
<volume name="home"/>

View File

@ -14,7 +14,7 @@
</profile>
</profiles>
<preferences profiles="WorkstationCommon">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 scsi_mod.use_blk_mq=1 multipath=off rhgb quiet" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 scsi_mod.use_blk_mq=1 multipath=off rhgb quiet" devicepersistency="by-uuid" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="serial" timeout="1" timeout_style="countdown"/>
<systemdisk name="fedora">
<volume name="home"/>