Skocz do zawartości
Zaloguj się, aby obserwować  
McAs

Problem z RAID

Polecane posty

Mam mały problem i nie wiem jak sobie poradzić z nim. Wypadł mi dysk z RAID1, p. Ogólnie rzecz biorąc wczoraj około 16 server padł , rzekłbym bez powodu. Hard reset server nie wstaje, resuce sprawdzenie o co chodzi wyszło, że coś z RAID-em jest nie tak. Podmontowałem go i zsynchronizowałem sda z sdb( tego brakowało)

 

Podczas próby wykonania polecenia :

 

mount /dev/md2 /mnt
Dostaje informację taką:
NTFS signature is missing.
Failed to mount '/dev/md2': Invalid argument
The device '/dev/md2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
oczywiście md2 nie daje rady się zamontować.
fdisk -l

 

 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000943c2
Device Boot Start End Blocks Id System
/dev/sda1 * 4096 20975615 10485760 fd Linux raid autodetect
/dev/sda2 20975616 975716351 477370368 fd Linux raid autodetect
/dev/sda3 975716352 976766975 525312 82 Linux swap / Solaris
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ad830
Device Boot Start End Blocks Id System
/dev/sdb1 * 4096 20975615 10485760 fd Linux raid autodetect
/dev/sdb2 20975616 975716351 477370368 fd Linux raid autodetect
/dev/sdb3 975716352 976766975 525312 82 Linux swap / Solaris
Disk /dev/md1: 10.7 GB, 10737352704 bytes
2 heads, 4 sectors/track, 2621424 cylinders, total 20971392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 488.8 GB, 488827191296 bytes
2 heads, 4 sectors/track, 119342576 cylinders, total 954740608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xffffffff
Disk /dev/md2 doesn't contain a valid partition table

 

cat /proc/mdstat

 

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]

md2 : active raid1 sdb2[1] sda2[0]
477370304 blocks [2/2] [uU]
md1 : active raid1 sdb1[1] sda1[0]
10485696 blocks [2/2] [uU]

 

smartctl --all /dev/sda

 

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.8.13-xxxx-std-ipv6-64] (local build)

Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
/dev/md1: Unable to detect device type
Smartctl: please specify device type with the -d option.
Use smartctl -h to get a usage summary
root@rescue:~# smartctl --all /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.8.13-xxxx-std-ipv6-64] (local build)
Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA DT01ACA050
Serial Number: Z2H5JV6RS
LU WWN Device Id: 5 000039 ff2d09c98
Firmware Version: MS1OA750
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Wed Jun 19 09:33:47 2013 CEST
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: (0x80) Offline data collection activity
was never started.
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: ( 4998) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 84) minutes.
SCT capabilities: (0x003d) 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 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 137 137 054 Pre-fail Offline - 87
3 Spin_Up_Time 0x0007 125 125 024 Pre-fail Always - 184 (Average 184)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 27
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 118 118 020 Pre-fail Offline - 33
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 1844
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 27
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 28
193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 28
194 Temperature_Celsius 0x0002 136 136 000 Old_age Always - 44 (Min/Max 12/51)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 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% 8 -
# 2 Short offline Completed without error 00% 3 -
# 3 Short offline Completed without error 00% 3 -
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.

 

smartctl --all /dev/sdb

 

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.8.13-xxxx-std-ipv6-64] (local build)

Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA DT01ACA050
Serial Number: Z2HJ3ERPS
LU WWN Device Id: 5 000039 ff2d56a5d
Firmware Version: MS1OA750
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Wed Jun 19 09:34:21 2013 CEST
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: (0x80) Offline data collection activity
was never started.
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: ( 4934) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 83) minutes.
SCT capabilities: (0x003d) 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 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 135 135 054 Pre-fail Offline - 96
3 Spin_Up_Time 0x0007 128 128 024 Pre-fail Always - 179 (Average 180)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 27
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 115 115 020 Pre-fail Offline - 34
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 1845
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 27
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 27
193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 27
194 Temperature_Celsius 0x0002 122 122 000 Old_age Always - 49 (Min/Max 13/52)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 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% 8 -
# 2 Short offline Completed without error 00% 3 -
# 3 Short offline Completed without error 00% 3 -
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.

 

kernel.log

 

 

Jun 19 09:29:44 rescue kernel: REISERFS warning (device md2): sh-2021 reiserfs_fill_super: can not find reiserfs on md2

Jun 19 09:29:44 rescue kernel: EXT3-fs (md2): error: can't find ext3 filesystem on dev md2.
Jun 19 09:29:44 rescue kernel: EXT2-fs (md2): error: can't find an ext2 filesystem on dev md2.
Jun 19 09:29:44 rescue kernel: EXT4-fs (md2): VFS: Can't find ext4 filesystem
Jun 19 09:29:44 rescue kernel: cramfs: wrong magic
Jun 19 09:29:44 rescue kernel: FAT-fs (md2): bogus number of reserved sectors
Jun 19 09:29:44 rescue kernel: FAT-fs (md2): Can't find a valid FAT filesystem
Jun 19 09:29:44 rescue kernel: FAT-fs (md2): bogus number of reserved sectors
Jun 19 09:29:44 rescue kernel: FAT-fs (md2): Can't find a valid FAT filesystem
Jun 19 09:29:44 rescue kernel: ISOFS: Unable to identify CD-ROM format.

 

 

Chciałbym chociaż odzyskać dane...

Edytowano przez McAs (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Up.

 

Tylu jest specjalistów na forum i nikt nawet nie ma pomysłu czy jakakolwiek jest możliwość odzysku danych lub zamontownia "md2"

 

 

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość patrys

Bo w takich rzeczach nie pomaga się na forum, a potrzebna jest interwencja na serwerze.

  • Upvote 1

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się

Zaloguj się, aby obserwować  

×