snu-csl / nvmevirt

NVMeVirt: A Versatile Software-defined Virtual NVMe Device
Other
182 stars 54 forks source link

mount: /home/virgo/nvmevirt/test: wrong fs type, bad option, bad superblock on /dev/nvme1n1, missing codepage or helper program, or other error. #34

Closed Evanshenf closed 5 months ago

Evanshenf commented 7 months ago

JBD2: no valid journal superblock found [ 449.510702] EXT4-fs (nvme1n1): error loading journal

I am using Ubuntu 20.04 under VMware, with kernel version 5.15-0-58. After compiling with make, insmod has no problems. However, after executing mkfs.ext4 /dev/nvme1n1, I encounter this error when attempting to mount.

Then I uninstalled nvme again and ran modprobe nvme, and the following error occurred.

[ 726.076392] nvme nvme1: I/O 0 QID 0 timeout, disable controller [ 726.276816] nvme nvme1: Identify Controller failed (-4) [ 726.276822] nvme nvme1: Removing after probe failure status: -5

Evanshenf commented 7 months ago

But the write and read operations work normally with my custom-written nvme driver. DVZZ{F2}(GONY@QC5K`{4{L

jaehshim commented 6 months ago

In normal cases, mkfs.ext4 should work fine.

Could you add some more details about how you have encountered this error? Have you tried mkfs.ext4 right after insmod?