Azure WALinuxAgent mkfs.btrfs -F error
This document (000021493) is provided subject to the disclaimer at the end of this document.
Environment
Situation
python3[5902]: ... WARNING Daemon Daemon Failed to mount resource disk. Attempting to format and retry mount. [mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.] python3[5902]: ... ERROR Daemon Daemon Command: [mkfs.btrfs -F /dev/sdb1], return code: [127], result: [/bin/sh: mkfs.btrfs: command not found] python3[5902]: ... ERROR Daemon Daemon Command: [mount -t btrfs -o compress=lzo /dev/sdb1 /mnt], return code: [32], result: [mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.] python3[5902]: ... ERROR Daemon Daemon Failed to mount resource disk [ResourceDiskError] Could not mount /dev/sdb1 after syncing partition table: [32] mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error. python3[5902]: ... ERROR Daemon Daemon Event: name=WALinuxAgent, op=ActivateResourceDisk, message=[ResourceDiskError] Could not mount /dev/sdb1 after syncing partition table: [32] mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.The format and failure of the BTRFS resource disk prevented the WALinuxAgent from starting.
Resolution
ResourceDisk.Filesystem=ext4 compress=Upon restarting the agent it should now be able to create its resource disk.
Cause
https://github.com/Azure/WALinuxAgent/issues/2849
Status
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021493
- Creation Date: 12-Jul-2024
- Modified Date:16-Jul-2024
-
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com