LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2015, 06:36 AM   #1
dthims
Member
 
Registered: Mar 2003
Posts: 48

Rep: Reputation: 1
ext4 partition on nas drive keeps getting corrupt


it says: mounting fs with errors, running e2fsck is recommended

tried e2fsck -b /dev/xxx
4096, 8193, 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,102400000, 214990848

bad magic number in super-block while trying to open /dev/xxx

encrypted ext4 partition - gpt file system - raid 5 system

is this normal on ext4 partition, should i try zfs? am near capacity, is that a possibility? this is the 3rd time i got this and fsck fixed this in the past. tia
 
Old 07-12-2015, 09:44 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,691

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
What errors? Does your syslog say someting?
Try tune2fs -l /dev/xxx next time, just to see what's in that superblock. Apart from the magic number, do the other values make sense?

I don't think it's normal that the superblock is corrupted on any type of filesystem, even when getting full.
 
Old 07-12-2015, 10:29 AM   #3
dthims
Member
 
Registered: Mar 2003
Posts: 48

Original Poster
Rep: Reputation: 1
Couldn't find valid filesystem superblock when running tune2fs -l. syslog doesn't say anything and hasn't said anything other than to run the e2fsck. got the other values by googling.
 
Old 07-12-2015, 11:26 AM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,214
Blog Entries: 4

Rep: Reputation: 132Reputation: 132
Quote:
Originally Posted by dthims View Post
it says: mounting fs with errors, running e2fsck is recommended
When are you getting this? During bootup? Is it pointing to a certain partition?
 
Old 07-12-2015, 12:33 PM   #5
dthims
Member
 
Registered: Mar 2003
Posts: 48

Original Poster
Rep: Reputation: 1
during mounting
 
Old 07-12-2015, 01:21 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,493

Rep: Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096
Any hard shutdowns lately (brownouts, blackouts, etc)? You do properly shut down the nas every time you power it off, yes?
 
Old 07-12-2015, 01:46 PM   #7
dthims
Member
 
Registered: Mar 2003
Posts: 48

Original Poster
Rep: Reputation: 1
it never goes off, nothing like that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fsck.ext4 zero-filled Files on a lvm-partition because of dying drive DrBenzo Linux - Newbie 5 01-24-2014 07:44 AM
Corrupt Partition / MBR Virus / Windows deleted Linux partition? irish_confetti Linux - Laptop and Netbook 2 03-20-2013 11:51 PM
Is a virtual NAS practical/sensible way to access my Linux(ext4) partitions from Win7 drumlight Linux - Virtualization and Cloud 5 08-31-2012 03:20 PM
[SOS] a partition on backup drive can't be mounted , detected as ext4 gary4gar Linux - Newbie 9 10-20-2008 07:24 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM


All times are GMT -5. The time now is 07:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration