[kernel ext4] Short read : compiled with a 32 bit address ?

Problems with packages? Post here, using [tags] of the package name.

[kernel ext4] Short read : compiled with a 32 bit address ?

Postby Sergeanter » Sun Dec 25, 2016 9:02 am

Since November I get an un-correctable error during fsck on a large ext4 file system placed on RAID5.
A 4 bay eSATA enclosure is hooked up to PogoPlug V4. Drives are WD Red 3TBx4.
Ext4 is set up with chunk size 256KB, stride 64 and stripe 192.
All drives pass extended SMART test , badblocks and WD read-write diagnostic test. RAID5 passes scrubbing with no problem.

Now, this very filesystem passes fsck under ArchLinux on PC without an issue!
BUMP. WOULD ANYBODY LOOK AT THIS? THIS IS A BUG BASED ON ALL I CAN SEE

However, under ARM Arch Linux I consistently get the error below. It seems that there is a kernel problem or a problem with mdadm package. Please let me know if I can help to collect logs to debug this.
Kernel : 4.9.0-1-ARCH
mdadm: 3.4-1

$this->bbcode_second_pass_code('', 'e2fsck -v -n /dev/md0
e2fsck 1.43.3 (04-Sep-2016)
/dev/md0 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error reading block 2147483680 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? no

Error while scanning inodes (268435456): Can't read next inode
')
Last edited by Sergeanter on Sat Jan 14, 2017 12:36 am, edited 4 times in total.
Sergeanter
 
Posts: 82
Joined: Wed Oct 02, 2013 5:14 am

Re: Short read : kernel ext4 or mdadm problem? Not sure

Postby Sergeanter » Tue Dec 27, 2016 4:11 pm

Since the block address is practically 2^31 , I can imagine something got compiled with a 32 bit address instead of 64.
It's not an e2fsprogs issue.
I have rolled it back to e2fsprogs-1.42.13-1 and fsck still fails.

$this->bbcode_second_pass_code('', '
/* data type for filesystem-wide blocks number */
typedef unsigned long long ext4_fsblk_t;

/* data type for file logical block number */
typedef __u32 ext4_lblk_t;

')
Sergeanter
 
Posts: 82
Joined: Wed Oct 02, 2013 5:14 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests