View previous topic :: View next topic |
Author |
Message |
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Jan 19, 2015 5:32 am Post subject: Problems migrating root to ssd, RAID array degraded. Solved |
|
|
Hi,
Got a Gentoo box, had it on a spinning rust device and now I installed an SSD. While I was in there I took out the dust bunnies, replaced a dead fan, removed a few things I don't want anymore and rearranged my SATA cables.
I had problems. Got a nonbootable situation, probably because I got creative with the sata cables. Since I had no idea how it all was in the first place, I got out an antique minimal install CD and messed with it that way.
Somewhere along the road my original / partition (using GPT on everything here) became type 0700 (Microsoft) but when I set the partition type back to 8300 I could mount it again.
I got my data copied to the SSD, but not sure if I have grub done right.
I'm back up, but I'm not good yet. I had a 2-drive raid1 setup, and half of the array is missing. That's the point of this thread. I'm not sure if it's something I did or if it's just because it's yet another WD green drive went to pot on me.
For the record, I have all the data that was on the array backed up, and I no longer have any of the partitions inside the raid volume group mounted. Actually I have most of it deleted so I can be sure what was backed up.
So with one partition left, I'm hoping to reassemble the array and get it all back together, or better yet first find out if it's a drive failure or a mess-up on my part.
Here's what I have:
Code: |
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 2M 0 part
├─sda2 8:2 0 512M 0 part
├─sda3 8:3 0 10G 0 part /
└─sda4 8:4 0 420G 0 part
└─ssdvg1-host_home 253:3 0 10G 0 lvm /home
sdb 8:16 0 698.7G 0 disk
├─sdb1 8:17 0 2M 0 part
├─sdb2 8:18 0 512M 0 part
├─sdb3 8:19 0 10G 0 part
└─sdb4 8:20 0 688.1G 0 part
├─hddvg1-host_swap 253:0 0 24G 0 lvm [SWAP]
├─hddvg1-host_usr_src 253:1 0 5G 0 lvm /usr/src
└─hddvg1-mysql 253:2 0 1G 0 lvm
sdc 8:32 0 2.7T 0 disk
└─sdc1 8:33 0 2.7T 0 part
sdd 8:48 0 2.7T 0 disk
└─sdd1 8:49 0 2.7T 0 part
└─md0 9:0 0 2.7T 0 raid1
└─rd1vg1-host_home 253:4 0 10G 0 lvm
sr0 11:0 1 1024M 0 rom
|
sda is my new drive.
sdb is my old /.
sdc is the troublesome RAID member.
sdd is the cooperative RAID member.
Code: |
# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md0 : active raid1 sdd1[0]
2930133248 blocks super 1.2 [2/1] [U_]
unused devices: <none>
|
Code: |
# blkid
/dev/sda1: PARTLABEL="BIOS boot partition" PARTUUID="e7b9c62b-43b2-45a3-aea8-e2d2a6906bea"
/dev/sda2: UUID="73e8bc45-4613-4f80-9ae5-5f78c21a6415" TYPE="ext2" PARTLABEL="EFI System" PARTUUID="4a8aba87-1294-428d-a1e6-5b91cdac1182"
/dev/sda3: UUID="073ca60e-886c-490d-910b-58ff6e628013" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="388da198-776a-4037-b3b3-eb6f1e8f7dac"
/dev/sda4: UUID="1p4R3H-zLlR-LV1N-OcYD-pnrE-462S-UT2Uru" TYPE="LVM2_member" PARTLABEL="Linux LVM" PARTUUID="39385dbe-2b7f-4e96-9ca7-547e388ad745"
/dev/sdb1: PARTLABEL="bios" PARTUUID="e2cfb363-18cb-46b5-97e6-180b70ddad4b"
/dev/sdb2: UUID="93d12727-ec84-4e05-98a8-5a8f3f1fd8a4" TYPE="ext2" PARTLABEL="/boot" PARTUUID="c6a94411-dea4-43e6-aa8a-a62626b4d53d"
/dev/sdb3: UUID="85a849ee-f20a-4f76-b790-e6217f6deb91" TYPE="ext4" PARTLABEL="/" PARTUUID="d8ad9cca-5d1b-4985-8c00-2f3082179e17"
/dev/sdb4: UUID="BYUpjw-iQ7V-32Y6-0TQd-RBTl-zlF9-ammBCk" TYPE="LVM2_member" PARTLABEL="Linux LVM" PARTUUID="97f61253-cc4c-4ac9-8419-272226c83870"
/dev/sdc1: UUID="e91da085-9409-53a4-0b06-da14d3fac6dd" UUID_SUB="02dd792b-cade-4052-5b26-e5c077ca80db" LABEL="chronos:0" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="661bb74e-7c79-4492-a5af-bfd3138eadc9"
/dev/sdd1: UUID="e91da085-9409-53a4-0b06-da14d3fac6dd" UUID_SUB="68a2e164-74e1-3c7f-7114-f0d6d0b1d1b1" LABEL="chronos:0" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="d45a8dc4-ce15-4be6-8a55-fda8d3a4185b"
/dev/md0: UUID="sfUeSd-JUx3-Y2eG-Baep-S1Sc-HsIL-bXZnSh" TYPE="LVM2_member"
/dev/mapper/hddvg1-host_swap: UUID="5c94e0ad-bba1-48c6-a0fe-cc0103e21acb" TYPE="swap"
/dev/mapper/hddvg1-host_usr_src: UUID="4244e5aa-dcf0-48c5-ae06-28a439493d79" TYPE="ext4"
/dev/mapper/hddvg1-mysql: UUID="d12c7ab6-8468-4539-8181-be7a4d91c4aa" TYPE="ext4"
/dev/mapper/ssdvg1-host_home: UUID="050f2145-d1c2-4725-9ca8-bf73a2e53712" TYPE="ext4"
/dev/mapper/rd1vg1-host_home: UUID="b9e9d8da-0734-4bd2-bee5-0086b46220e5" TYPE="ext4"
|
From /var/log/messages:
Code: |
Jan 18 22:59:26 chronos kernel: [ 6.675953] md: bind<sdc1>
Jan 18 22:59:26 chronos kernel: [ 6.678727] md: bind<sdd1>
Jan 18 22:59:26 chronos kernel: [ 6.679160] md: kicking non-fresh sdc1 from array!
Jan 18 22:59:26 chronos kernel: [ 6.679164] md: unbind<sdc1>
Jan 18 22:59:26 chronos kernel: [ 6.689104] md: export_rdev(sdc1)
Jan 18 22:59:26 chronos kernel: [ 6.690700] md/raid1:md0: active with 1 out of 2 mirrors
Jan 18 22:59:26 chronos kernel: [ 6.690712] md0: detected capacity change from 0 to 3000456445952
Jan 18 22:59:26 chronos kernel: [ 6.692759] md0: unknown partition table
|
So how do I tell if my array is degraded because I screwed up or if it's yet another WD green drive went to pot?
How do I re-add it to the array?
Thanks.
Last edited by 1clue on Tue Jan 20, 2015 2:39 am; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Mon Jan 19, 2015 6:28 am Post subject: |
|
|
You probably somehow started the array and it couldn't find its friend for whatever reason, so the "cooperative" one is the one that's fresh. So yes, the "uncooperative" one actually was kicked from the array as "bad".
You can try reattaching the disk by treating as if that disk failed. Should be able to just re-add it and let it sync again, hoping that the "cooperative" disk contains the correct and latest data. Assuming you have the backup fresh and correct, if the disk isn't already failed/removed, do so, and then re-add mdadm --add /dev/md0 /dev/sdc1 it to the array. A resync will happen as it copies the working disk back and you should be good again.
Yes RAID is not backup. Shit like this happens and you never know what state your machine will end up being, but you do see all your data at least... up until you start messing with the disks or the "redundant" disk dies along with the first disk that died. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Jan 19, 2015 4:32 pm Post subject: |
|
|
I'm crystal clear on the idea that raid is not backup.
People don't realize it but the fact of how raid works means that your array is more likely to have a failure of some sort than a single disk is.
And then, they're WD green drives. This was the last pair I bought, or will ever buy if I have any choice.
It's saying mdadm: /dev/sdc1 does not appear to be an md device when I try to add it, looking that up.
Thanks. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Tue Jan 20, 2015 2:39 am Post subject: |
|
|
Fantastic!
I've got a bunch of bookmarks for mdadm but my eyes blur over before I get to the good parts. This one is really concise and easy.
Recovering right now, thanks a bunch. |
|
Back to top |
|
|
digifuzzy Tux's lil' helper
Joined: 31 Oct 2014 Posts: 79
|
Posted: Tue Jan 20, 2015 6:01 am Post subject: |
|
|
It may be academic since you're recovering data...
I couldn't see anything in the snippets you provided that indicate the vendor of the raid member drives.
Can you access the drive details with hdparm?
Does SMARTD say anything about the uncooperative raid member?
Only after verifying drive with SMARTD (and others) would I go all-in on sorting out array/mdadm issues.
Just a suggestion. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Tue Jan 20, 2015 8:34 pm Post subject: |
|
|
Um, yeah about that. It's not really academic and I'm dealing with near-death experiences with this box anyway.
The drives are WD green drives which I now know are junk for my purposes. I bought 10 or 11 of them of different sizes from 750g to 3t in 3 groups in a span of about a week, not nearly long enough ago. I have 4 working drives left and this array accounts for 2 of them.
I raided the 2 3-tb drives because I was getting failures already before I even got around to installing the big ones. I believe I have done the self-park BS but it wasn't with the WD tool, it was with the linux tool. Don't remember exactly how I did it, it was awhile back.
It occurs to me now that I could still pull these working drives, install some appropriate non-WD replacements and transfer data. Then I could use the green drives as backup media and since they would only be plugged in during a backup they would not die at the drop of a hat. I think that's what's going to happen, but I need money first. Which means a paycheck.
I'm really torn on this box. It's an i7 920, first-gen i7. It's sata2 and usb2 and pciev2, so it's slow by modern standards, but it's a box. Normally I'd have my drives start to go right about the time I'm ready to put the box in the trash due to its age. Now I have these green drives all over, they're failing and the other hardware is still useful but borderline not worth upgrading. I've never been able to really trust this box because of the greenness of it all, when I set it up it was a workstation so I thought green didn't matter. It's not really appropriate server hardware.
So my internal argument is whether to put a sata3 card in there maybe with raid support or to toss it now and get a new box with an i7 or e3 or e5, get decent disks including both ssd's and spinners (can't afford to put all my data on ssd's) and an ejectable sata bay for backups.
I think I'm going to start using server-class hardware for my workstations. Or at least good enough workstation hardware that they can be servers.
So about your requests:
I have these drives:
- sda is a brand new SSD, 480g.
- sdb is a green drive, 750g.
- sdc is a green drive, 3t. This is the troublesome RAID member.
- sdd is a green drive, 3t. This is the good RAID member.
I'm going to include statistics for all drives.
Code: |
# smartctl -a /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.6-hardened-r3] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: OCZ-VECTOR150
Serial Number: A21WN061451000213
LU WWN Device Id: 5 e83a97 10002afc4
Firmware Version: 1.2
User Capacity: 480,103,981,056 bytes [480 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Tue Jan 20 14:31:21 2015 CST
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: ( 0) seconds.
Offline data collection
capabilities: (0x1d) SMART execute Offline immediate.
No Auto Offline data collection support.
Abort Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x00) Error logging NOT supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 0) minutes.
Extended self-test routine
recommended polling time: ( 0) minutes.
SMART Attributes Data Structure revision number: 18
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0000 000 000 000 Old_age Offline - 0
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 39
12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 13
171 Unknown_Attribute 0x0000 080 080 000 Old_age Offline - 163744080
174 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
195 Hardware_ECC_Recovered 0x0000 100 100 000 Old_age Offline - 0
196 Reallocated_Event_Count 0x0000 100 100 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0000 100 100 000 Old_age Offline - 0
208 Unknown_SSD_Attribute 0x0000 100 100 000 Old_age Offline - 0
210 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
224 Unknown_SSD_Attribute 0x0000 100 100 000 Old_age Offline - 1
233 Media_Wearout_Indicator 0x0000 100 100 000 Old_age Offline - 100
241 Total_LBAs_Written 0x0000 100 100 000 Old_age Offline - 9
242 Total_LBAs_Read 0x0000 100 100 000 Old_age Offline - 0
249 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 300724
Warning! SMART ATA Error Log Structure error: invalid SMART checksum.
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% 39 -
Selective Self-tests/Logging not supported
|
Code: |
# smartctl -a /dev/sdb
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.6-hardened-r3] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Green
Device Model: WDC WD7500AADS-00L5B1
Serial Number: WD-WCAU4A519263
LU WWN Device Id: 5 0014ee 2ad890c72
Firmware Version: 01.01A01
User Capacity: 750,156,374,016 bytes [750 GB]
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.5, 3.0 Gb/s
Local Time is: Tue Jan 20 14:32:03 2015 CST
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: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
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: (19500) 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: ( 225) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x303f) SCT Status supported.
SCT Error Recovery Control 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 - 0
3 Spin_Up_Time 0x0027 160 159 021 Pre-fail Always - 6983
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 434
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0
9 Power_On_Hours 0x0032 047 047 000 Old_age Always - 39385
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 - 347
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 15
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 433
194 Temperature_Celsius 0x0022 120 101 000 Old_age Always - 30
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% 39382 -
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.
|
Problem drive:
Code: |
# smartctl -a /dev/sdc
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.6-hardened-r3] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Green (AF, SATA 6Gb/s)
Device Model: WDC WD30EZRX-00DC0B0
Serial Number: WD-WMC1T3202735
LU WWN Device Id: 5 0014ee 6034367ea
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Tue Jan 20 14:32:38 2015 CST
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: (40380) 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: ( 405) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) 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 - 0
3 Spin_Up_Time 0x0027 175 175 021 Pre-fail Always - 6216
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 67
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 087 087 000 Old_age Always - 9649
10 Spin_Retry_Count 0x0032 100 253 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 - 66
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 37
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1221
194 Temperature_Celsius 0x0022 122 111 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 - 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% 9649 -
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.
|
Good raid drive
Code: |
# smartctl -a /dev/sdd
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.6-hardened-r3] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Green (AF, SATA 6Gb/s)
Device Model: WDC WD30EZRX-00DC0B0
Serial Number: WD-WMC1T3083920
LU WWN Device Id: 5 0014ee 65898b6fb
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Tue Jan 20 14:33:17 2015 CST
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: (41520) 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: ( 417) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) 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 - 0
3 Spin_Up_Time 0x0027 176 175 021 Pre-fail Always - 6200
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 62
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0
9 Power_On_Hours 0x0032 089 088 000 Old_age Always - 8317
10 Spin_Retry_Count 0x0032 100 253 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 - 61
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 36
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1254
194 Temperature_Celsius 0x0022 123 113 000 Old_age Always - 27
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% 8317 -
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.
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|