Backing up to a drive and then removing it

Status
Not open for further replies.

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
I currently have two 1TB drives mirror'd in my server, both of which are on their way out. Rather than just throwing the two drives out, my plan was to backup some data onto one/both drives and throw it/them in a fire safe. But I was wondering if there is an easy way to copy the data to the drive/s without having to remove the drive from the server so that it's readable if I plugged it directly into a windows pc.


I know using dying drives as a backup isn't a great idea, but I figure I either use them or they go in the garbage. So it's better than nothing. One of the drives was throwing CAM errors the other day, and the other one just threw an "unreadable (pending) sector" error and an "offline uncorrectable sector" error. I assume the latter is the lesser of the two evils?

The smart report for the two drives (the WD Green through the unreadable sector error and the Barracuda the CAM error):
Code:
[root@freenas] ~# smartctl -a /dev/ada4

smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p31 amd64] (local build)

Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org


=== START OF INFORMATION SECTION ===

Model Family:     Western Digital Caviar Green (AF)

Device Model:     WDC WD10EARS-00MVWB0

Serial Number:    WD-WCAZA0709278

LU WWN Device Id: 5 0014ee 25a4a1057

Firmware Version: 51.0AB51

User Capacity:    1,000,204,886,016 bytes [1.00 TB]

Sector Size:      512 bytes logical/physical

Device is:        In smartctl database [for details use: -P show]

ATA Version is:   ATA8-ACS (minor revision not indicated)

SATA Version is:  SATA 2.6, 3.0 Gb/s

Local Time is:    Fri Feb 26 10:19:04 2016 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:  (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: (17880) 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:  (   2) minutes.

Extended self-test routine

recommended polling time:  ( 175) minutes.

Conveyance self-test routine

recommended polling time:  (   5) minutes.

SCT capabilities:        (0x3035)SCT Status supported.

SCT Feature Control supported.

SCT Data Table supported.


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       -       24

  3 Spin_Up_Time            0x0027   170   163   021    Pre-fail  Always       -       6483

  4 Start_Stop_Count        0x0032   088   088   000    Old_age   Always       -       12650

  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   055   055   000    Old_age   Always       -       33033

10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0

11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0

12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       127

192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       74

193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       1248695

194 Temperature_Celsius     0x0022   122   089   000    Old_age   Always       -       28

196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0

197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       1

198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       1

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      -       18


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

# 2  Extended offline    Completed without error       00%     32950         -

# 3  Short offline       Completed without error       00%     32874         -

# 4  Short offline       Completed without error       00%     32707         -

# 5  Extended offline    Completed without error       00%     32615         -

# 6  Short offline       Completed without error       00%     32539         -

# 7  Extended offline    Completed without error       00%     32340         -

# 8  Short offline       Completed without error       00%     32264         -

# 9  Short offline       Completed without error       00%     32096         -

#10  Extended offline    Completed without error       00%     32004         -

#11  Short offline       Completed without error       00%     31929         -

#12  Extended offline    Completed without error       00%     31764         -

#13  Extended offline    Completed without error       00%     31597         -

#14  Extended offline    Completed without error       00%     31429         -

#15  Extended offline    Completed without error       00%     31262         -

#16  Extended offline    Completed without error       00%     31094         -

#17  Extended offline    Completed without error       00%     31046         -

#18  Extended offline    Completed without error       00%     30878         -

#19  Extended offline    Completed without error       00%     30710         -

#20  Extended offline    Completed without error       00%     30375         -

#21  Extended offline    Completed without error       00%     30302         -


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.

Code:
[root@freenas] ~# smartctl -a /dev/ada5

smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p31 amd64] (local build)

Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org


=== START OF INFORMATION SECTION ===

Model Family:     Seagate Barracuda 7200.12

Device Model:     ST31000528AS

Serial Number:    5VP253Z9

LU WWN Device Id: 5 000c50 01c4ee5d6

Firmware Version: CC38

User Capacity:    1,000,204,886,016 bytes [1.00 TB]

Sector Size:      512 bytes logical/physical

Rotation Rate:    7200 rpm

Device is:        In smartctl database [for details use: -P show]

ATA Version is:   ATA8-ACS T13/1699-D revision 4

SATA Version is:  SATA 2.6, 3.0 Gb/s

Local Time is:    Fri Feb 26 10:22:16 2016 EST


==> WARNING: A firmware update for this drive may be available,

see the following Seagate web pages:

http://knowledge.seagate.com/articles/en_US/FAQ/207931en

http://knowledge.seagate.com/articles/en_US/FAQ/213891en


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

See vendor-specific Attribute list for marginal Attributes.


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: (  609) 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:  ( 184) minutes.

Conveyance self-test routine

recommended polling time:  (   2) minutes.

SCT capabilities:        (0x103f)SCT Status supported.

