Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Replaced 500gb with 2TB drive and now seeing read-only fs errors

Featured Replies

I'm running 5rc16c and have recenetly (2 days ago) swapped out a working 500gb for a new 2TB drive.  I did not pre-clear the 2TB drive but instead just let the system build out the array onto it.  There wasn't much on the 500GB drive in the first place so just a bit was put on the 2TB drive but no errors came up.  I then ran a parity check which came up with 0 errors.  I added about 20GB onto it and everything looked fine.  I then started getting a filesystem input/output error which puts the fs into read only mode if I try to add any file.

 

1. Should I have pre-cleared the drive ahead of using it to replace the 500GB drive?  if so, what's my course of action now?

2. Should I run the reiserfs --check procedure on the drive first?

 

Thanks.

Post a SMART report and attach a syslog. zip if needed.

1. Should I have pre-cleared the drive ahead of using it to replace the 500GB drive? 

Probably... but cannot be sure until we see a SMART report for the new drive.  It is is showing any sectors pending re-allocation, or already re-allocated, the pre-clear wouold have found those BEFORE you trusted your data to it.  If not, then the re-construction probably encountered an error reading one of your other disks and your re-construction had a corrupted file-system.  (one which is now being detected as you attempt t write to the new disk)
if so, what's my course of action now?

2. Should I run the reiserfs --check procedure on the drive first?

That is exactly the correct course of action.    See "dgaschk's" signature line for how to perform the check. 

since you are on 5rc16 you can reboot and start the array with the disks un-mounted to make it easier to run reiserfsck --check on /dev/mdX

 

Joe L.

  • Author

The Smartctl report and syslog snippet below:

smartctl 5.40 2010-10-16 r3189 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

=== START OF INFORMATION SECTION ===

Device Model:    ST2000DL003-9VT166

Serial Number:    5YD5QLCB

Firmware Version: CC3C

User Capacity:    2,000,398,934,016 bytes

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:  8

ATA Standard is:  ATA-8-ACS revision 4

Local Time is:    Wed Jul 24 09:17:21 2013 PDT

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

 

General SMART Values:

Offline data collection status:  (0x82) Offline data collection activity

was completed without error.

Auto Offline Data Collection: Enabled.

Self-test execution status:      (  0) The previous self-test routine completed

without error or no self-test has ever

been run.

Total time to complete Offline

data collection: ( 612) seconds.

Offline data collection

capabilities: (0x7b) SMART execute Offline immediate.

Auto Offline data collection on/off support.

Suspend Offline collection upon new

command.

Offline surface scan supported.

Self-test supported.

Conveyance Self-test supported.

Selective Self-test supported.

SMART capabilities:            (0x0003) Saves SMART data before entering

power-saving mode.

Supports SMART auto save timer.

Error logging capability:        (0x01) Error logging supported.

General Purpose Logging supported.

Short self-test routine

recommended polling time: (  1) minutes.

Extended self-test routine

recommended polling time: ( 255) minutes.

Conveyance self-test routine

recommended polling time: (  2) minutes.

SCT capabilities:       (0x30b7) SCT Status supported.

SCT Feature Control supported.

SCT Data Table supported.

 

SMART Attributes Data Structure revision number: 10

Vendor Specific SMART Attributes with Thresholds:

ID# ATTRIBUTE_NAME          FLAG    VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE

  1 Raw_Read_Error_Rate    0x000f  109  100  006    Pre-fail  Always      -      24362832

  3 Spin_Up_Time            0x0003  091  090  000    Pre-fail  Always      -      0

  4 Start_Stop_Count        0x0032  100  100  020    Old_age  Always      -      28

  5 Reallocated_Sector_Ct  0x0033  100  100  036    Pre-fail  Always      -      0

  7 Seek_Error_Rate        0x000f  100  253  030    Pre-fail  Always      -      57346

  9 Power_On_Hours          0x0032  100  100  000    Old_age  Always      -      280

10 Spin_Retry_Count        0x0013  100  100  097    Pre-fail  Always      -      0

12 Power_Cycle_Count      0x0032  100  100  020    Old_age  Always      -      19

183 Runtime_Bad_Block      0x0032  097  097  000    Old_age  Always      -      3

184 End-to-End_Error        0x0032  100  100  099    Old_age  Always      -      0

187 Reported_Uncorrect      0x0032  100  100  000    Old_age  Always      -      0

188 Command_Timeout        0x0032  100  100  000    Old_age  Always      -      0

189 High_Fly_Writes        0x003a  100  100  000    Old_age  Always      -      0

190 Airflow_Temperature_Cel 0x0022  074  068  045    Old_age  Always      -      26 (Min/Max 22/32)

191 G-Sense_Error_Rate      0x0032  100  100  000    Old_age  Always      -      0

192 Power-Off_Retract_Count 0x0032  100  100  000    Old_age  Always      -      16

193 Load_Cycle_Count        0x0032  100  100  000    Old_age  Always      -      28

194 Temperature_Celsius    0x0022  026  040  000    Old_age  Always      -      26 (0 22 0 0)

195 Hardware_ECC_Recovered  0x001a  025  025  000    Old_age  Always      -      24362832

197 Current_Pending_Sector  0x0012  100  100  000    Old_age  Always      -      0

198 Offline_Uncorrectable  0x0010  100  100  000    Old_age  Offline      -      0

199 UDMA_CRC_Error_Count    0x003e  200  200  000    Old_age  Always      -      0

240 Head_Flying_Hours      0x0000  100  253  000    Old_age  Offline      -      124515396878347

241 Total_LBAs_Written      0x0000  100  253  000    Old_age  Offline      -      3833284355

242 Total_LBAs_Read        0x0000  100  253  000    Old_age  Offline      -      3819345973

 

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%      279        -

 

