LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-28-2018, 10:40 PM   #1
kris240376
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Unable to mount ext4 filesystem with 4.4.144


Hi,

I've been a bit busy and just recently found time to update my NAS server to kernel 4.4.144. After performing the install I've been unable to mount a largish ext4 filesystem.

Distro: Slackware 64 14.2
File system: ext4 (MD RAID + LUKS + LVM)
File system size: 37TB

Whenever I try to mount the filesystem I get a "Structure needs cleaning" error message. I've run 'fsck.ext4 -vccf' and 'e2fsck -vccf' to no avail. Every time fsck is run it reports that the last block of the filesystem is bad and that it has updated the filesystem.

Strangely, dumpe2fs reports that the file system is clean. Mounting the filesystem as read-only and verifying the SHA hashes on my files shows that the data is still there and good.

Unable to find the previous patched kernel, I went ahead and installed the kernel that originally came with Slackware 14.2 (4.4.14). Booting 4.4.14 kernel I am able to mount the file system without issue.

Has anyone else seen this issue? Does anyone have any ideas as to what can be done next?

Thanks in advance,
 
Old 08-29-2018, 01:37 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I know it isn't necessarily the "fix" you were looking for, but Pat has updated the kernel to 4.4.153, and that might fix your problem (even if it isn't specified directly).

Code:
Tue Aug 28 22:05:19 UTC 2018
patches/packages/linux-4.4.153/*: Upgraded.
       This kernel update enables mitigations for L1 Terminal Fault aka
       Foreshadow and Foreshadow-NG vulnerabilities.
       Thanks to Bernhard Kaindl for bisecting the boot issue that was preventing
       us from upgrading to earlier 4.4.x kernels that contained this fix.
       To see the status of CPU vulnerability mitigations on your system, look at
       the files in: /sys/devices/system/cpu/vulnerabilities
       Be sure to upgrade your initrd after upgrading the kernel packages.
       If you use lilo to boot your machine, be sure lilo.conf points to the correct
       kernel and initrd and run lilo as root to update the bootloader.
       If you use elilo to boot your machine, you should run eliloconfig to copy the
       kernel and initrd to the EFI System Partition.
       For more information, see:
       https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3615
       https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3620
       https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3546
       (* Security fix *)
 
2 members found this post helpful.
Old 08-29-2018, 04:29 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by kris240376 View Post
Hi,

I've been a bit busy and just recently found time to update my NAS server to kernel 4.4.144. After performing the install I've been unable to mount a largish ext4 filesystem.

Distro: Slackware 64 14.2
File system: ext4 (MD RAID + LUKS + LVM)
File system size: 37TB

Whenever I try to mount the filesystem I get a "Structure needs cleaning" error message. I've run 'fsck.ext4 -vccf' and 'e2fsck -vccf' to no avail. Every time fsck is run it reports that the last block of the filesystem is bad and that it has updated the filesystem.

Strangely, dumpe2fs reports that the file system is clean. Mounting the filesystem as read-only and verifying the SHA hashes on my files shows that the data is still there and good.

Unable to find the previous patched kernel, I went ahead and installed the kernel that originally came with Slackware 14.2 (4.4.14). Booting 4.4.14 kernel I am able to mount the file system without issue.

Has anyone else seen this issue? Does anyone have any ideas as to what can be done next?

Thanks in advance,
I had a very similar problem, only fsck would report that everything was just fine.

I ended up creating a new logical volume and used testdisk from slackbuilds to copy the files over. The filesystem was exposed as a samba share, which I suspect had something to do with it. (However, suspicion isn't proof.)
 
Old 08-29-2018, 07:38 AM   #4
kris240376
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bassmadrigal View Post
I know it isn't necessarily the "fix" you were looking for, but Pat has updated the kernel to 4.4.153, and that might fix your problem (even if it isn't specified directly).
Thanks for the heads up, I'll give this a try.

Quote:
Originally Posted by Richard Cranium View Post
I had a very similar problem, only fsck would report that everything was just fine.

I ended up creating a new logical volume and used testdisk from slackbuilds to copy the files over. The filesystem was exposed as a samba share, which I suspect had something to do with it. (However, suspicion isn't proof.)
As another data point, if it helps, my volume wasn't exposed as a SAMBA share.

The last block error seems to be caused by running the badblocks command 'fsck.ext4 -c'. Running 'fsck.ext4 -vf' reports a clean filesystem. The error message I get when running badblocks can be seen here StackExchange. Since my filesystem is running on top of LVM I'm assuming I'm seeing the same error message.

Thanks for your help.
 
Old 08-29-2018, 11:25 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Tonight, I'll take the old logical volume and see if I can mount it.
 
Old 08-30-2018, 09:41 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well, work ate more time than I had thought it would. I got around to the experiment tonight, and the old logical volume mounted without a squeak with the new kernel.

¯\_(ツ)_/¯
 
Old 10-04-2018, 09:37 AM   #7
kris240376
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Going to respond as well. Upgrading to the latest kernel actually solved my problem as well. I'm going to mark this issue as solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount secondary ext3 drive from ext4 filesystem calivw78 Linux - General 2 06-05-2015 01:55 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Linux - Distributions 3 02-06-2010 08:19 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Fedora 1 02-05-2010 03:10 PM
Unable to mount FAT Filesystem Sader Linux - General 2 03-01-2006 07:46 AM
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration