[haiku-bugs] Re: [Haiku] #16516: Error when mounting ext4 partition

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 10 Sep 2020 19:05:53 -0000

#16516: Error when mounting ext4 partition
--------------------------------+-------------------------
  Reporter:  mayk77             |      Owner:  nobody
      Type:  bug                |     Status:  new
  Priority:  normal             |  Milestone:  Unscheduled
 Component:  File Systems/ext2  |    Version:  R1/beta2
Resolution:                     |   Keywords:
Blocked By:                     |   Blocking:
  Platform:  All                |
--------------------------------+-------------------------
Description changed by mayk77:

Old description:

When I try to mount ext4 partition the 'Bad data' error window appears.
The command ''tail -F /var/log/syslog'' in Terminal shows at the time:

{{{
KERN: ahci: sg_memcpy phyAddr 0x1c21074c, size 8
KERN: ext2: Inode::UpdateNodeFromDisk(1057): verification failed
KERN: ext2: get_vnode: InitCheck() failed. Error: Bad data
KERN: ext2: could not create root node: get_vnode() failed!
KERN: ext2: Failed mounting the volume. Error: Bad data
}}}

Revision 54549 (the same was in R1/beta2).

New description:

 When I try to mount ext4 partition the 'Bad data' error window appears.
 The command ''tail -F /var/log/syslog'' in Terminal shows at the time:

 {{{
 KERN: ahci: sg_memcpy phyAddr 0x1c21074c, size 8
 KERN: ext2: Inode::UpdateNodeFromDisk(1057): verification failed
 KERN: ext2: get_vnode: InitCheck() failed. Error: Bad data
 KERN: ext2: could not create root node: get_vnode() failed!
 KERN: ext2: Failed mounting the volume. Error: Bad data
 }}}

 Revision 54549 (there was the same in R1/beta2).

 Info about ext4 partition fetched with tune2fs -l:

 {{{
 Filesystem volume name:   LINUX_HOME
 Last mounted on:          /home
 Filesystem UUID:          bd638427-aac3-431a-b2c6-49f75550e4a7
 Filesystem magic number:  0xEF53
 Filesystem revision #:    1 (dynamic)
 Filesystem features:      has_journal ext_attr resize_inode dir_index
 filetype needs_recovery 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:              4849664
 Block count:              19373056
 Reserved block count:     968650
 Free blocks:              2341500
 Free inodes:              4615757
 First block:              0
 Block size:               4096
 Fragment size:            4096
 Reserved GDT blocks:      1019
 Blocks per group:         32768
 Fragments per group:      32768
 Inodes per group:         8192
 Inode blocks per group:   512
 Flex block group size:    16
 Filesystem created:       Sat Mar 16 18:22:32 2019
 Last mount time:          Thu Sep 10 18:06:58 2020
 Last write time:          Thu Sep 10 18:06:58 2020
 Mount count:              44
 Maximum mount count:      -1
 Last checked:             Mon Jul 27 23:45:41 2020
 Check interval:           0 (<none>)
 Lifetime writes:          1554 GB
 Reserved blocks uid:      0 (user root)
 Reserved blocks gid:      0 (group root)
 First inode:              11
 Inode size:               256
 Required extra isize:     32
 Desired extra isize:      32
 Journal inode:            8
 First orphan inode:       132085
 Default directory hash:   half_md4
 Directory Hash Seed:      10f5d552-2c68-41e3-9f4a-90b4d987be5f
 Journal backup:           inode blocks
 Checksum type:            crc32c
 Checksum:                 0x44b8aeeb
 }}}

--
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16516#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: