Un disque est fait pour stocker des données, pas forcément les préserver.


Voici le récit d'une tentative de récupération d'une Icybox en RAID-1 (disques miroirs) contenant principalement des photos en RAW _a priori_


récupérer une icybox en ntfs

déjà, mieux vaut avoir l'alim' + le connecteur USB3

extraire chacun des disques et les brancher en sata2 est un peu plus efficace (même si aucun des deux disques n'est lisible :/)

C'est 2 Tio à analyser (oui, le NTFS semble limité en nombres de secteurs o_O), ce n'est pas une carte SD de 64 Gio... donc, bon, c'est un peu plus long => au final compter 48h pour 2 To...



Utilisation d'outils de récupération

je suis repassé ce soir pour rebrancher le disque 1 et essayer photorec
au bout d'une heure j'ai des stats déplorables :
Pass 1 - Reading sector 6173658/4294967295, 751 files found
Elapsed time 0h58m25s - Estimated time to completion 674h47m15

et uniquement 751 fichiers récupérés pour l'instant...

Sur le disque 2, j'avais lancé testdisq qui ne m'a récupéré que $RECYCLE_BIN (bon ~250 Go et ~6000 fichiers mais sur les 2 To, ça fait
peu...)
J'ai écrit des données (je crois, ce qui fait qu'il ne voit pas d'autres répertoires alors que photorec en a déjà trouvé 2).

Le truc est censé être en RAID1 donc miroir l'un de l'autre (même si le miroir semblait en reconstruction...)


Donc, bon pour l'instant :
je vais regarder scrounge_ntfs et d'autres logiciels... Je pensais en trouver un qui privilégierait trouver des fichiers répertoires et à partir de là récupérer le max possible (j'avais ça sous DOS...), ce serait plus efficace que de parcourir tous les secteurs pour tenter de réassembler des fichiers (dont il y a les pointeurs dans les fichiers répertoire, justement...).




ah tiens, ça s'est amélioré

Pass 1 - Reading sector 1260141052/4294967295, 106533 files found
Elapsed time 10h33m41s - Estimated time to completion 25h26m06


Pass 1 - Reading sector 2084188316/4294967295, 197838 files found
Elapsed time 15h15m19s - Estimated time to completion 16h10m54

Pass 1 - Reading sector 3557866922/4294967295, 385861 files found
Elapsed time 30h33m48s - Estimated time to completion 6h19m55
txt: 256568 recovered
jpg: 85704 recovered
tif: 39666 recovered
zip: 978 recovered
doc: 826 recovered
pdf: 725 recovered
sqlite: 289 recovered
mov: 288 recovered
tx?: 214 recovered
png: 202 recovered
others: 401 recovered

du -sk *|sort -n |tail
12271236 recup_dir.13
12614988 recup_dir.766
12668168 recup_dir.407
12951488 recup_dir.157
13353896 recup_dir.5
13359604 recup_dir.769
13406308 recup_dir.764
15952344 recup_dir.761
21684476 recup_dir.753
35389168 recup_dir.159


Disk /dev/sdb - 3000 GB / 2794 GiB (RO) - TOSHIBA DT01ACA300
Partition Start End Size in sectors
1 * HPFS - NTFS 16 113 34 267365 202 36 4294967295

433483 files saved in /media/glh/Backup/photorec/recup_dir directory.
Recovery completed.


Fourniture des données

Icybox repart en reconstruction du RAID-1 quand on remet les deux disques dedans. Le disque 2 est considéré bon, pas le 1er... même si aucun des deux n'est lisible...



L'alim' est sans doute défaillante. Elle génère des sautes de tension à la synchronisation des disques... Pas possible de laisser la resynchro se faire au fablab...

Reprendre le disque 1 en sata2 :
Voir si faire le ménage des fichiers txt récupérés, permettrait de voir la place disque réellement occupée

À la fin :

Retours d'expérience

du raid-1 n'est pas une sauvegarde
https://linuxfr.org/news/testdisk-photorec-610 en juillet-2008
https://linuxfr.org/users/gbetous/journaux/raid-is-no-backup en septembre-2017

demande d'infos : https://linuxfr.org/forums/general-cherche-logiciel/posts/recup-de-disque-dur-en-ntfs-photorec-ou-testdisk

Sauvegarder ses données

maîtriser le stockage totale et les mises à jour, déterminer la perte de données admissible ? (PDMA)


Historiser ses données


conserver ses données dans la durée



Archiver ses données


retrouver ses données 30 ans après, 200 ans, 3 M années ?
à qui cela sert ?


Prises de notes avant reformatage / diagnostic des erreurs sur disque


root@glh-MS-7550:~# smartctl --all /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.8.0-59-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 3.5" DT01ACA... Desktop HDD
Device Model:     TOSHIBA DT01ACA300
Serial Number:    6431H45GS
LU WWN Device Id: 5 000039 ff4dcdc31
Firmware Version: MX6OABB0
User Capacity:    3 000 592 982 016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Oct 16 20:50:50 2017 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: 		(22222) 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: 	 ( 371) 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   139   139   054    Pre-fail  Offline      -       71
  3 Spin_Up_Time            0x0007   144   144   024    Pre-fail  Always       -       401 (Average 393)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1029
  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   124   124   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   098   098   000    Old_age   Always       -       15293
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       105
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1043
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       1043
194 Temperature_Celsius     0x0002   187   187   000    Old_age   Always       -       32 (Min/Max 19/53)
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
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.


Failed to read last sector (5860159486): Argument invalide
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb1': Argument invalide
The device '/dev/sdb1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

Impossible de lire le contenu du système de fichiers.
Pour cette raison, certaines opérations peuvent être indisponibles.
La raison peut être l'absence d'un paquet logiciel.
Voici la liste des paquets logiciels nécessaires pour la prise en charge du système de fichiers ntfs : ntfs-3g / ntfsprogs.


Infos smarts après test long :

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.8.0-59-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 3.5" DT01ACA... Desktop HDD
Device Model:     TOSHIBA DT01ACA300
Serial Number:    6431H45GS
LU WWN Device Id: 5 000039 ff4dcdc31
Firmware Version: MX6OABB0
User Capacity:    3 000 592 982 016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Oct 18 14:29:12 2017 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:  (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:                (22222) 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:        ( 371) 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   139   139   054    Pre-fail  Offline      -       71
  3 Spin_Up_Time            0x0007   144   144   024    Pre-fail  Always       -       401 (Average 393)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1029
  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   124   124   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   098   098   000    Old_age   Always       -       15334
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       105
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1043
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       1043
194 Temperature_Celsius     0x0002   162   162   000    Old_age   Always       -       37 (Min/Max 19/53)
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  Extended offline    Completed without error       00%     15300         -
# 2  Short offline       Completed without error       00%     15293         -

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.



CategoryHobby CategoryFablab
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki