OVH Community, your new community space.

URGENTE: Disco duro roto y modo rescue-pro


kennysamuerto
10/02/2014, 13:08
Si en rescue no ves nada, es porque no tienes montadas las particiones.

Montalas (por lo que veo tienes RAID) asi que sera:

mount /dev/md1 /mnt/
mount /dev/md2 /mnt/home (o var, depende de si tienes un panel u otro, o como lo tienes montado).

Luego haces chroot, y sacas los datos que necesites. Pides el cambio de disco... y lo primero es tratar de sincronizar el RAID, ya que probablemente, ni siquiera tengas que usar el backup.

Saludos

todoiphone
10/02/2014, 10:17
root@rescue:~# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000b8f8

Device Boot Start End Blocks Id System
/dev/sda1 63 40962048 20480993 fd Linux raid autodetect
/dev/sda2 40962049 1952473088 955755520 fd Linux raid autodetect
/dev/sda3 1952473089 1953520064 523488 82 Linux swap / Solaris

Disk /dev/md2: 978.7 GB, 978693586944 bytes
2 heads, 4 sectors/track, 238938864 cylinders, total 1911510912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md1: 21.0 GB, 20972437504 bytes
2 heads, 4 sectors/track, 5120224 cylinders, total 40961792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

---

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST31000528AS
Serial Number: 9VP3552F
LU WWN Device Id: 5 000c50 01ecf502a
Firmware Version: CC38
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: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Mon Feb 10 11:15:12 2014 CET
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: ( 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: ( 179) 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 100 079 006 Pre-fail Always - 46851930
3 Spin_Up_Time 0x0003 094 094 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 138
5 Reallocated_Sector_Ct 0x0033 081 081 036 Pre-fail Always - 795
7 Seek_Error_Rate 0x000f 072 059 030 Pre-fail Always - 94883283229
9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36393
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 69
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 001 001 000 Old_age Always - 65535
188 Command_Timeout 0x0032 100 097 000 Old_age Always - 40
189 High_Fly_Writes 0x003a 098 098 000 Old_age Always - 2
190 Airflow_Temperature_Cel 0x0022 067 050 045 Old_age Always - 33 (Min/Max 32/33)
194 Temperature_Celsius 0x0022 033 050 000 Old_age Always - 33 (0 12 0 0)
195 Hardware_ECC_Recovered 0x001a 032 015 000 Old_age Always - 46851930
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 9
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 9
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 154859340861157
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 1504465697
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 4231172901

SMART Error Log Version: 1
ATA Error Count: 7575 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 7575 occurred at disk power-on lifetime: 36382 hours (1515 days + 22 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 9f 08 0d 0e Error: UNC at LBA = 0x0e0d089f = 235735199

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 99 08 0d ee 00 00:05:49.616 READ DMA
27 00 00 00 00 00 e0 00 00:05:49.615 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 a0 00 00:05:49.607 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00 00:05:49.601 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 00:05:49.579 READ NATIVE MAX ADDRESS EXT

Error 7574 occurred at disk power-on lifetime: 36382 hours (1515 days + 22 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 9f 08 0d 0e Error: UNC at LBA = 0x0e0d089f = 235735199

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 99 08 0d ee 00 00:05:46.443 READ DMA
27 00 00 00 00 00 e0 00 00:05:46.442 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 a0 00 00:05:46.434 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00 00:05:46.429 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 00:05:46.406 READ NATIVE MAX ADDRESS EXT

Error 7573 occurred at disk power-on lifetime: 36382 hours (1515 days + 22 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 9f 08 0d 0e Error: UNC at LBA = 0x0e0d089f = 235735199

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 99 08 0d ee 00 00:05:43.290 READ DMA
27 00 00 00 00 00 e0 00 00:05:43.289 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 a0 00 00:05:43.281 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00 00:05:43.274 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 00:05:43.249 READ NATIVE MAX ADDRESS EXT

Error 7572 occurred at disk power-on lifetime: 36382 hours (1515 days + 22 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 9f 08 0d 0e Error: UNC at LBA = 0x0e0d089f = 235735199

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 99 08 0d ee 00 00:05:40.065 READ DMA
27 00 00 00 00 00 e0 00 00:05:40.064 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 a0 00 00:05:40.056 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00 00:05:40.052 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 00:05:40.028 READ NATIVE MAX ADDRESS EXT

Error 7571 occurred at disk power-on lifetime: 36382 hours (1515 days + 22 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 9f 08 0d 0e Error: UNC at LBA = 0x0e0d089f = 235735199

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 99 08 0d ee 00 00:05:36.844 READ DMA
27 00 00 00 00 00 e0 00 00:05:36.843 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 a0 00 00:05:36.835 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00 00:05:36.830 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 00:05:36.807 READ NATIVE MAX ADDRESS EXT

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

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.

todoiphone
10/02/2014, 09:44
Hola, ayer me llegó un email de OVH diciendo esto:

Un disco de xxx.kimsufi.com ha sido detectado como
defectuoso y debe ser reemplazado por nuestros
tecnicos. Con el fin de que no pierda los datos que
contiene, le aconsejamos que lo mejor es que realice
una copia de seguridad y responda a este ticket una
vez esta hecha la copia de seguridad.

!! ATENCION !! Todo nuevo fallo puede provocar la perdida
irremediable de sus datos

Le podemos proponer la compra y el envio de este disco
por UPS. Para esta operacion, le rogamos se ponga en
contacto
con nuestro servicio comercial en el nUmero
902 106 113

Si no hay una respuesta de su parte, la intervencion sera
realizada en 10 dias a contar desde en envio de este mail.

Si desea mas detalles sobre el informe tecnico de la
intervencion, le rogamos contacte con nuestro soporte
tecnico.


La cuestión es que no se cómo hacer la copia de seguridad puesto que si accedo por FTP al modo rescue no veo casi nada...
Estoy pensando también en contratar a una empresa y llevarme todo a un administrado.
Pero cómo para empezar hago una copia de seguridad?

Gracias!