Ubuntu

ZFS 磁碟上的“VFS:找不到 ext4 文件系統”

  • January 10, 2018

我在我的一個系統上收到了許多這樣的消息:

[  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。它工作正常,但我不明白這裡發生了什麼。

我怎樣才能解決這個問題?謝謝!

這些消息通常是通過mount在掛載時嘗試猜測文件系統類型來生成的。指定文件系統類型的-t選項是可選的,如果未指定,mount將嘗試自動確定類型。

在您的情況下,某些東西正在掛載或嘗試掛載vda9而不指定文件系統類型。當您使用 ZFS 並查看分區的大小和位置時,我猜vda9是 ZFS 在給定整個磁碟時自動創建的備用分區。我不確定為什麼有些東西試圖安裝它,但是您在上面粘貼的消息純粹是資訊性的,可以放心地忽略 - 如果您每天收到數百條消息並且它們堵塞了,我只會擔心你的日誌文件。

引用自:https://unix.stackexchange.com/questions/416037