Opened 4 years ago

Closed 3 years ago

#15453 closed bug (fixed)

ext2 can't mount partitions containing files with Japanese characters in their names

Reported by: KapiX Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/ext2 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have copied a few files with Japanese names to ext4 partition that worked fine before. Now even after removing them I get "Bad data" while trying to mount the volume.

I don't think the partition itself has any issues, because Linux doesn't complain about anything.

Change History (6)

comment:1 by korli, 4 years ago

Nothing in syslog?

comment:2 by KapiX, 4 years ago

KERN: [34mext2:[0m Inode::UpdateNodeFromDisk(1174): verification failed
KERN: [34mext2:[0m get_vnode: InitCheck() failed. Error: Bad data
KERN: [34mext2:[0m could not create root node: get_vnode() failed!
KERN: [34mext2:[0m Failed mounting the volume. Error: Bad data

comment:3 by korli, 4 years ago

Checksum verification indeed failed for this inode. Please post the output of "tune2fs -l /dev/... " with cmd:tune2fs installed.

comment:4 by KapiX, 4 years ago

tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   Pliki
Last mounted on:          /mnt/Pliki
Filesystem UUID:          d73d6e6c-0276-4675-af31-28c4cb1a300b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              61054976
Block count:              244190208
Reserved block count:     12209510
Free blocks:              130844966
Free inodes:              59799580
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Mon Oct 15 01:11:06 2018
Last mount time:          Sun Oct 27 19:20:54 2019
Last write time:          Sun Oct 27 20:14:38 2019
Mount count:              823
Maximum mount count:      -1
Last checked:             Sat Dec 29 06:14:17 2018
Check interval:           0 (<none>)
Lifetime writes:          2064 GB
Reserved blocks uid:      0 (user user)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      b96fc64c-2985-4e11-8e25-c24c2330b16f
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0xf3f7b103

comment:6 by korli, 3 years ago

Resolution: fixed
Status: newclosed

Applied in hrev55196

Note: See TracTickets for help on using tickets.