HDD versehentlich auf FAT32 formatiert

TestDisk benutzen um das Dateisystem zu reparieren
Forum rules
Your help is welcome: there are currently few answers or none to most message posted in the German forum!
If you want to post a request for help, please consider using the English forum.
Locked
Message
Author
Tofu
Posts: 4
Joined: 01 Oct 2019, 18:35

HDD versehentlich auf FAT32 formatiert

#1 Post by Tofu »

Hallo Zusammen.

Wollte mir einen USB Stick zur Win10 Installation erstellen und habe versehentlich eine externe 4TB Seagate USB Festplatte angegeben. Diese ist jetzt leer und wird mit 32GB erkannt.
Habe über Nacht TestDisk laufen lassen und es blieb bei 19% stehen. Was kann ich tun?

Log:


Mon Sep 30 22:28:47 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=4000787029504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=4000787029504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=511500615680
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=34359738368
Hard disk list
Disk /dev/sda - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512 - XPG GAMMIX S11 Pro, S/N:2J3120058384 _00000001., FW:42B1S6HA
Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63, sector size=512 - Seagate Expansion Desk, S/N:NA8E52KT, FW:9401

Partition table type (auto): EFI GPT
Disk /dev/sdb - 4000 GB / 3726 GiB - Seagate Expansion Desk
Partition table type: EFI GPT

Analyse Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=7814037166 (expected 7814037166)
hdr_lba_start=34
hdr_lba_end=7814037133
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
Current partition structure:
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]

search_part()
Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63
FAT32 at 0/32/33
FAT1 : 8196-16385
FAT2 : 16386-24575
start_rootdir : 24576 root cluster : 2
Data : 24576-67108863
sectors : 67108864
cluster_size : 64
no_of_cluster : 1048192 (2 - 1048193)
fat_length 8190 calculated 8190

FAT32 at 0/32/33
FAT: cluster=2(0x2), pos=26624
MS Data 2048 67110911 67108864 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
FAT12 at 7202/5/52
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-3
FAT2 : 4-6
start_rootdir : 7
Data : 39-4094
sectors : 4096
cluster_size : 4
no_of_cluster : 1014 (2 - 1015)
fat_length 3 calculated 3
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7202/5/52
MS Data 115700496 115704591 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB

HFS+ magic value at 7290/61/20

HFS+ magic value at 7290/61/20
part_size 2048
Mac HFS 117117712 117119759 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
FAT12 at 7290/126/21
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-3
FAT2 : 4-6
start_rootdir : 7
Data : 39-4094
sectors : 4096
cluster_size : 4
no_of_cluster : 1014 (2 - 1015)
fat_length 3 calculated 3
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7290/126/21
MS Data 117121808 117125903 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB

HFS+ magic value at 7385/184/48

