我正在 CloudStack 衍生产品上启动虚拟机。它fstab
看起来像这样
/dev/vdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2
Starting File System Check on /dev/vdb...
[ 4.626329] [drm] Initialized drm 1.1.0 20060810
[ 4.628322] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0
[ 4.648258] AES CTR mode by8 optimization enabled
[ 4.656565] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[ 4.662879] ppdev: user-space parallel port driver
[ 4.663720] alg: No test for crc32 (crc32-pclmul)
[ 4.836422] intel_rapl: no valid rapl domains found in package 0
systemd-fsck[564]: ephemeral0: clean, 11/52428800 files, 3340857/209715200 blocks
[[32m OK [0m] Started File System Check on /dev/vdb.
Mounting /mnt...
[ 4.998244] EXT4-fs (vdb): Unrecognized mount option "nobootwait" or missing value
[[1;31mFAILED[0m] Failed to mount /mnt.
See 'systemctl status mnt.mount' for details.
fstab
该支架的正确设置是什么?
答案1
看起来该选项不受支持。我只需将其删除并查看会发生什么,然后查看 cloudstack 衍生产品的 fstab(5) 文档。
答案2
我用 nofail 替换了 nobootwait。不是这是一个很好的解决方案,但它是目前我们唯一可用的解决方案。