-
This is on a fresh (set up a few days ago) installation of Arch Linux. I'm trying to set up a new Stratis pool on a 2TB USB hard drive:
Trying to rerun the mkfs.xfs command manually results in the same error message - it appears that
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The XFS project has changed the minimum allowed size of an xfs file system in recent versions of the userspace tools. In older versions of Stratis the default size for the metadata volume (MDV) was 16MiB as you see above - this is no longer permitted by current xfsprogs and results in the error you report. Stratis was updated to use 512MiB as the initial MDV size in commit stratis-storage/stratisd@6bc8273 - included in stratisd-3.1 onwards. Looking at the Arch website it seems that they are currently shipping stratisd-2.4.4 which does not include this change. You would need to update to a more recent version of stratisd either by building from source or by filing a request to update the Arch packages. The current release of stratisd is 3.2.3 and this includes additional fixes and features compared to 3.1. The CLI tools are currently on version 3.2.0 and we would recommend updating to a newer CLI version when updating the daemon. |
Beta Was this translation helpful? Give feedback.
-
Link to the 2022-08-04 upstream change: https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=6e0ed3d19c54603f0f7d628ea04b550151d8a262 |
Beta Was this translation helpful? Give feedback.
-
Downstream ticket: https://bugs.archlinux.org/task/76080 |
Beta Was this translation helpful? Give feedback.
The XFS project has changed the minimum allowed size of an xfs file system in recent versions of the userspace tools. In older versions of Stratis the default size for the metadata volume (MDV) was 16MiB as you see above - this is no longer permitted by current xfsprogs and results in the error you report.
Stratis was updated to use 512MiB as the initial MDV size in commit stratis-storage/stratisd@6bc8273 - included in stratisd-3.1 onwards.
Looking at the Arch website it seems that they are currently shipping stratisd-2.4.4 which does not include this change.
You would need to update to a more recent version of stratisd either by building from source or by filing a request to update the A…