HFS+ magic value at 7385/184/48
part_size 2048
Mac HFS 118651664 118653711 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 120341730 21693807508161761 21693807387820032 [oõí|è
7á#>ÿoh¼Œd8@ý`íiƒ»Ô¤0½%é]
BeFS blocksize=4194304, 11107229 TB / 10101966 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.
FAT12 at 7723/173/47
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4540
sectors : 4544
cluster_size : 4
no_of_cluster : 1125 (2 - 1126)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7723/173/47
EFI System 124080940 124085483 4544 [EFI System Partition]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
FAT12 at 12045/54/22
FAT1 : 1-9
FAT2 : 10-18
start_rootdir : 19
Data : 33-2879
sectors : 2880
cluster_size : 1
no_of_cluster : 2847 (2 - 2848)
fat_length 9 calculated 9
heads/cylinder 2 (FAT) != 255 (HD)
sect/track 18 (FAT) != 63 (HD)

FAT12 at 12045/54/22
MS Data 193506348 193509227 2880 [BALDER10]
FAT12, blocksize=512, 1474 KB / 1440 KiB

0 0000 0000 00 00 00 00 00 00 00 00
Unknown 226072859 24092499013900570 24092498787827712
WBFS, 12335359 TB / 11218944 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.
FAT12 at 29424/13/22
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4668
sectors : 4672
cluster_size : 4
no_of_cluster : 1157 (2 - 1158)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 29424/13/22
EFI System 472697400 472702071 4672 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2392 KB / 2336 KiB
FAT12 at 29636/50/31
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4540
sectors : 4544
cluster_size : 4
no_of_cluster : 1125 (2 - 1126)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 29636/50/31
EFI System 476105520 476110063 4544 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
check_FAT: Bad number of sectors per cluster
file_pread(5,2,buffer,7814037503(486401/86/21)) lseek err Invalid argument
file_pread(5,1,buffer,7814037503(486401/86/21)) lseek err Invalid argument
Search for partition aborted

Results
P MS Data 2048 67110911 67108864 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
P MS Data 115700496 115704591 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB
P Mac HFS 117117712 117119759 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
P MS Data 117121808 117125903 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB
P Mac HFS 118651664 118653711 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
P EFI System 124080940 124085483 4544 [EFI System Partition]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
P MS Data 193506348 193509227 2880 [BALDER10]
FAT12, blocksize=512, 1474 KB / 1440 KiB
P EFI System 472697400 472702071 4672 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2392 KB / 2336 KiB
P EFI System 476105520 476110063 4544 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2326 KB / 2272 KiB

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#2 Post by recuperation »

Hallo Tofu,
Tofu wrote: 01 Oct 2019, 19:02 Hallo Zusammen.

Wollte mir einen USB Stick zur Win10 Installation erstellen und habe versehentlich eine externe 4TB Seagate USB Festplatte angegeben. Diese ist jetzt leer und wird mit 32GB erkannt.
Habe über Nacht TestDisk laufen lassen und es blieb bei 19% stehen. Was kann ich tun?
der Log-Datei nach sollte die die Seagte-Festplatte mit 4TB nach wie vor 4TB groß sein, was man in der Datenträgerverwaltung sehen können sollte.
Lediglich das D:-Laufwerk ist 32GB groß.

Das Stehenbleiben von Testdisk suggeriert Lesefehlerprobleme der 4TB-Festplatte.
Bitte mit ddrescue eine Kopie der 4TB-Festplatte erstellen und auf diese Kopie Testdisk anwenden.

Zwecks Fehlerschnelldiagnose der 4TB-Festplatte wäre es auch sinnvoll, die SMART-Parameter mit smartmontools oder CrystalDiskInfo auszulesen und hier einzustellen.

Tofu
Posts: 4
Joined: 01 Oct 2019, 18:35

Re: HDD versehentlich auf FAT32 formatiert

#3 Post by Tofu »

Hallo recuperation,
habe TestDisk noch einmal durchlaufen lassen und diesmal gab es keine Probleme.
Neue Bitmap2.jpg
Neue Bitmap2.jpg (36.8 KiB) Viewed 9794 times
CrystalDiskInfo findet die externe Platte nicht und smartmontools gibt mir den Fehler: "Read Device Identity failed: IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=1117"

Log:

Fri Oct 4 02:48:51 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=4000787029504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=4000787029504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=511500615680
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=34359738368
Hard disk list
Disk /dev/sda - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512 - XPG GAMMIX S11 Pro, S/N:2J3120058384 _00000001., FW:42B1S6HA
Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63, sector size=512 - Seagate Expansion Desk, S/N:NA8E52KT, FW:9401

Partition table type (auto): EFI GPT
Disk /dev/sdb - 4000 GB / 3726 GiB - Seagate Expansion Desk
Partition table type: EFI GPT

Analyse Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=7814037166 (expected 7814037166)
hdr_lba_start=34
hdr_lba_end=7814037133
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
Current partition structure:
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]

search_part()
Disk /dev/sdb - 4000 GB / 3726 GiB - CHS 486401 255 63
FAT32 at 0/32/33
FAT1 : 8196-16385
FAT2 : 16386-24575
start_rootdir : 24576 root cluster : 2
Data : 24576-67108863
sectors : 67108864
cluster_size : 64
no_of_cluster : 1048192 (2 - 1048193)
fat_length 8190 calculated 8190

