-
-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Description
As a foreword, thank you for adding support for ext(2/3/4) to OSv !
I was playing around following the documentation and I encountered the following error: failed to mount ext, error = Not supported
.
After turning on several debugging output, I realized that the metadata_checksum feature of ext4 seems to be unsupported by the library, as seen in the following:
OSv v0.57.0-509-gd85aa856
[ext4] libext loaded!
[ext4] [ext4] Trying to open device: [vblk1]
[ext4] Trying to mount ext4 on device: [vblk1] with size:134217728
[ext4] block_init done
[ext4] blockdev read 1024 bytes at offset 1024 to 0x50007f3f4000 with error:0
ext4_fs: l: 219 [info] sblock features_incompatible:
ext4_fs: l: 144 filetype
ext4_fs: l: 152 extents
ext4_fs: l: 154 64bit
ext4_fs: l: 158 flex_bg
ext4_fs: l: 164 meta_csum
ext4_fs: l: 222 [info] sblock features_compatible:
ext4_fs: l: 177 has_journal
ext4_fs: l: 179 ext_attr
ext4_fs: l: 181 resize_inode
ext4_fs: l: 183 dir_index
ext4_fs: l: 225 [info] sblock features_read_only:
ext4_fs: l: 189 sparse_super
ext4_fs: l: 191 large_file
ext4_fs: l: 195 huge_file
ext4_fs: l: 199 dir_nlink
ext4_fs: l: 201 extra_isize
ext4_fs: l: 207 metadata_csum
ext4_fs: l: 232 [error] sblock has unsupported features incompatible:
ext4_fs: l: 164 meta_csum
failed to mount ext, error = Not supported
... rest of the output ...
I worked around it by disabling it when creating the filesystem and took the liberty to propose a PR to add this to the doc: #1378
Metadata
Metadata
Assignees
Labels
No labels