cant mount filesystem

161 views
Skip to first unread message

Shawn Humphrey

unread,
Nov 12, 2012, 8:27:20 PM11/12/12
to al...@googlegroups.com
Hey

So i just installed your firmware so that i could finally enable NFS.
So since i have installed it my main partition md0\volume_1 has been read only and marked as dirty.
I have tried selecting check on the file system but it seems to be not working. i selected check and let it sit overnight. I tried to mount the next morning but it still says its dirty.
Can i override this somehow and force it to mount?

Thanks,

kewlmonk

unread,
Nov 12, 2012, 11:56:52 PM11/12/12
to al...@googlegroups.com
also when i run the check it gets to about 8% then the section where it shows the status % disappear from he status page

Joao Cardoso

unread,
Nov 13, 2012, 12:50:57 PM11/13/12
to al...@googlegroups.com
Please see https://groups.google.com/d/topic/alt-f/xKHPoavkH6Y/discussion an report your setup according.

kewlmonk

unread,
Nov 14, 2012, 11:39:38 PM11/14/12
to al...@googlegroups.com
Here is my system log during the check

my setup is 2 1.5tb drives originally on the dlink firmware everything was under \\ip\volume_1

Joao Cardoso

unread,
Nov 15, 2012, 9:59:03 AM11/15/12
to al...@googlegroups.com


On Thursday, November 15, 2012 4:39:38 AM UTC, kewlmonk wrote:
Here is my system log during the check


-You are using Alt-F in "reloaded"/"run on top" mode:  Kernel command line: console=ttyS0,115200 ip=192.168.1.49::192.168.1.1:255.255.255.0:NAS.workgroup:eth0:none

No problem with that, but remember that when/if you use the DLink firmware filesystems are not correctly umnounted at power-down/reboot, so Alt-F will always do a fsck at start.

-It seems that you have not the date/time set correctly: Finish fscking sda4: fsck 1.41.14 (22-Dec-2010) /dev/sda4: Superblock last mount time is in the future. (by less than a day, probably due to the hardware clock being incorrectly set)
This also happens for other filesystems.
Have you correctly setup the date/time and timezone? Is it the same under the DLink firmware and Alt-F? As you are using the "reloaded" mode, filesystems are first used by the DLink firmware, and then by Alt-F -- if the date/time/timezone are different between the two this will explain this warning message.

-There is a hardware problem with your ata1/sda drive (WDC WD15EADS-00P8B0, 01.00A01), probably your right disk:

15:51:35 ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x6

followed by several other errors. This lasts for about 45 seconds, with 12 attempts to recover.

15:52:16 NAS user.err kernel: end_request: I/O error, dev sda, sector 515370159
15:52:16 NAS user.err kernel: Buffer I/O error on device md0, logical block 64160213

I urge you to check the drive. Then, as there is a hardware problem, fscking md0 fails:

15:52:17 NAS user.notice hot: Finish fscking md0: fsck 1.41.14 (22-Dec-2010) /dev/md0: (...) /dev/md0 contains a file system with er

unfortunately the system log truncates the error message, as it is too big (because of the date in the future warning), but the filesystem was not fixed, and should be mounted read-only(showing a RO in red in the status page Mounted Filesystems Mode column)

If there were no hardware errors, I would advise you to run fsck in "force fix" mode (there are several topics that cover this), but as there are hardware errors you have to be sure that the drive is OK, or replace it.
You can perform a SMART test on the drive (Disk->Utilities->Health, do a short or a long test), then when it finish post the results, if you can't understand the output (Disk->Utilities->Health "Show Status").
How does the drive Health appears in the Status Page?

kewlmonk

unread,
Nov 16, 2012, 6:35:21 PM11/16/12
to al...@googlegroups.com
Hey,
I fixed the time, thanks
I googled fsck force fix and i found this page

Everytime i try one of those it says Warning disk is mounted this will cause severe damage so i cancel it.
I unmounted dev/md0 and im running fsck -y now 
On the status page both drives show as healthy

Thanks again for your assistance !