FAT32 at 0/32/33
FAT: cluster=2(0x2), pos=26624
MS Data 2048 67110911 67108864 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
FAT12 at 7202/5/52
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-3
FAT2 : 4-6
start_rootdir : 7
Data : 39-4094
sectors : 4096
cluster_size : 4
no_of_cluster : 1014 (2 - 1015)
fat_length 3 calculated 3
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7202/5/52
MS Data 115700496 115704591 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB

HFS+ magic value at 7290/61/20

HFS+ magic value at 7290/61/20
part_size 2048
Mac HFS 117117712 117119759 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
FAT12 at 7290/126/21
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-3
FAT2 : 4-6
start_rootdir : 7
Data : 39-4094
sectors : 4096
cluster_size : 4
no_of_cluster : 1014 (2 - 1015)
fat_length 3 calculated 3
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7290/126/21
MS Data 117121808 117125903 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB

HFS+ magic value at 7385/184/48

HFS+ magic value at 7385/184/48
part_size 2048
Mac HFS 118651664 118653711 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 120341730 21693807508161761 21693807387820032 [oõí|è
7á#>ÿoh¼Œd8@ý`íiƒ»Ô¤0½%é]
BeFS blocksize=4194304, 11107229 TB / 10101966 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.
FAT12 at 7723/173/47
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4540
sectors : 4544
cluster_size : 4
no_of_cluster : 1125 (2 - 1126)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 7723/173/47
EFI System 124080940 124085483 4544 [EFI System Partition]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
FAT12 at 12045/54/22
FAT1 : 1-9
FAT2 : 10-18
start_rootdir : 19
Data : 33-2879
sectors : 2880
cluster_size : 1
no_of_cluster : 2847 (2 - 2848)
fat_length 9 calculated 9
heads/cylinder 2 (FAT) != 255 (HD)
sect/track 18 (FAT) != 63 (HD)

FAT12 at 12045/54/22
MS Data 193506348 193509227 2880 [BALDER10]
FAT12, blocksize=512, 1474 KB / 1440 KiB

0 0000 0000 00 00 00 00 00 00 00 00
Unknown 226072859 24092499013900570 24092498787827712
WBFS, 12335359 TB / 11218944 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.
FAT12 at 29424/13/22
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4668
sectors : 4672
cluster_size : 4
no_of_cluster : 1157 (2 - 1158)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 29424/13/22
EFI System 472697400 472702071 4672 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2392 KB / 2336 KiB
FAT12 at 29636/50/31
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4540
sectors : 4544
cluster_size : 4
no_of_cluster : 1125 (2 - 1126)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 29636/50/31
EFI System 476105520 476110063 4544 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
check_FAT: Bad number of sectors per cluster
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 1891398356 1354003655139680 1354001763741324 [ñMnß¡£jNÓ-DÁJ)üÞ‚LÁqñ÷V]
BeFS blocksize=128, 693248 TB / 630506 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.

SYSV4 Marker at 149081/228/57

recover_sysv4
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 2395000685 184278714220 181883713536 [såØþý]
SysV4, 93 TB / 84 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.
check_FAT: Bad number of sectors per cluster

SYSV4 Marker at 175564/197/20

recover_sysv4
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 2820448090 2820448089 0 [0Ûö°Ö~]
SysV4, 0 B
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.

SYSV4 Marker at 195826/221/49

recover_sysv4
0 0000 0000 00 00 00 00 00 00 00 00
Unknown 3145958661 2232036180228 2228890221568 [4sá8‚]
SysV4, 1141 TB / 1037 TiB
0 0000 0000 00 00 00 00 00 00 00 00
Partition not added.

