fast_talon Posted December 24, 2011 Posted December 24, 2011 After a power loss I see 2 unformatted disks. Disks 1 and Disk 9. It looks like bad blocks.Anything I can do to not lose data? Thanks, Will syslog_122411.txt
fast_talon Posted December 24, 2011 Author Posted December 24, 2011 Here is a screen shot of my web interface. Im running 4.7
fast_talon Posted December 24, 2011 Author Posted December 24, 2011 I ran this.. Does this help? root@Tower:~# fdisk -lu /dev/sdb Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes 1 heads, 63 sectors/track, 46512336 cylinders, total 2930277168 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 63 2930277167 1465138552+ 83 Linux Partition 1 does not end on cylinder boundary. root@Tower:~# dd if=/dev/sdb count=195 | od -c -A d | sed 30q dd: reading `/dev/sdb': Input/output error 184+0 records in 184+0 records out 94208 bytes (94 kB) copied, 46.6462 s, 2.0 kB/s 0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0000448 \0 \0 203 \0 \0 \0 ? \0 \0 \0 361 z 250 256 \0 \0 0000464 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0000496 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 U 252 0000512 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0094208
fast_talon Posted December 24, 2011 Author Posted December 24, 2011 Here is Disk 1: root@Tower:~# fdisk -lu /dev/sda Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 1 heads, 63 sectors/track, 46512336 cylinders, total 2930277168 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 63 2930277167 1465138552+ 83 Linux Partition 1 does not end on cylinder boundary. root@Tower:~# dd if=/dev/sda count=195 | od -c -A d | sed 30q 195+0 records in 195+0 records out 99840 bytes (100 kB) copied, 0.00142256 s, 70.2 MB/s 0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0000448 \0 \0 203 \0 \0 \0 ? \0 \0 \0 361 z 250 256 \0 \0 0000464 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0000496 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 U 252 0000512 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0097792 ^ 017 325 025 032 266 233 017 022 \0 \a 006 022 \0 \0 \0 0097808 \0 \0 \0 \0 \0 \0 \0 \0 004 \0 \0 202 E E ? 0097824 204 003 \0 \0 036 \0 \0 \0 \0 \0 \0 \0 \0 020 314 003 0097840 002 \0 002 \0 R e I s E r 2 F s \0 \0 \0 0097856 003 \0 \0 \0 005 \0 253 + 002 \0 \0 \0 N J \0 \0 0097872 001 \0 \0 \0 323 E 335 265 030 031 N 205 256 > 217 336 0097888 } 251 \f \ \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0097904 \0 \0 \0 \0 032 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0097920 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0097984 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 0098000 304 . 001 \0 215 . 001 \0 247 . 001 \0 263 " 001 \0 0098016 264 " 001 \0 263 " 001 \0 264 " 001 \0 263 " 001 \0 * 0098768 264 " 001 \0 263 " 001 \0 264 " 001 \0 236 035 001 \0 0098784 237 035 001 \0 236 035 001 \0 237 035 001 \0 236 035 001 \0 * 0099024 237 035 001 \0 236 035 001 \0 237 035 001 \0 s 270 \0 \0 0099040 370 370 \0 \0 s 270 \0 \0 370 370 \0 \0 s 270 \0 \0 * 0099840 root@Tower:~# I dont want to touch anything until you guys get back to me, since Im not familiar with the backend. Thanks!!
fast_talon Posted December 25, 2011 Author Posted December 25, 2011 Heres some more info.. Disk #1: root@Tower:~# smartctl -d ata -a /dev/sda 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: Seagate Barracuda 7200.11 family Device Model: ST31500341AS Serial Number: 6VS03NG7 Firmware Version: CC3G 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: ATA-8-ACS revision 4 Local Time is: Sun Dec 25 16:40:37 2011 Local time zone must be set--see zic m 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: ( 617) 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: ( 255) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x103f) SCT Status 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 111 099 006 Pre-fail Always - 35587167 3 Spin_Up_Time 0x0003 094 088 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 081 081 020 Old_age Always - 19965 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 3 7 Seek_Error_Rate 0x000f 076 060 030 Pre-fail Always - 50167531 9 Power_On_Hours 0x0032 074 074 000 Old_age Always - 23054 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 365 12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1331 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 001 001 000 Old_age Always - 203 190 Airflow_Temperature_Cel 0x0022 074 056 045 Old_age Always - 26 (Lifetime Min/Max 20/38) 194 Temperature_Celsius 0x0022 026 044 000 Old_age Always - 26 (0 14 0 0) 195 Hardware_ECC_Recovered 0x001a 037 020 000 Old_age Always - 35587167 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 - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 93179315499524 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 1213858972 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 3907433837 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] 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. Disk 9: root@Tower:~# smartctl -d ata -a /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 Smartctl open device: /dev/sdb failed: No such device Here is what I get for Disk 1: root@Tower:~# reiserfsck --check /dev/sda reiserfsck 3.6.21 (2009 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/sda Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes reiserfs_open: the reiserfs superblock cannot be found on /dev/sda. Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with --rebuild-sb.
fast_talon Posted December 25, 2011 Author Posted December 25, 2011 Here is my device List: isk devices parity device: pci-0000:00:1f.2-scsi-0:0:0:0 host9 (sdg) ST32000542AS_6XW1JKWM disk1 device: pci-0000:02:01.0-scsi-0:0:0:0 host1 (sda) ST31500341AS_6VS03NG7 disk2 device: pci-0000:02:01.0-scsi-2:0:0:0 host3 (sdc) ST3500830AS_6QG0FTY6 disk3 device: unassigned disk4 device: unassigned disk5 device: pci-0000:00:1f.1-ide-0:0 ide0 (hda) ST3300831A_3NF15JP8 disk6 device: pci-0000:02:01.0-scsi-3:0:0:0 host4 (sdd) ST32000542AS_6XW1GBLJ disk7 device: pci-0000:02:02.0-scsi-2:0:0:0 host7 (sde) ST3500830AS_6QG0GM78 disk8 device: pci-0000:00:1f.2-scsi-1:0:0:0 host10 (sdh) SAMSUNG_HD400LJ_S0H2J10L504301 disk9 device: pci-0000:02:01.0-scsi-1:0:0:0 host2 (sdb) ST31500341AS_6VS022CB disk10 device: pci-0000:00:1f.1-ide-1:0 ide1 (hdc) ST3250823A_3ND2CJR8
Joe L. Posted December 26, 2011 Posted December 26, 2011 Heres some more info.. Disk #1: root@Tower:~# smartctl -d ata -a /dev/sda 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: Seagate Barracuda 7200.11 family Device Model: ST31500341AS Serial Number: 6VS03NG7 Firmware Version: CC3G 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: ATA-8-ACS revision 4 Local Time is: Sun Dec 25 16:40:37 2011 Local time zone must be set--see zic m 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: ( 617) 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: ( 255) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x103f) SCT Status 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 111 099 006 Pre-fail Always - 35587167 3 Spin_Up_Time 0x0003 094 088 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 081 081 020 Old_age Always - 19965 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 3 7 Seek_Error_Rate 0x000f 076 060 030 Pre-fail Always - 50167531 9 Power_On_Hours 0x0032 074 074 000 Old_age Always - 23054 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 365 12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1331 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 001 001 000 Old_age Always - 203 190 Airflow_Temperature_Cel 0x0022 074 056 045 Old_age Always - 26 (Lifetime Min/Max 20/38) 194 Temperature_Celsius 0x0022 026 044 000 Old_age Always - 26 (0 14 0 0) 195 Hardware_ECC_Recovered 0x001a 037 020 000 Old_age Always - 35587167 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 - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 93179315499524 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 1213858972 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 3907433837 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] 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. Disk 9: root@Tower:~# smartctl -d ata -a /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 Smartctl open device: /dev/sdb failed: No such device Here is what I get for Disk 1: root@Tower:~# reiserfsck --check /dev/sda reiserfsck 3.6.21 (2009 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/sda Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes reiserfs_open: the reiserfs superblock cannot be found on /dev/sda. Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with --rebuild-sb. The file system is NOT on /dev/sda. It is on the first partition on any give disk. For sda, the first partition is /dev/sda1. The reason reiserfsck cannot find a superblock on /dev/sda is because is it not there. IT is on /dev/sda1. You'll need to run reiserfsck on /dev/sda1 or better yet if the device is assigned and the array starts, it is accessible as /dev/mdX (where mdX = md1 for disk1, /dev/md2 for disk2, etc...) Running reiserfsck on the /dev/mdX device allows the correction to also fix parity. Making a fix on the /dev/sdX1 partition will require you to run a correcting parity calc to correct parity and get it in sync with any fixes you make.
fast_talon Posted December 26, 2011 Author Posted December 26, 2011 Joe L, Thanks for the reply. This is my results root@Tower:~# reiserfsck --check /dev/sda1 reiserfsck 3.6.21 (2009 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/sda1 Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes ########### reiserfsck --check started at Mon Dec 26 12:23:39 2011 ########### Replaying journal: Done. Reiserfs journal '/dev/sda1' in blocks [18..8211]: 0 transactions replayed Checking internal tree.. finished Comparing bitmaps..finished Checking Semantic tree: finished No corruptions found There are on the filesystem: Leaves 108876 Internal nodes 683 Directories 9673 Other files 67833 Data block pointers 104292752 (0 of them are zero) Safe links 0 ########### reiserfsck finished at Mon Dec 26 12:47:02 2011 ###########
fast_talon Posted December 26, 2011 Author Posted December 26, 2011 Any ideas? I have 2 new 2TB drives, but I don't want to lose this data Thanks!
znelbok Posted December 27, 2011 Posted December 27, 2011 A utility that I use a lot for recovering disks is spinright by GRC http://www.grc.com/sr/spinrite.htm It is fileysytem agnostic and has recovered countless drive over its 20 odd year life. you need to pull the drive and run it on a different PC. Its a bootable ISO image that boots into PC-Dos. Its also a great utility for drive maintenance for all you PC drives as it reads and writes all the data back to the drive refreshing the data. Give it a go , it wont do any damage and may just fix your drive. Mick
fast_talon Posted December 29, 2011 Author Posted December 29, 2011 A utility that I use a lot for recovering disks is spinright by GRC http://www.grc.com/sr/spinrite.htm It is fileysytem agnostic and has recovered countless drive over its 20 odd year life. you need to pull the drive and run it on a different PC. Its a bootable ISO image that boots into PC-Dos. Its also a great utility for drive maintenance for all you PC drives as it reads and writes all the data back to the drive refreshing the data. Give it a go , it wont do any damage and may just fix your drive. Mick Mick thanks for the suggestion but both disks crash the app when trying to scan these drives. Tom gave me some commands to manually mount Disk1 and pull the data off of it. So that was great. The problem is unRaid still thinks disk1 isnt formatted and disk9 is totally hosed. So I cant do a parity restore since it still shows 2 disks as bad. So at this point I may have to just lose the 1.5TB of data off of drive9 unless omeone has any good ideas. Thanks, Will
znelbok Posted December 31, 2011 Posted December 31, 2011 If you have a legit copy of spinrite, then I would suggest you contact GRC's support as they will be very interested in understanding what has happened and helping you out. Mick
Recommended Posts
Archived
This topic is now archived and is closed to further replies.