Gerät kann nicht eingebunden werden nach abgebrochenem "chown -cR"

Started by samtfalterblau, 2023/07/30, 17:24:11

Previous topic - Next topic

samtfalterblau

Ich kann meine USB-Festplatte (NTFS) nicht mehr einbinden nachdem ich letztens einen laufenden Befehl "chown -cR" abbrach, weil scheinbar keine Aktivität vorlag.
Testdisk sagt die Daten sind alle noch da:
QuoteDisk /dev/sdh - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000DM 003-9YN162, FW:CC4C

Partition table type (auto): Intel
Disk /dev/sdh - 1000 GB / 931 GiB - ST1000DM 003-9YN162
Partition table type: Intel

Analyse Disk /dev/sdh - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
Current partition structure:
1 P HPFS - NTFS              0  32 33 121601  25 24 1953519616 [CnMemory]
No partition is bootable

search_part()
Disk /dev/sdh - 1000 GB / 931 GiB - CHS 121601 255 63
NTFS at 0/32/33
filesystem size           1953519616
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33 121601  25 24 1953519616 [CnMemory]
     NTFS, blocksize=4096, 1000 GB / 931 GiB

Results
   * HPFS - NTFS              0  32 33 121601  25 24 1953519616 [CnMemory]
     NTFS, blocksize=4096, 1000 GB / 931 GiB

fdisk -l gibt Folgendes aus:
Disk /dev/sdh: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: 003-9YN162     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb589b589

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdh1        2048 1953521663 1953519616 931,5G  7 HPFS/NTFS/exFAT


Wie kann ich den Fehler beheben?

ro_sid

Leider gibt es im Artikel keine Fehlermeldung zum Versagen.

Dennoch bitte mal den Beitrag
"Topic: [DE] externe Festplatte, Superblock defekt"
im Forum "Hardware - Support" ansehen.

Letztlich empfiehlt sich eine Reparatur per MS "chkdsk" oder Linux "ntfsfix".

samtfalterblau


samtfalterblau

Also hier meine Ergebnisse:

Mounten mount: /media/CnMemory: can't find in /etc/fstab.

NTFSFIX

ntfsfix -b -d /dev/sdh
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.


Da muss ich wohl noch einen Windowsrechner finden...

samtfalterblau

Berichtigung!!

NTFSFIX war doch erfolgreich, nachdem ich alles richtig eingegeben hatte:
ntfsfix -b -d /dev/sdh1
Mounting volume... $MFTMirr does not match $MFT (record 3).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 3...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sdh1 was processed successfully.


Vielen Dank für den guten Tipp!