HFS magic value at 205772/47/19
part_size 728079296
Mac HFS 3305730159 4033809454 728079296 [†°N…_2Øçdo§V<GŒØóR¦ç(m^Áqñ÷V]
HFS blocksize=33554432, 372 GB / 347 GiB
file_pread(5,1,buffer,7814037168(486401/81/1)) lseek err Invalid argument
file_pread(5,1,buffer,7814037169(486401/81/2)) lseek err Invalid argument
file_pread(5,1,buffer,7814037170(486401/81/3)) lseek err Invalid argument
file_pread(5,1,buffer,7814037171(486401/81/4)) lseek err Invalid argument

***Seitenweise file_pread entfernt wegen Forenlimit ***

file_pread(5,1,buffer,7814037166(486401/80/62)) ReadFile Die Anforderung konnte wegen eines E/A-Gerätefehlers nicht ausgeführt werden.

file_pread(5,1,buffer,7814037167(486401/80/63)) ReadFile Die Anforderung konnte wegen eines E/A-Gerätefehlers nicht ausgeführt werden.

file_pread(5,14,buffer,7814037168(486401/81/1)) lseek err Invalid argument
file_pread(5,1,buffer,7814037184(486401/81/17)) lseek err Invalid argument
file_pread(5,1,buffer,7814037231(486401/82/1)) lseek err Invalid argument
file_pread(5,8,buffer,7814037245(486401/82/15)) lseek err Invalid argument
file_pread(5,11,buffer,7814037292(486401/82/62)) lseek err Invalid argument
file_pread(5,1,buffer,7814039215(486401/113/32)) lseek err Invalid argument
file_pread(5,1,buffer,7814037182(486401/81/15)) lseek err Invalid argument
file_pread(5,1,buffer,7814037185(486401/81/18)) lseek err Invalid argument
file_pread(5,1,buffer,7814037232(486401/82/2)) lseek err Invalid argument
file_pread(5,1,buffer,7814037253(486401/82/23)) lseek err Invalid argument
file_pread(5,1,buffer,7814037303(486401/83/10)) lseek err Invalid argument
file_pread(5,1,buffer,7814039216(486401/113/33)) lseek err Invalid argument

Results
P MS Data 2048 67110911 67108864 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
P MS Data 115700496 115704591 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB
P Mac HFS 117117712 117119759 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
P MS Data 117121808 117125903 4096 [KANOTIX_EFI]
FAT12, blocksize=2048, 2097 KB / 2048 KiB
P Mac HFS 118651664 118653711 2048
HFS+ blocksize=4096 + Backup, 1048 KB / 1024 KiB
P EFI System 124080940 124085483 4544 [EFI System Partition]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
P MS Data 193506348 193509227 2880 [BALDER10]
FAT12, blocksize=512, 1474 KB / 1440 KiB
P EFI System 472697400 472702071 4672 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2392 KB / 2336 KiB
P EFI System 476105520 476110063 4544 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2326 KB / 2272 KiB
P Mac HFS 3305730159 4033809454 728079296 [†°N…_2Øçdo§V<GŒØóR¦ç(m^Áqñ÷V]
HFS blocksize=33554432, 372 GB / 347 GiB

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#4 Post by recuperation »

Bei den smartmontools bitte mal den -d-Parameter ausprobieren:
https://www.smartmontools.org/wiki/Supp ... SB-Devices

Befand sich auf der 4TB-Festplatte nur eine Partition?
In Testdisk bitte einmal in die Partitionen hereinschauen und gucken, ob irgendwo noch alte Daten zu sehen sind, die man mit dem "p"-Befehl herauskopieren kann, eventuell auch die Funktion "deep search" benutzen.

Wenn Testdisk scheitert, steht auch noch Photorec zur Verfügung.

Tofu
Posts: 4
Joined: 01 Oct 2019, 18:35

Re: HDD versehentlich auf FAT32 formatiert

#5 Post by Tofu »

smartd -d

smartd 7.0 2018-12-30 r4883 [x86_64-w64-mingw32-w10-b18362] (sf-7.0-1)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Opened configuration file C:/Program Files/smartmontools/bin/smartd.conf
Drive: DEVICESCAN, implied '-a' Directive on line 23 of file C:/Program Files/smartmontools/bin/smartd.conf
Configuration file C:/Program Files/smartmontools/bin/smartd.conf was parsed, found DEVICESCAN, scanning devices
Device: /dev/sda, opened
Device: /dev/sda, XPG GAMMIX S11 Pro, S/N:2J3120058384, FW:42B1S6HA
Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Device: /dev/sdb, opened
Device: /dev/sdb, [Seagate Expansion Desk 9401], lu id: 0x5000000000000001, S/N: NA8E52KT, 4.00 TB
Device: /dev/sdb, Bad IEC (SMART) mode page, err=-5, skip device
Unable to register SCSI device /dev/sdb at line 23 of file C:/Program Files/smartmontools/bin/smartd.conf
Device: /dev/sdc, opened
Device: /dev/sdc, [Seagate Expansion Desk 0915], lu id: 0x3e4141414d534c37, S/N: NAAAMSL7, 6.00 TB
Device: /dev/sdc, Bad IEC (SMART) mode page, err=-5, skip device
Unable to register SCSI device /dev/sdc at line 23 of file C:/Program Files/smartmontools/bin/smartd.conf
Monitoring 0 ATA/SATA, 0 SCSI/SAS and 1 NVMe devices
Device: /dev/sda, opened NVMe device

Die 4TB Seagate ist die entsprechende Platte.
Ja, die Platte hatte nur eine Partition.
Wie kann ich denn in Testdisk in die Partitionen gucken?
Der scan hat 3 Tage gedauert, "deep search" hört sich da nicht so verlockend an.
Was sagen uns denn die ganzen TestDisk Ergebnisse? Idealerweise würde ich ja die HDD wieder von FAT32 auf NTFS ändern.

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#6 Post by recuperation »

smartd ist nicht der richtige Befehl.
Der passende Befehl für smartmontools könnte unter Windows in etwa so lauten:
smartctl -a /dev/sdb > C:\tofulog.txt

Bei externen Festplatten ist eventuell der -d-Parameter nötig.

Der Scan erscheint mir mit 4TB in 3 Tagen, also mit ca 15 MByte/sec langsam zu sein.
Bitte "tofulog.txt" veröffentlichen.

Auf dem Mini-Bildschirmfoto steht drauf:
Mit den Cursortasten "rauf/runter" die Partition auswählen und mit "P" die Dateien auflisten.

Die Logdatei drückt aus, dass sich am Anfang der 4TB-Festplatte eine Partition mit 32GB befindet.

Tofu
Posts: 4
Joined: 01 Oct 2019, 18:35

Re: HDD versehentlich auf FAT32 formatiert

#7 Post by Tofu »

Danke für die Erklärungen und für die Hilfe natürlich.

Ist halt die günstige Seagate Expansion Drive, wundert mich nicht, dass die langsam ist, war auch nur ein Datengrab.

Leider habe ich das Scanergebnis mittlerweile nicht mehr. Bringt es was erneut 3 Tage zu scannen oder kann ich auf das Ergebnis anders zugreifen?

Das mit den 32GB ist ja logisch, schließlich ist die Platte auf FAT32 geändert worden. Vorher war es eine ganz normale 4TB NTFS. Habe gehofft ich könnte den MFT wieder herstellen oder das ganze sonstwie rückgängig machen, oder liege ich da mit TestDisk falsch?



smartctl -d sat -a /dev/sdb > C:\tofulog.txt

smartctl 7.0 2018-12-30 r4883 [x86_64-w64-mingw32-w10-b18362] (sf-7.0-1)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate Desktop HDD.15
Device Model: ST4000DM000-1F2168
Serial Number: Z303KLP1
LU WWN Device Id: 5 000c50 07aef9a43
Firmware Version: CC54
User Capacity: 4.000.787.030.016 bytes [4,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5900 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Oct 09 19:38:03 2019 MS
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
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 117) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No 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: ( 500) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x1085) SCT Status 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 119 099 006 Pre-fail Always - 211844928
3 Spin_Up_Time 0x0003 094 092 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 098 098 020 Old_age Always - 2185
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 072 060 030 Pre-fail Always - 18785773
9 Power_On_Hours 0x0032 061 061 000 Old_age Always - 34424
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 44
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 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 084 000 Old_age Always - 2051 2084 2089
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 070 045 045 Old_age Always In_the_past 30 (Min/Max 22/55)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1
193 Load_Cycle_Count 0x0032 036 036 000 Old_age Always - 129170
194 Temperature_Celsius 0x0022 030 055 000 Old_age Always - 30 (0 10 0 0 0)
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 - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 3591h+06m+29.676s
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 5145338122
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 54603932112

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.

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#8 Post by recuperation »

Tofu wrote: 09 Oct 2019, 18:54 Danke für die Erklärungen und für die Hilfe natürlich.

Ist halt die günstige Seagate Expansion Drive, wundert mich nicht, dass die langsam ist, war auch nur ein Datengrab.

Leider habe ich das Scanergebnis mittlerweile nicht mehr. Bringt es was erneut 3 Tage zu scannen oder kann ich auf das Ergebnis anders zugreifen?

Das mit den 32GB ist ja logisch, schließlich ist die Platte auf FAT32 geändert worden. Vorher war es eine ganz normale 4TB NTFS. Habe gehofft ich könnte den MFT wieder herstellen oder das ganze sonstwie rückgängig machen, oder liege ich da mit TestDisk falsch?
Deine Festplatte hat zwar gottlob keine hängenden Sektoren, zeigt aber eine hohe Lesefehlerrate und erreichte eine Temperatur von 55°C was sich nachteilig für die Plattengesundheit auswirkt.
Zur Geschwindigkeit: So eine kleine Festplatte mit 1TB in 2,5'' schafft bei mir eine Dauertransferrate von 60MB/Sekunde an meinem alten Thinkpad von 2008 über USB 3.0-Adapter, also eher nachteiligen Betriebsbedingungen, da sind die 15MB/Sekunde selbst bei einer Partitionssuche eher als langsam anzusehen.

Deine Platte hat nach wie vor 4TB. Es ist lediglich eine kleine Partition mit 32GB eingerichtet worden.

Die MFT ist nicht wiederherstellbar wenn sie überschrieben wurde. Unter bestimmten Bedingungen, wenn z.B. nur der Bootsektor unlesbar oder falsch ist, lässt sich die Partition mit einem Nachbaubootsektor wieder verfügbar machen.
Die MFT muss aber nicht unbedingt in den ersten 32GB gelegen haben. Vielleicht wurde bei der Schnellformatierung? der 32GB-Partition eine eventuell vorhandene MFT verschont.

Ich habe eine Idee, weiß aber nicht, ob Testdisk das kann. Ich muss da mal Christophe Grenier fragen.
In der Zwischenzeit würde ich anstelle von Testdisk gucken, ob mit Photorec etwas wiederherzustellen ist.

Welche Scan-Art hat denn jetzt 3 Tage gedauert?






smartctl -d sat -a /dev/sdb > C:\tofulog.txt

smartctl 7.0 2018-12-30 r4883 [x86_64-w64-mingw32-w10-b18362] (sf-7.0-1)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate Desktop HDD.15
Device Model: ST4000DM000-1F2168
Serial Number: Z303KLP1
LU WWN Device Id: 5 000c50 07aef9a43
Firmware Version: CC54
User Capacity: 4.000.787.030.016 bytes [4,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5900 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Oct 09 19:38:03 2019 MS
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
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 117) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No 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: ( 500) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x1085) SCT Status 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 119 099 006 Pre-fail Always - 211844928
3 Spin_Up_Time 0x0003 094 092 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 098 098 020 Old_age Always - 2185
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 072 060 030 Pre-fail Always - 18785773
9 Power_On_Hours 0x0032 061 061 000 Old_age Always - 34424
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 44
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 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 084 000 Old_age Always - 2051 2084 2089
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 070 045 045 Old_age Always In_the_past 30 (Min/Max 22/55)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1
193 Load_Cycle_Count 0x0032 036 036 000 Old_age Always - 129170
194 Temperature_Celsius 0x0022 030 055 000 Old_age Always - 30 (0 10 0 0 0)
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 - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 3591h+06m+29.676s
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 5145338122
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 54603932112

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.
[/quote]

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#9 Post by recuperation »

