Skip to content

Commit

Permalink
MTL-1811 Incorrect FSopt Fails to Mount Partitions in SLES15SP4 (#38)
Browse files Browse the repository at this point in the history
MTL-1811 Bad XFS Option Prevents Mounting in SLES15SP4

This option must be to a power-of-2, for some time the allocsize
optimization has not been to a power-of-2. Somehow this incorrect option
has gone unoticed and XFS mounts have been working fine in both
SLES15SP2 and SLES15SP3. However in SLES15SP4 our luck has ran out, this
incorrect value (incorrect because it isn't a power of 2) prevents XFS
from mounting.

It would seem that this value was incorrectly added a long time ago but
had gone unnoticed, most XFS optimization guides suggest 131072(k) and
our value is missing that trailing "2". 131072 is 2 to the power of 17
(in other words, 131072 log2 = 17). 13107 log2 is not an integer.
  • Loading branch information
rustydb authored Jun 22, 2022
1 parent 63fb1e8 commit 1068a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 90metalmdsquash/metal-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export metal_fstab=/etc/fstab.metal
# constant: metal_fsopts_xfs
#
# COMMA-DELIMITED-LIST of fsopts for XFS
export metal_fsopts_xfs=noatime,largeio,inode64,swalloc,allocsize=13107
export metal_fsopts_xfs=noatime,largeio,inode64,swalloc,allocsize=131072k

##############################################################################
# constant: metal_disk_small
Expand Down

0 comments on commit 1068a6b

Please sign in to comment.