SCT Error Recovery Control 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   114   099   006    Pre-fail  Always       -       71664840

  3 Spin_Up_Time            0x0003   095   094   000    Pre-fail  Always       -       0

  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       605

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

  7 Seek_Error_Rate         0x000f   061   055   030    Pre-fail  Always       -       107404513924

  9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       9392

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

12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       136

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   099   000    Old_age   Always       -       55835426829

189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2

190 Airflow_Temperature_Cel 0x0022   074   043   045    Old_age   Always   In_the_past 26 (0 5 28 26 0)

194 Temperature_Celsius     0x0022   026   057   000    Old_age   Always       -       26 (0 15 0 0 0)

195 Hardware_ECC_Recovered  0x001a   028   024   000    Old_age   Always       -       71664840

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      -       6284 (130 100 0)

241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       2741848620

242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1206011172


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

# 2  Extended offline    Completed without error       00%      9309         -

# 3  Short offline       Completed without error       00%      9233         -

# 4  Short offline       Completed without error       00%      9065         -

# 5  Extended offline    Completed without error       00%      8973         -

# 6  Short offline       Completed without error       00%      8897         -

# 7  Extended offline    Completed without error       00%      8697         -

# 8  Short offline       Completed without error       00%      8622         -

# 9  Short offline       Completed without error       00%      8454         -

#10  Extended offline    Completed without error       00%      8362         -

#11  Short offline       Completed without error       00%      8286         -

#12  Extended offline    Completed without error       00%      8121         -

#13  Extended offline    Completed without error       00%      7954         -

#14  Extended offline    Completed without error       00%      7786         -

#15  Extended offline    Completed without error       00%      7618         -

#16  Extended offline    Completed without error       00%      7449         -

#17  Extended offline    Completed without error       00%      7401         -

#18  Extended offline    Completed without error       00%      7233         -

#19  Extended offline    Completed without error       00%      7065         -

#20  Extended offline    Interrupted (host reset)      00%      6897         -

#21  Extended offline    Completed without error       00%      6729         -


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.
 
Last edited:

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Do you still have the drives with the high (over a million) LCC's? If so, I wouldn't use it for anything. Maybe a wind chime. :smile:

While there are ways to connect a drive in the server and copy data to it internally, you wouldn't be able to use it on your Windows machine. Since that's what you want to do, your best bet, is attach it to your Windows machine, format it with NTFS and copy the data over the wire. You could use something like Robocopy to transfer the data.
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Do you still have the drives with the high (over a million) LCC's? If so, I wouldn't use it for anything. Maybe a wind chime. :)

While there are ways to connect a drive in the server and copy data to it internally, you wouldn't be able to use it on your Windows machine. Since that's what you want to do, your best bet, is attach it to your Windows machine, format it with NTFS and copy the data over the wire. You could use something like Robocopy to transfer the data.
That's the WD Green. Are CAM errors better than that? Like I said, I understand it's not an ideal solution and I have the data backed up elsewhere, this would be more to have a copy in a firesafe because why not.

Alright, I was hoping to avoid that since I don't have any wired computers in the house and a transfer over wifi would take awhile. But so be it.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Get a long network cable from Monoprice and temporarily connect one of the computers to the server. One can buy a 100' CAT5e cable for $11.28.

Most of my spares are 14' and under. With my 100' cable I can rig up a temporary (a day or two) connection anywhere in the house.

Alright, I was hoping to avoid that since I don't have any wired computers in the house and a transfer over wifi would take awhile.
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Get a long network cable from Monoprice and temporarily connect one of the computers to the server. One can buy a 100' CAT5e cable for $11.28.

Most of my spares are 14' and under. With my 100' cable I can rig up a temporary (a day or two) connection anywhere in the house.
I have the cable, that's not the problem. But running a line isn't practical due to reasons.
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Get a long network cable from Monoprice and temporarily connect one of the computers to the server. One can buy a 100' CAT5e cable for $11.28.

Most of my spares are 14' and under. With my 100' cable I can rig up a temporary (a day or two) connection anywhere in the house.
I have a computer lying around that I might be able to leave next to the server for the 30~ minutes it would take. Would I need to do anything (before or after) to plug that computer directly into my servers second LAN port and just copy the data?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
At a minimum, you'd need to configure the secondary NIC with a static IP address on a different subnet. Your other computer would need a static address on that network.

If both are gigabit ethernet, you can use either a straight through cable or a crossover cable. If, say, the other computer doesn't have a gigabit NIC, you'd need to use a crossover cable.
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
At a minimum, you'd need to configure the secondary NIC with a static IP address on a different subnet. Your other computer would need a static address on that network.

If both are gigabit ethernet, you can use either a straight through cable or a crossover cable. If, say, the other computer doesn't have a gigabit NIC, you'd need to use a crossover cable.
Alright, so nothing outside of normal networking. I didn't know if i'd have to do anything specific for FreeNAS.
 
Status
Not open for further replies.
Top