• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Externe Festplatte kommt nicht zur Ruhe

Hallo!
An meinen PC mit aktuellem openSUSE Tumbleweed habe ich eine externe 3,5" Festplatte Western Digital MyBook mit 6TB abgeschlossen.
Die Platte hat eine Partition, die mit mit EXTFAT formatiert ist.
Wenn ich die Platte mounte ist sie immer in "Bewegung", auch wenn ich nicht auf die Platte zugreife. In Bewegung meint, dass man Kopf und Plattenbewegungen hört und spürt.
Es klingt wie früher, wenn Windows eine Platte defragmentiert hat.
Andere per USB angeschlossene Festplatten zeigen das Verhalten nicht.
Hat jemand eine Idee, was die Platte anspricht bzw. was für das verhalten verantwortlich ist oder mit welchen Tools ich das rausbekommen kann?
Oder ob ich die Platte einfach mal lange gemountet lassen solle, und sie irgendwann "fertig" wird, mit was sie da auch immer tut?

Viele Grüße
Marco
 
lsof -D bringt einen Fehler
Code:
lsof: unsupported option: -D

Code:
sudo lsof D "/run/media/marco/My Book/"
[sudo] Passwort für root:
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: status error on D: No such file or directory
COMMAND  PID  USER  FD   TYPE DEVICE SIZE/OFF NODE NAME
bash    7872 marco cwd    DIR  8,129  1048576    1 /run/media/marco/My Book

Code:
sudo fuser -v '/run/media/marco/My Book'
                     BEN.        PID ZUGR.  BEFEHL
/run/media/marco/My Book:
                     marco      7872 ..c.. bash
 

lOtz1009

Moderator
Teammitglied
+D muss es heißen. Habe es soeben in meinem Beitrag korrigiert.

Ansonsten gibt es noch iotop oder inotify-tools. Letzteres habe ich aber noch nicht verwendet.
 
Der link ist uralt und das Thema fuse bzw. fuse-exfat seit Jahren obsolet. exfat wird seit langer Zeit direkt vom Kernel unterstützt.

Was zeigt bei eingehängtem Medium:mount | grep /dev/sdX

Zeigt dstat --bw -d -D sdX -t 1 Aktivitäten?

Falls der Protokollkonverter im Gehäuse smart unterstützt, als root: smartctl -a -d sat /dev/sdX

/dev/sdX ist natürlich anzupassen.
 
ggf. hängt's auch an den Powersafe / Energie-Einstellungen des USB-Ports oder "der Kompatibilität / Unterstützung" der div. Modi durch die HD in Verbindung mit Linux.
 
Code:
sudo lsof +D "/run/media/marco/My Book/"
[sudo] Passwort für root:
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
Danach kommt der Aufruf nicht zum Prompt zurück.
Code:
 mount | grep /dev/sdi
/dev/sdi1 on /run/media/marco/My Book type exfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2)

Code:
dstat --bw -d -D sdX -t 1
dstat kennt mein System nicht und wird mir in Yast auch nicht zur Installation angeboten.

Code:
udo smartctl -a -d sat /dev/sdi
[sudo] Passwort für root:
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.15.4-1-default] (SUSE RPM)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD60EDAZ-11BMZB0
Serial Number:    WD-WX51DB8P7YT0
LU WWN Device Id: 5 0014ee 2bb66a5ad
Firmware Version: 80.00A80
User Capacity:    6.001.175.126.016 bytes [6,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
TRIM Command:     Available
Device is:        Not in smartctl database 7.5/5706
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Jul 11 20:32:00 2025 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:  (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:                (45600) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        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:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 686) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x3035) SCT Status 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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   233   232   021    Pre-fail  Always       -       3308
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       169
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       140
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       163
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       14
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       588
194 Temperature_Celsius     0x0022   119   099   000    Old_age   Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       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    Interrupted (host reset)      90%       113         -
# 2  Extended offline    Interrupted (host reset)      80%        87         -
# 3  Short offline       Completed without error       00%        54         -
# 4  Short offline       Completed without error       00%        33         -

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.

The above only provides legacy SMART information - try 'smartctl -x' for more
Leider sagen mir die smartctl Werte nichts, da muss ich mich erst einlesen.
 
Die Warn-Meldungen von lsof sehe ich auf Grund der anderen Pfade in keinem Zusammenhang mit der WD-Platte. Bei mir gibt es sie nicht, daher kann ich dazu auch nichts sagen.

Das Kernel-Modul exfat wird verwendet, das paßt.

Nimm dool (mit denselben Parametern) an Stelle von dstat, das gibt es laut openSUSE Software offiziell für Tumbleweed.

Die smartctl-Ausgabe zeigt nichts Besorniserregendes (die Werte der Attribute ab 196 sind alle Null, error log ist leer).
 
Oben