Tofu wrote: 09 Oct 2019, 18:54 Ist halt die günstige Seagate Expansion Drive, wundert mich nicht, dass die langsam ist, war auch nur ein Datengrab.

Leider habe ich das Scanergebnis mittlerweile nicht mehr. Bringt es was erneut 3 Tage zu scannen oder kann ich auf das Ergebnis anders zugreifen?

Das mit den 32GB ist ja logisch, schließlich ist die Platte auf FAT32 geändert worden. Vorher war es eine ganz normale 4TB NTFS. Habe gehofft ich könnte den MFT wieder herstellen oder das ganze sonstwie rückgängig machen, oder liege ich da mit TestDisk falsch?
Deine Festplatte hat zwar gottlob keine hängenden Sektoren, zeigt aber eine hohe Lesefehlerrate und erreichte eine Temperatur von 55°C was sich nachteilig auf die Plattengesundheit auswirkt.
Zur Geschwindigkeit: So eine kleine Festplatte mit 1TB in 2,5'' schafft bei mir eine Dauertransferrate von 60MB/Sekunde an meinem alten Thinkpad von 2008 über USB 3.0-Adapter, also eher nachteiligen Betriebsbedingungen, da sind die 15MB/Sekunde selbst bei einer Partitionssuche eher als langsam anzusehen.