SMART Selective self-test log data structure revision number 1

SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS

    1        0        0  Not_testing

    2        0        0  Not_testing

    3        0        0  Not_testing

    4        0        0  Not_testing

    5        0        0  Not_testing

Selective self-test flags (0x0):

  After scanning selected spans, do NOT read-scan remainder of disk.

If Selective self-test is pending on power-up, resume after 0 minute delay.

 

 

 

syslog:

Jul 24 07:27:04 Terra emhttp_event: array_started

Jul 24 07:27:04 Terra emhttp: Mounting disks...

Jul 24 07:27:04 Terra emhttp: shcmd (173): mkdir /mnt/disk1

Jul 24 07:27:04 Terra emhttp: shcmd (174): set -o pipefail ; mount -t reiserfs -o user_xattr,acl,noatime,nodiratime /dev/md1 /mnt/disk1 |& logger

Jul 24 07:27:04 Terra kernel: REISERFS (device md1): found reiserfs format "3.6" with standard journal

Jul 24 07:27:04 Terra kernel: REISERFS (device md1): using ordered data mode

Jul 24 07:27:04 Terra kernel: reiserfs: using flush barriers

Jul 24 07:27:04 Terra kernel: REISERFS (device md1): journal params: device md1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30

Jul 24 07:27:04 Terra kernel: REISERFS (device md1): checking transaction log (md1)

Jul 24 07:27:04 Terra kernel: REISERFS (device md1): Using r5 hash to sort names

Jul 24 07:27:04 Terra emhttp: shcmd (175): chmod 777 '/mnt/disk1'

Jul 24 07:27:04 Terra emhttp: shcmd (176): chown nobody:users '/mnt/disk1'

Jul 24 07:27:04 Terra emhttp: shcmd (177): mkdir /mnt/disk2

Jul 24 07:27:04 Terra emhttp: shcmd (178): set -o pipefail ; mount -t reiserfs -o user_xattr,acl,noatime,nodiratime /dev/md2 /mnt/disk2 |& logger

Jul 24 07:27:04 Terra kernel: REISERFS (device md2): found reiserfs format "3.6" with standard journal

Jul 24 07:27:04 Terra kernel: REISERFS (device md2): using ordered data mode

Jul 24 07:27:04 Terra kernel: reiserfs: using flush barriers

Jul 24 07:27:04 Terra kernel: REISERFS (device md2): journal params: device md2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30

Jul 24 07:27:04 Terra kernel: REISERFS (device md2): checking transaction log (md2)

Jul 24 07:27:26 Terra kernel: REISERFS (device md2): replayed 51 transactions in 22 seconds

Jul 24 07:27:26 Terra kernel: REISERFS (device md2): Using r5 hash to sort names

Jul 24 07:27:26 Terra emhttp: shcmd (179): chmod 777 '/mnt/disk2'

Jul 24 07:27:26 Terra emhttp: shcmd (180): chown nobody:users '/mnt/disk2'

Jul 24 07:27:27 Terra emhttp: shcmd (181): mkdir /mnt/user

Jul 24 07:27:27 Terra emhttp: shcmd (182): /usr/local/sbin/shfs /mnt/user -disks 16777214 -o noatime,big_writes,allow_other -o remember=0  |& logger

Jul 24 07:27:27 Terra emhttp: shcmd (183): /usr/local/sbin/emhttp_event disks_mounted

Jul 24 07:27:27 Terra emhttp_event: disks_mounted

Jul 24 07:27:27 Terra pms: Starting Plex...

Jul 24 07:27:27 Terra pms: Plex Media Server is not enabled

Jul 24 07:27:34 Terra emhttp: shcmd (184): :>/etc/samba/smb-shares.conf

Jul 24 07:27:34 Terra emhttp: Restart SMB...

Jul 24 07:27:34 Terra emhttp: shcmd (185): killall -HUP smbd

Jul 24 07:27:34 Terra emhttp: shcmd (186): ps axc | grep -q rpc.mountd

Jul 24 07:27:34 Terra emhttp: _shcmd: shcmd (186): exit status: 1

Jul 24 07:27:34 Terra emhttp: shcmd (187): /usr/local/sbin/emhttp_event svcs_restarted

Jul 24 07:27:34 Terra emhttp_event: svcs_restarted

Jul 24 07:29:51 Terra shfs/user: shfs_write: write: (5) Input/output error

Jul 24 07:29:51 Terra kernel: REISERFS error (device md2): reiserfs-2025 reiserfs_cache_bitmap_metadata: bitmap block 36012032 is corrupted: first bit must be 1

Jul 24 07:29:51 Terra kernel: REISERFS (device md2): Remounting filesystem read-only

Jul 24 07:29:51 Terra kernel: REISERFS warning (device md2): clm-6006 reiserfs_dirty_inode: writing inode 21 on readonly FS

Jul 24 07:29:51 Terra shfs/user: shfs_utimens: utimes: /mnt/disk2/MCEMovies/New Rich Text Document.rtf (30) Read-only file system

 

The drive may have a power issue. Check the cables and connections. What is the total number of drives and the PSU model?

  • Author

550W and 5 drives total.  3 in the array.  I ran it this way for over 12 months.  I upgraded the 500gb WD drive in the array to a 2TB drive and left the 500GB drive out.  It went into the same bay in the Norco case using the same tray.  Any other thoughts?  just run the --check and see the outcome?

 

Thanks.

  • Author

Will open it up in a few hours when I get back to it physically and post the model number.  I can't remember at this point.

Thanks.

 

Popped the case open to see which one I ended up with originally.  Turns out I have a Cooler Master SilentPro 600W in there.  I also made sure all connectors are properly seated for power and sata.  (umbilical from the supermicro 8 port card)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.