August 28, 201114 yr I have been up and running for a few weeks now on my Unraid sever, slowing copying over data from existing disc, preclearing disks, adding to array. So far everything was working till I went to add one of my WD15EADS drives this morning. First I had to remove an HPA since this machine has a Gigabyte motherboard that used HPA in older bios versions. I removed HPA using hdparm -N p2930277168 /dev/sdb and it was gone on reboot. Then I run preclear_disk.sh /dev/sdb from the server terminal and get the following: Register values returned from Smart Status command are: ST =0x40 ERR=0x00 NS =0x0c SC =0xbf CL =0x27 CH =0xa8 SEL =0x40 A Mandatory smart command failed: exiting. To Continue, add one or more '-T permissive' options$ Do you wish to continue? So i tried to run it from a remote terminal via putty with the same command and i got the normal preclear_script window and I told it to proceed. BUT, at the same time I was doing this a bunch of stuff showed up in my syslog: Aug 28 11:10:07 Tower kernel: Pid: 4948, comm: hdparm Not tainted 2.6.32.9-unRAID #8 (Errors) Aug 28 11:10:07 Tower kernel: Call Trace: (Errors) Aug 28 11:10:07 Tower kernel: [<c102449e>] warn_slowpath_common+0x60/0x77 (Errors) Aug 28 11:10:07 Tower kernel: [<c10244c2>] warn_slowpath_null+0xd/0x10 (Errors) Aug 28 11:10:07 Tower kernel: [<c11b624d>] ata_qc_issue+0x10b/0x308 (Errors) Aug 28 11:10:07 Tower kernel: [<c11ba260>] ata_scsi_translate+0xd1/0xff (Errors) Aug 28 11:10:07 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 28 11:10:07 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 28 11:10:07 Tower kernel: [<c11baa40>] ata_sas_queuecmd+0x120/0x1d7 (Errors) Aug 28 11:10:07 Tower kernel: [<c11bc6df>] ? ata_scsi_pass_thru+0x0/0x21d (Errors) Aug 28 11:10:07 Tower kernel: [<f842969a>] sas_queuecommand+0x65/0x20d [libsas] (Errors) Aug 28 11:10:07 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 28 11:10:07 Tower kernel: [<c11a82c0>] scsi_dispatch_cmd+0x147/0x181 (Errors) Aug 28 11:10:07 Tower kernel: [<c11ace4d>] scsi_request_fn+0x351/0x376 (Errors) Aug 28 11:10:07 Tower kernel: [<c1126798>] __blk_run_queue+0x78/0x10c (Errors) Aug 28 11:10:07 Tower kernel: [<c1124446>] elv_insert+0x67/0x153 (Errors) Aug 28 11:10:07 Tower kernel: [<c11245b8>] __elv_add_request+0x86/0x8b (Errors) Aug 28 11:10:07 Tower kernel: [<c1129343>] blk_execute_rq_nowait+0x4f/0x73 (Errors) Aug 28 11:10:07 Tower kernel: [<c11293dc>] blk_execute_rq+0x75/0x91 (Errors) Aug 28 11:10:07 Tower kernel: [<c11292cc>] ? blk_end_sync_rq+0x0/0x28 (Errors) Aug 28 11:10:07 Tower kernel: [<c112636f>] ? get_request+0x204/0x28d (Errors) Aug 28 11:10:07 Tower kernel: [<c11269d6>] ? get_request_wait+0x2b/0xd9 (Errors) Aug 28 11:10:07 Tower kernel: [<c112c2bf>] sg_io+0x22d/0x30a (Errors) Aug 28 11:10:07 Tower kernel: [<c112c5a8>] scsi_cmd_ioctl+0x20c/0x3bc (Errors) Aug 28 11:10:07 Tower kernel: [<c11b3257>] sd_ioctl+0x6a/0x8c (Errors) Aug 28 11:10:07 Tower kernel: [<c112a420>] __blkdev_driver_ioctl+0x50/0x62 (Errors) Aug 28 11:10:07 Tower kernel: [<c112ad1c>] blkdev_ioctl+0x8b0/0x8dc (Errors) Aug 28 11:10:07 Tower kernel: [<c1131e2d>] ? kobject_get+0x12/0x17 (Errors) Aug 28 11:10:07 Tower kernel: [<c112b0f8>] ? get_disk+0x4a/0x61 (Errors) Aug 28 11:10:07 Tower kernel: [<c101b028>] ? kmap_atomic+0x14/0x16 (Errors) Aug 28 11:10:07 Tower kernel: [<c11334a5>] ? radix_tree_lookup_slot+0xd/0xf (Errors) Aug 28 11:10:07 Tower kernel: [<c104a179>] ? filemap_fault+0xb8/0x305 (Errors) Aug 28 11:10:07 Tower kernel: [<c1048c43>] ? unlock_page+0x18/0x1b (Errors) Aug 28 11:10:07 Tower kernel: [<c1057c63>] ? __do_fault+0x3a7/0x3da (Errors) Aug 28 11:10:07 Tower kernel: [<c105985f>] ? handle_mm_fault+0x42d/0x8f1 (Errors) Aug 28 11:10:07 Tower kernel: [<c108b6c6>] block_ioctl+0x2a/0x32 (Errors) Aug 28 11:10:07 Tower kernel: [<c108b69c>] ? block_ioctl+0x0/0x32 (Errors) Aug 28 11:10:07 Tower kernel: [<c10769d5>] vfs_ioctl+0x22/0x67 (Errors) Aug 28 11:10:07 Tower kernel: [<c1076f33>] do_vfs_ioctl+0x478/0x4ac (Errors) Aug 28 11:10:07 Tower kernel: [<c105dcdd>] ? do_mmap_pgoff+0x232/0x294 (Errors) Aug 28 11:10:07 Tower kernel: [<c1076f93>] sys_ioctl+0x2c/0x45 (Errors) Aug 28 11:10:07 Tower kernel: [<c1002935>] syscall_call+0x7/0xb (Errors The preclear does seem to be running according to the putty terminal and is at 85MB/s during beginning of the preclear. A bit slowed compared to my 2 TB EARS drives, but may be normal for this drive. I just don't know if I can trust the preclear or drive with all of those syslog errors. My complete specs are: Gigabyte GA-MA770-DS3 AMD X2 5000+ Black edition 4*1 GB DDR2 800mhz Corsair 450 Watt powersupply (the good one that was made by Seasonic) I am using the built in Sata ports for the first four ports, and Supermicro Add-on Card AOC-SASLP-MV8 for the last two drives via breakout cable. Unraid 4.7 with Unmenu and a few of the Unmenu packages. Full syslog attached. syslog-2011-08-28.txt
August 29, 201114 yr Author Okay, so my preclear did not finish because I had to restart the computer running the putty window. I restarted the computer and was able to pull the smart data from the hard drive. I was able to run the preclear_script from the server, but as soon as I did I got the same error in my syslog as last time: Error in syslog after starting script Aug 29 17:36:45 Tower kernel: Pid: 4424, comm: hdparm Not tainted 2.6.32.9-unRAID #8 (Errors) Aug 29 17:36:45 Tower kernel: Call Trace: (Errors) Aug 29 17:36:45 Tower kernel: [<c102449e>] warn_slowpath_common+0x60/0x77 (Errors) Aug 29 17:36:45 Tower kernel: [<c10244c2>] warn_slowpath_null+0xd/0x10 (Errors) Aug 29 17:36:45 Tower kernel: [<c11b624d>] ata_qc_issue+0x10b/0x308 (Errors) Aug 29 17:36:45 Tower kernel: [<c11ba260>] ata_scsi_translate+0xd1/0xff (Errors) Aug 29 17:36:45 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 29 17:36:45 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 29 17:36:45 Tower kernel: [<c11baa40>] ata_sas_queuecmd+0x120/0x1d7 (Errors) Aug 29 17:36:45 Tower kernel: [<c11bc6df>] ? ata_scsi_pass_thru+0x0/0x21d (Errors) Aug 29 17:36:45 Tower kernel: [<f842969a>] sas_queuecommand+0x65/0x20d [libsas] (Errors) Aug 29 17:36:45 Tower kernel: [<c11a816c>] ? scsi_done+0x0/0xd (Errors) Aug 29 17:36:45 Tower kernel: [<c11a82c0>] scsi_dispatch_cmd+0x147/0x181 (Errors) Aug 29 17:36:45 Tower kernel: [<c11ace4d>] scsi_request_fn+0x351/0x376 (Errors) Aug 29 17:36:45 Tower kernel: [<c1126798>] __blk_run_queue+0x78/0x10c (Errors) Aug 29 17:36:45 Tower kernel: [<c1124446>] elv_insert+0x67/0x153 (Errors) Aug 29 17:36:45 Tower kernel: [<c11245b8>] __elv_add_request+0x86/0x8b (Errors) Aug 29 17:36:45 Tower kernel: [<c1129343>] blk_execute_rq_nowait+0x4f/0x73 (Errors) Aug 29 17:36:45 Tower kernel: [<c11293dc>] blk_execute_rq+0x75/0x91 (Errors) Aug 29 17:36:45 Tower kernel: [<c11292cc>] ? blk_end_sync_rq+0x0/0x28 (Errors) Aug 29 17:36:45 Tower kernel: [<c112636f>] ? get_request+0x204/0x28d (Errors) Aug 29 17:36:45 Tower kernel: [<c11269d6>] ? get_request_wait+0x2b/0xd9 (Errors) Aug 29 17:36:45 Tower kernel: [<c112c2bf>] sg_io+0x22d/0x30a (Errors) Aug 29 17:36:45 Tower kernel: [<c112c5a8>] scsi_cmd_ioctl+0x20c/0x3bc (Errors) Aug 29 17:36:45 Tower kernel: [<c1021841>] ? check_preempt_wakeup+0x94/0xdc (Errors) Aug 29 17:36:45 Tower kernel: [<c11b3257>] sd_ioctl+0x6a/0x8c (Errors) Aug 29 17:36:45 Tower kernel: [<c112a420>] __blkdev_driver_ioctl+0x50/0x62 (Errors) Aug 29 17:36:45 Tower kernel: [<c112ad1c>] blkdev_ioctl+0x8b0/0x8dc (Errors) Aug 29 17:36:45 Tower kernel: [<c1131e2d>] ? kobject_get+0x12/0x17 (Errors) Aug 29 17:36:45 Tower kernel: [<c112b0f8>] ? get_disk+0x4a/0x61 (Errors) Aug 29 17:36:45 Tower kernel: [<c101b028>] ? kmap_atomic+0x14/0x16 (Errors) Aug 29 17:36:45 Tower kernel: [<c11334a5>] ? radix_tree_lookup_slot+0xd/0xf (Errors) Aug 29 17:36:45 Tower kernel: [<c104a179>] ? filemap_fault+0xb8/0x305 (Errors) Aug 29 17:36:45 Tower kernel: [<c1048c43>] ? unlock_page+0x18/0x1b (Errors) Aug 29 17:36:45 Tower kernel: [<c1057c63>] ? __do_fault+0x3a7/0x3da (Errors) Aug 29 17:36:45 Tower kernel: [<c105985f>] ? handle_mm_fault+0x42d/0x8f1 (Errors) Aug 29 17:36:45 Tower kernel: [<c108b6c6>] block_ioctl+0x2a/0x32 (Errors) Aug 29 17:36:45 Tower kernel: [<c108b69c>] ? block_ioctl+0x0/0x32 (Errors) Aug 29 17:36:45 Tower kernel: [<c10769d5>] vfs_ioctl+0x22/0x67 (Errors) Aug 29 17:36:45 Tower kernel: [<c1076f33>] do_vfs_ioctl+0x478/0x4ac (Errors) Aug 29 17:36:45 Tower kernel: [<c105dcdd>] ? do_mmap_pgoff+0x232/0x294 (Errors) Aug 29 17:36:45 Tower kernel: [<c1076f93>] sys_ioctl+0x2c/0x45 (Errors) Aug 29 17:36:45 Tower kernel: [<c1002935>] syscall_call+0x7/0xb (Errors) Smart report from drive pulled with Unmenu before running the preclear_script smartctl -a -d ata /dev/sdb (--) smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build) Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green family Device Model: WDC WD15EADS-00P8B0 Serial Number: WD-WMAVU0640003 Firmware Version: 01.00A01 User Capacity: 1,500,301,910,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Mon Aug 29 17:35:35 2011 EDT 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: (33000) 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: ( 255) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x3037) 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 - 6175 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1056 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 084 084 000 Old_age Always - 12324 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 - 204 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 76 193 Load_Cycle_Count 0x0032 185 185 000 Old_age Always - 46151 194 Temperature_Celsius 0x0022 119 102 000 Old_age Always - 31 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 Conveyance offline Completed without error 00% 57 - # 2 Conveyance offline Completed without error 00% 51 - 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-2011-08-29.txt
August 29, 201114 yr Author I also just noticed that I couldn't copy to one of my hard drives after that error in the syslog. I manually stopped the preclear_disk with ctrl c and the server acted normally allowing me to copy files, etc. I did re-seat the 2 connectors from the breakout cable on the Supermicro Add-on Card AOC-SASLP-MV8 and I also did re-seat the card itself. Edit: So I next tried moving the hard drive I was trying to clear on to a sata connector from a pce1x Si3132, and it appears to be pre-clearing fine without adding errors to the syslog. So do I have a bad breakout cable or a bad expansion card? I have been using one of the ports off of the breakout cable/expansion card for 2 or 3 weeks without any problems. While pre-clearing the disc on the pce1x si3132 I was not able to write to the array or it was so slow it was basically unwrittable. I have done memory tests which passed, and checked every cable. The Preclear disc script did indicate a passing status. I really don't think there is a problem with the disc as I was using the disc for several months before adding it to the unraid server. syslog-2011-08-29.txt
September 2, 201114 yr Author Bump. So no replies from anyone? The drive passed a pre-clear on a different sata card, but caused the system to not allow writes. I don't want to add this disc to the array unless I know it can be trusted. I have given as detailed information as I can. I guess I will go submit an official support email and hope for the best...
September 2, 201114 yr I'll make a wild guess that the disk you're trying to preclear is connected through the super micro SAS card? If so,then I would reconfigure your server to keep one of the motherboard SATA connectors free for doing preclears. I was having all kinds of trouble months ago with the same error. I switched to using a bay that connected to my motherboard and no more problems. I remember doing a bunch of searching for the reason and if it were fixable, without avail. My Linux skills are seriously lacking so maybe you will have better luck.I found it just as easy to leave a few bays, that are connected to the MoBo for preclearing. As always, YMMV. P.s. I posted about the same trouble here: http://lime-technology.com/forum/index.php?topic=13054.msg110259#msg110259 I think the referenced thread about the SAS controller card has more info.
September 3, 201114 yr Author Was the drive fine after you precleared it and hooked it back into the sas card? The drive did pass its pre_clear when i had it on another pciexpress sata card.
September 8, 201114 yr I'm sorry, been away from here for a bit. Yes, the drive did fine, and has been for months, after preclearing from the MoBo and attaching on the SAS for use in the array.
April 14, 201214 yr I've got the EXACT same issue as the OP. Not a lot of activity on this so thought I would bump it even though it's an older thread. In the meantime, I'll do as suggested and free up a slot on my motherboard to do preclears. Interestingly enough I've successfully precleared a 2TB Seagate drive on the AOC-SASLP-MVL8 before without any issue. My problem drive currently is an Hitachi 2TB. EDIT: Finished preclearing the drive from one of my MB Sata slots without issue. Must be a bug with the AOC-SASLP-MVL8, SMARTctl and UnRAID?!
Archived
This topic is now archived and is closed to further replies.