Second Hand Disk SMART stats

OP
BennyBoy

BennyBoy

Member
Ok! All Done!
The programmes have have been copied across. On SMART Data after all that the "Reallocated_Sector_Ct" has not budged (yet!) and is still at "8".

Code:
cd /tmp
nohup time cp -pR "/media/drive2/<Whatever Source>" "/media/My Video/<Whatever Destination>" &
It was handy as this also copied across all the Sweeper, Auto-shrink and AdDetect flag files too.
Roughly copied about 1 Gigabyte/min using a USB HDD caddy (you can work out the times given the folder sizes roughly how long it'd take).

Thank MartinLiddle for the info on your HDD. I'm guessing I'll be fine.
 
Last edited:

MartinLiddle

Super Moderator
Staff member
To be honest I was not sure. I imagined it would go up, and was not sure how bad that would be.
A few reallocated sectors is not a problem; on a 1TB drive I would say that you might start to worry when it is approaching 1000 reallocated sectors. Our original 1TB drive started to reallocate sectors at a slowly increasing rate after a couple of years. It was still usable after a year but the rate was increasing such that you would get a blip on playback several times an hour which began to get irritating and it was replaced when the count of reallocated sectors reached about 1400. Of course it is a bit of a lottery as if the marginal sectors are recorded data then losing a sector of data is not critical; however if they store file system information it is much more likely to cause problems requiring fix-disk.
 
OP
BennyBoy

BennyBoy

Member
Ok.... I've gone and done it again. With all the talk about 2TB upgrading, I saw another bargain I could not resist for a 2nd hand 2TB drive. So I took a punt and got it for £35.
It arrived yesterday. Plugged it into the USB caddy and to the hummy. Unlike the 1TB drive I got recently, much lower "Power on hours" figure (approx 52 days on) and zero "Reallocated sectors" and "High fly writes". Summarized SMART data below:

Code:
humax# smartctl -a /dev/sdb
...
=== START OF INFORMATION SECTION ===
Model Family:     Seagate Video 3.5 HDD
Device Model:     ST2000VM003-1ET164
...
Firmware Version: SC12
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5900 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Nov  1 14:41:48 2017 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
...
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   105   100   006    Pre-fail  Always       -       10319696
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       101
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   060   060   030    Pre-fail  Always       -       1309997
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       1246
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       22
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   073   049   045    Old_age   Always       -       27 (Min/Max 23/27)
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       -       20
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       101
194 Temperature_Celsius     0x0022   027   051   000    Old_age   Always       -       27 (0 16 0 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

Next stop..... Following the 2TB Wiki again and migrating all the video data across from the 1TB drive.
Should take about 7 hours for the whole job (i.e. swapping drive out and doing the file copying at CLI using the OS, reloading all the extra present WebIf packages).
 
OP
BennyBoy

BennyBoy

Member
All done. The difference this time was that the new drive was prepared by using it in the USB caddy.
(Had to watch very carefully not to confuse /dev/sda with /dev/sdb! Once false move and all recorded media would have been wiped!)

When the drives were switched over then it was a case of reloading all the packages in Webif and then copying across the video files (preserving date stamps).
Was kind of surprised to see the High Fly writes move from zero to 5 during all the copying activity. We'll see how this piece of 2nd hand goods performs over time.
 
OP
BennyBoy

BennyBoy

Member
You could have just copied the /mod hierarchy from the old drive to the new drive.
Aaaarrgh! I had a feeling I could do that but didn't want to chance it.
Ah well... it didn't take long to get everything back, and also I now know that for next time. Thanks.
 

Black Hole

May contain traces of nut
You're right, it doesn't take long and in my view it is better to set everything up from scratch (jettisoning any unneeded stuff) again anyway.
 
OP
BennyBoy

BennyBoy

Member
In the old /mod folder I saw references to the old hard drive. That stopped me from just copying it over.
 
Top