
Wenn ich versuche, meine Festplatte mit folgendem zu mounten:
sudo mount /dev/sdd /media/jinglez/MainFiles
Ich erhalte diesen Fehler:
jinglez@jinglezServer:~$ mount /dev/sdd /media/jinglez/MainFiles
mount: wrong fs type, bad option, bad superblock on /dev/sdd,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Wie gewünscht habe ich es ausgeführt dmesg | tail
und es wurde Folgendes zurückgegeben:
jinglez@jinglezServer:~$ dmesg | tail
[ 64.337321] init: transmission-daemon main process (882) terminated with status 127
[ 64.337361] init: transmission-daemon respawning too fast, stopped
[ 64.896160] tg3 0000:02:00.0: irq 42 for MSI/MSI-X
[ 65.695028] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 65.695463] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 99.933921] systemd-hostnamed[3202]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[ 120.906364] init: plymouth-stop pre-start process (4631) terminated with status 1
[ 377.372510] EXT4-fs (sdd): bad geometry: block count 732566646 exceeds size of device (732566381 blocks)
[ 380.264264] EXT2-fs (sdd): error: couldn't mount because of unsupported optional features (240)
[ 382.129108] EXT3-fs (sdd): error: couldn't mount because of unsupported optional features (240)
Antwort1
Nach intensiver Recherche zu etwas, von dem ich wirklich nichts weiß, habe ich meine Lösung gefunden.
Nachdem ich so ziemlich jede Zeile im Dmesg gegoogelt hatte, die wie ein Fehler aussah, war der Block mit der fehlerhaften Geometrie mein Gewinner.
377.372510] EXT4-fs (sdd): bad geometry: block count 732566646 exceeds size of device (732566381 blocks)
Eine Blockanzahl zu haben, die die Größe der Geräteblöcke überschreitet, ist sinnvoll. Ich hatte jedoch große Angst, als ich las, dass ich resize2fs
die Größe ändern sollte. Ich holte tief Luft und voilà! Ich konnte meine Dateien wieder anzeigen.
Ich wusste, dass ich nur etwa 1,5 TB Speicherplatz auf der Festplatte genutzt hatte, also habe ich sicherheitshalber Folgendes gemacht:
resize2fs /dev/sdd 2500000M
Anschließend konnte ich das Laufwerk problemlos mounten!
Das war meine Lösung!