Deine Platte hat nach wie vor 4TB. Es ist lediglich eine kleine Partition mit 32GB eingerichtet worden.

Die MFT ist nicht wiederherstellbar wenn sie überschrieben wurde. Unter bestimmten Bedingungen, wenn z.B. nur der Bootsektor unlesbar oder falsch ist, lässt sich die Partition mit einem Nachbaubootsektor wieder verfügbar machen.
Die MFT muss aber nicht unbedingt in den ersten 32GB gelegen haben. Vielleicht wurde bei der Schnellformatierung? der 32GB-Partition eine eventuell vorhandene MFT verschont.

Ich habe eine Idee, weiß aber nicht, ob Testdisk das kann. Ich muss da mal Christophe Grenier fragen.
In der Zwischenzeit würde ich anstelle von Testdisk gucken, ob mit Photorec etwas wiederherzustellen ist.

Welche Scan-Art hat denn jetzt 3 Tage gedauert?

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: HDD versehentlich auf FAT32 formatiert

#10 Post by recuperation »

Testdisk könnte nach Rücksprache mit Christophe Grenier bei diesem Problem wie folgt helfen:

[...
Testdisk - Analyse - Quick Search - Stop - Deep search.

Mit ein bisschen Glück findet Testdisk die NTFS-Partition mit Hilfe des Backup-Bootsektors wieder.
In diesem Fall muss die gefundene Partition auf P(rimaray) gesetzt werden, "Write" ausgewählt und auf dem Folgebildschirm bestätigt werden, BackupBS und wiederum bestätigen und "Quit".
Diese Vorgehensweise würde jedoch die FAT32-Partition löschen.
...]

Ich würde noch ergänzen:
Bei Erfolg gehören die 32 GB wieder zur NTFS-Partition. Ihr Inhalt ist dann nicht mehr zugänglich.
Im schlimmsten Fall wurden beim Schrieben der 32GB FAT32-Partition 32GB an Daten und Metadaten der NTFS-Partition überschrieben.

Angesichts der auffälligen SMART-Parameter würde ich die Festplatte mit ddrescue kopieren, was dauern kann.
Dann von der kopierten Festplatte eine zweite Arbeitskopie erstellen, (was mit ddrescue schnell geht, da die Quelle der Kopieraktion physikalisch intakt ist).
Auf der zweiten Kopie dann das obige Reparaturrezept probieren.

Locked