Here is my left drive : smart log
smartctl 5.42 2011-10-20 r3458 [armv5tel-linux-2.6.35.14] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD15EADS-00P8B0
Serial Number:    WD-WMAVU0447294
LU WWN Device Id: 5 0014ee 0ac4ed487
Firmware Version: 01.00A01
User Capacity:    1,500,301,910,016 bytes [1.50 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Fri Nov 16 18:17:30 2012 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       7269
  3 Spin_Up_Time            0x0027   206   182   021    Pre-fail  Always       -       4675
  4 Start_Stop_Count        0x0032   090   090   000    Old_age   Always       -       10022
  5 Reallocated_Sector_Ct   0x0033   160   160   140    Pre-fail  Always       -       315
  7 Seek_Error_Rate         0x002e   200   192   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   068   068   000    Old_age   Always       -       23977
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       48
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       23
193 Load_Cycle_Count        0x0032   160   160   000    Old_age   Always       -       122353
194 Temperature_Celsius     0x0022   114   106   000    Old_age   Always       -       36
196 Reallocated_Event_Count 0x0032   146   146   000    Old_age   Always       -       54
197 Current_Pending_Sector  0x0032   198   198   000    Old_age   Always       -       633
198 Offline_Uncorrectable   0x0030   198   198   000    Old_age   Offline      -       607
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   197   197   000    Old_age   Offline      -       678

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     23977         23518911
# 2  Short offline       Interrupted (host reset)      90%     23976         -
# 3  Short offline       Aborted by host               10%     23976         -
# 4  Extended offline    Aborted by host               90%     23976         -
# 5  Short offline       Completed: read failure       90%     23888         23518911


And the left one:

smartctl 5.42 2011-10-20 r3458 [armv5tel-linux-2.6.35.14] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (Adv. Format)
Device Model:     WDC WD15EARS-00Z5B1
Serial Number:    WD-WMAVU3285448
LU WWN Device Id: 5 0014ee 60019fdfa
Firmware Version: 80.00A80
User Capacity:    1,500,301,910,016 bytes [1.50 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Fri Nov 16 18:03:09 2012 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   183   181   021    Pre-fail  Always       -       5825
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4834
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   076   076   000    Old_age   Always       -       17668
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       35
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       20
193 Load_Cycle_Count        0x0032   172   172   000    Old_age   Always       -       84366
194 Temperature_Celsius     0x0022   118   106   000    Old_age   Always       -       32
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     17668         -
# 2  Short offline       Completed without error       00%     17574         -
On Monday, November 12, 2012 8:27:20 PM UTC-5, kewlmonk wrote:

Joao Cardoso

unread,
Nov 16, 2012, 9:16:51 PM11/16/12
to al...@googlegroups.com


On Friday, November 16, 2012 11:35:21 PM UTC, kewlmonk wrote:
Hey,
I fixed the time, thanks
I googled fsck force fix and i found this page

Everytime i try one of those it says Warning disk is mounted this will cause severe damage so i cancel it.
I unmounted dev/md0 and im running fsck -y now 

You are doing it right.

But I would keep an eye on your right drive (I think you mixed them).

For the system log that you posted earlier, there was a drive error, and the SMART test confirms it:

# 1  Short offline       Completed: read failure       90%     23977         23518911

At about 12GB from the disk beginning the data can't be read, and I can foresee problems in the near future.

Drives can cope with errors, reallocating bad sectors, but also according to the SMART test:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 160 160 140 Pre-fail Always - 315

the drive is already using a lot of reallocation sectors, and it will fail sooner or later.

Luckily you are using RAID, so your data is relatively "safe" (RAID does not means safe or backup, it means availability) but I advise you to start looking on how to replace the drive.

You can also schedule short and long RAID tests, use Services->System->smart->Configure, then start the service and watch for errors; there are other SMART tests that you can run, but are out of scope.
You might also want to monitor your RAID device, use Services->System->mdadm->Configure

 
On the status page both drives show as healthy 

Not for long; they will eventually go to "passed" in blue then "fail" in red.

Some say that SMART is non deterministic, but that it give you an early warning of possible problems, it does -- either a day, weeks or months, one doesn't know that.
I have a disk that in the past had a problem, it appears as "passed" in blue, and it is working fine for two years since then.

Luck,
Joao

kewlmonk

unread,
Nov 18, 2012, 7:44:47 PM11/18/12
to
I think the fsck worked, its showing as mounted now but i cant access it all from my laptop

those are some screen shots of my samba settings and the mount/directory

Also when i try to go to advanced in samba settings it says:
Samba is configured to deny access from this client 
Check your "hosts allow" and "hosts deny" options in smb.conf


On Monday, November 12, 2012 8:27:20 PM UTC-5, kewlmonk wrote:
Reply all
Reply to author
Forward
0 new messages