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.

[solved] replace parity with larger drive

Featured Replies

I want to replace my parity drive with a new 3TB drive I just ordered and run the preclear 3 times is this correct?  Its a Seagate Barracuda 7200.14 ST3000DM001

 

I should

stop the array

power it down

install the drive

power it up

start the array then

 

preclear_disk.sh -A -c 3 /dev/xxx

 

Is this correct, sorry I don't do this much and want to make sure I do it correctly.  Also any idea how long it will take to preclear it 3 times, (a week)?

 

Than I should

stop the array

power it down

replace the parity drive with the one I just cleared

power it up

and hit start

 

Correct?

 

thanks

 

 

 

Doesn't your Norco have hot-swap drive bays?

 

If so, you only need to

stop the array

power it down

install the drive

power it up

start the array then

login

cd /boot

preclear_disk.sh -A -c 3 /dev/xxx  (If the Default partition format in the unRAID Disk Settings page is set to "4K-aligned", the '-A' is unnecessary)

 

Then you should

stop the array

power it down

replace the parity drive with the one I just cleared

Reassign the new drive as the parity drive

Remove (or reassign) the old parity drive

power it up

and hit start

 

Rebuild parity

  • Author

Doesn't your Norco have hot-swap drive bays?

 

yes, I think it does but I'm always affraid of doingthat for some reason so I prefer to shut it down maybe I will try what you suggest this time.

 

This is only for the 4224 case and not the 4220 case correct.

Norco hotswap controller causes drive death

http://lime-technology.com/forum/index.php?topic=23525.0

 

Thanks

It is all a question of personal preference for hot swap vs cold swap. there is no right or wrong... (unless you see that bad blue smoke)

I have the iStarUSA trayless hotswap cages, and managing the server has never been so easy.  I frequently test disks on the server even if they're from other machines.  I even have a trayless e-SATA docking station which I can use as a 16th bay.

Your steps are what I did, but I did a parity check also, just before replacing the parity drive...

Your steps are what I did, but I did a parity check also, just before replacing the parity drive...

 

Concur with this extra step.  Making double-sure that parity check (not repair) comes back with ZERO errors.... before rebuilding parity on a bigger drive. 

 

I've chosen to do this extra step, even when NOT rebuilding the parity drive -- but replacing/upgrading ANY drive.

  • Author

So I was running a pre clear though telnet and I lost power last night.  The server stayed up since I have a UPS on that but the computer that I logged into to telnet shut down.  Guess I have to start over.  I haven't lost power in at least 6 months so of course it has to happen now.

So I was running a pre clear though telnet and I lost power last night.  The server stayed up since I have a UPS on that but the computer that I logged into to telnet shut down.  Guess I have to start over.  I haven't lost power in at least 6 months so of course it has to happen now.

Screen command is your friend.
  • Author

does screen work with terminal from a Mac

  • Author

yup it's compatible thanks.  However I already started preclearing the drive again though a telnet session.  Guess there is no way to transfer it over to screen.

Screen is handy, but I'm so glad I got an IPMI enabled motherboard for my Unraid box as it allows you to connect directly to the console from anywhere.  My Unraid box has never had a keyboard, mouse or monitor connected to it at any point in its life.

  • Author

Yeah I have an ipmi motherboard also but don't know how to use it. I should look into it

Yeah I have an ipmi motherboard also but don't know how to use it. I should look into it

 

Just FYI, this should work for you : ftp://ftp.supermicro.com/utility/IPMIView/ (I seem to remember it wasn't obvious to find when I originally looked).

  • Author

Yeah I have an ipmi motherboard also but don't know how to use it. I should look into it

 

Just FYI, this should work for you : ftp://ftp.supermicro.com/utility/IPMIView/ (I seem to remember it wasn't obvious to find when I originally looked).

 

So to use screen I just type in telnet like I usually would then cd /boot, screen, then I hit space bar correct?

 

The link to IPMIVIEW is asking for a password

The link to IPMIVIEW is asking for a password

Doesn't for me.  I get the FTP directory listing.  You might try again as they also have the PDF manual in the same directory.  It will explain how to use IPMIView.  Once you try IPMI you won't want a remote server without it!

SuperMicroFTPDir.png.d8c2d6ece98bb17ff741721202ac6c96.png

  • Author

Just replaced my parity drive with a larger one, I need to hit "Sync" to start the parity sync correct?

Just replaced my parity drive with a larger one, I need to hit "Sync" to start the parity sync correct?

yes.

Then, once the initial calculations are written to the parity drive you must then perform a manual parity check to ensure what you've written can be read.  Finally, you must look at the SMART report for that drive to see if any sectors are pending re-allocation because they cannot be read.

 

Joe L.

  • Author

Just replaced my parity drive with a larger one, I need to hit "Sync" to start the parity sync correct?

yes.

Then, once the initial calculations are written to the parity drive you must then perform a manual parity check to ensure what you've written can be read.  Finally, you must look at the SMART report for that drive to see if any sectors are pending re-allocation because they cannot be read.

 

Joe L.

So I ran the manual parity check and no errors were found so that good.  Here is m smart report, looks OK to me what do you think?

 

Statistics for /dev/sdi ST3000DM001-1CH166_W1F1N8ZG
smartctl -a -d ata /dev/sdi
smartctl 5.40 2010-10-16 r3189 [i486-slackware-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     ST3000DM001-1CH166
Serial Number:    W1F1N8ZG
Firmware Version: CC24
User Capacity:    3,000,592,982,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:    Tue Dec  4 21:09:24 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

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
				was never started.
				Auto Offline Data Collection: Disabled.
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: 		 (  97) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
				Auto Offline data collection on/off support.
				Suspend Offline collection upon new
				command.
				No 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: 	       (0x3085)	SCT Status 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   115   100   006    Pre-fail  Always       -       89306608
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       5
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -       979917
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       93
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
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   088   088   000    Old_age   Always       -       12
190 Airflow_Temperature_Cel 0x0022   074   068   045    Old_age   Always       -       26 (Min/Max 20/30)
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       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       18
194 Temperature_Celsius     0x0022   026   040   000    Old_age   Always       -       26 (0 19 0 0)
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      -       112936165048404
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       23443981768
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       52198843707

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%        93         -
# 2  Short offline       Completed without error       00%        93         -

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.

Here is my smart report, looks OK to me what do you think?

looks good to me too.
  • Author

I just assigned my old 2TB parity drive to be a data drive, how long till unraid comes back up?  I didn't think I had to preclear it but unraid  says it's clearing it.

I am going through the same process and also curious about this.  When swapping out a 2TB parity drive for a 3TB drive, will it save downtime to preclear the 2TB drive again before adding it back to the array as a data disk?

 

Can the old 2TB drive remain connected to the same SATA slot if I just choose the newly installed 3TB drive as parity after stopping the array, or does it need to be physically removed and replaced with the 3TB drive?

I am going through the same process and also curious about this.  When swapping out a 2TB parity drive for a 3TB drive, will it save downtime to preclear the 2TB drive again before adding it back to the array as a data disk?

No, and yes. The preclear process will take the same time or much longer than the clearing process that the array automatically performs if it doesn't find a valid preclear signature on the disk, but the array is offline during the stock clear, and preclear can be run without taking the array offline.
Can the old 2TB drive remain connected to the same SATA slot if I just choose the newly installed 3TB drive as parity after stopping the array?
Yes, SATA ports or hotswap bays do not in any way correspond to array slot assignments.

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.