ZFS 磁盘上“VFS:找不到 ext4 文件系统”

ZFS 磁盘上“VFS:找不到 ext4 文件系统”

我在我的某个系统上收到许多这样的消息:

[  348.515157] EXT4-fs (vda9): VFS: Can't find ext4 filesystem
[  348.517587] EXT4-fs (vda9): VFS: Can't find ext4 filesystem
[  348.519944] EXT4-fs (vda9): VFS: Can't find ext4 filesystem
[  348.522487] squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on vda9
[  348.524974] FAT-fs (vda9): bogus number of reserved sectors
[  348.525946] FAT-fs (vda9): Can't find a valid FAT filesystem
[  348.533493] XFS (vda9): Invalid superblock magic number
[  348.536738] FAT-fs (vda9): bogus number of reserved sectors
[  348.537781] FAT-fs (vda9): Can't find a valid FAT filesystem
[  348.543638] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device vda9.
[  348.546068] hfsplus: unable to find HFS+ superblock
[  348.547531] qnx4: no qnx4 filesystem (no root dir).
[  348.549902] ufs: You didn't specify the type of your ufs filesystem

               mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...

               >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
[  348.557643] ufs: ufs_fill_super(): bad magic number
[  348.561613] hfs: can't find a HFS filesystem on dev vda9

磁盘看起来像这样:

Model: Virtio Block Device (virtblk)
Disk /dev/vda: 6001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  6001GB  6001GB  zfs          zfs-5514fd574fd36816
 9      6001GB  6001GB  8389kB

它是 KVM/Qemu 系统 (Proxmox) 上带有 VirtIO 磁盘的 Ubuntu-VM。它工作正常,但我不明白这里发生了什么。

我怎样才能解决这个问题?谢谢你!

答案1

这些消息通常是通过mount在安装时尝试猜测文件系统类型来生成的。指定文件系统类型的选项-t是可选的,如果未指定,mount将尝试自动确定类型。

在您的情况下,某些内容正在挂载或尝试挂载vda9而不指定文件系统类型。当您使用 ZFS 并查看分区的大小和位置时,我猜测vda9是 ZFS 在给定整个磁盘时自动创建的备用分区。我不确定为什么有些东西试图安装它,但是您上面粘贴的消息纯粹是信息性的,可以安全地忽略 - 如果您每天收到数百条消息并且它们被堵塞,我只会担心你的日志文件。

相关内容