Refuznik wrote:Bon sinon pour revenir à ce que je disais au départ testdisk et autres outils peuvent te permettre de récupérer au moins une partie de ce que tu as perdue à tester
http://itknowledgeexchange.techtarget.c … -testdisk/
je me tourne donc vers une récupération avec
testdisk donc
installation :
yum install testdisk
utilisation :
testdisk /dev/sdb1
qui me renvois :
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.
Select a media (use Arrow keys, then press Enter):
>Disk /dev/sdb1 - 2000 GB / 1863 GiB - WDC WD20EARX-00PASB0
>[Proceed ] [ Quit ]
Note: Disk capacity must be correctly detected for a successful recovery.
If a disk listed above has incorrect size, check HD jumper settings, BIOS
detection, and install the latest OS patches and disk drivers.
je "proceed"
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - WDC WD20EARX-00PASB0
Please select the partition table type, press Enter when done.
[Intel ] Intel/PC partition
[EFI GPT] EFI GPT partition map (Mac i386, some x86_64...)
[Humax ] Humax partition table
[Mac ] Apple partition map
>[None ] Non partitioned media
[Sun ] Sun Solaris partition
[XBox ] XBox partition
[Return ] Return to disk selection
Note: Do NOT select 'None' for media with only a single partition. It's very
rare for a drive to be 'Non-partitioned'.
par défaut j'ai NONE de selectionné :
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
>[ Analyse ] Analyse current partition structure and search for lost partitions
[ Advanced ] Filesystem Utils
[ Geometry ] Change disk geometry
[ Options ] Modify options
[ Quit ] Return to disk selection
Note: Correct disk geometry is required for a successful recovery. 'Analyse'
process may give some warnings if it thinks the logical geometry is mismatched.
J'analyse :
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:
Partition Start End Size in sectors
P Linux LVM2 0 0 1 243201 45 44 3907026944
>[Quick Search]
Try to locate partition
LVM2 est en vert
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
Partition Start End Size in sectors
>P Linux LVM2 0 0 1 243201 45 44 3907026944
Structure: Ok.
Keys T: change type,
Enter: to continue
LVM2, 2000 GB / 1863 GiB
et là....
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
Partition Start End Size in sectors
P Linux LVM2 0 0 1 243201 45 44 3907026944
Write isn't available because the partition table type "None" has been selected.
[ Quit ] >[Deeper Search]
Try to find more partitions
Par contre si je vais dans ADVANCE :
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
[ Analyse ] Analyse current partition structure and search for lost partitions
>[ Advanced ] Filesystem Utils
[ Geometry ] Change disk geometry
[ Options ] Modify options
[ Quit ] Return to disk selection
Note: Correct disk geometry is required for a successful recovery. 'Analyse'
process may give some warnings if it thinks the logical geometry is mismatched.
et que je lance la création d'une image :
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
Partition Start End Size in sectors
> P Linux LVM2 0 0 1 243201 45 44 3907026944
[ Type ] >[Image Creation] [ Quit ]
Create an image
il va me faloir un disque au moins aussi grand pour l'image disque ?
En fait moi je veux simplement récupérer les données qui sont dessus...
d'habitude je fesai :
- vgscan
- vgchange -ay
nom_vg
- mount /dev/mappe/
nom_vg /chemin/de/recup
et je retrouvai tout mais pas là !