ubuntuusers.de

Probleme mit btrfs

Status: Ungelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

urias

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

Hallo,

ich hatte in den letzten Wochen immer mal wieder auf einigen Rechnern Probleme im Zusammenspiel mit btrfs und externen Festplatten. System entweder Debian (Stretch) oder ubuntu 18.04.

Da von dem Fehler anfangs nur 2 externe Festplatten betroffen waren, ging ich davon aus, dass sie defekt seien. Leider sind die dort verbauten USB-Controller nicht smart-kompatibel und da auf den Platten noch Garantie ist wollte ich die Gehäuse nicht aufbrechen.

Jetzt tritt seit gestern Abend das Problem auch auf meinem Tischrechner (ubuntu 18.04) beim Hochfahren auf:

Loaded: loaded (/etc/fstab; generated)
   Active: failed (Result: exit-code) since Sun 2018-09-16 07:02:48 CEST; 50s ago
    Where: /home
     What: /dev/disk/by-uuid/f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 625 ExecMount=/bin/mount /dev/disk/by-uuid/f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb /home -t btrfs -o defaults,subvol=@home (code=exited, status=32)

Sep 16 07:02:47 marsi systemd[1]: Mounting /home...
Sep 16 07:02:48 marsi mount[625]: mount: /home: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.
Sep 16 07:02:48 marsi systemd[1]: home.mount: Mount process exited, code=exited status=32
Sep 16 07:02:48 marsi systemd[1]: home.mount: Failed with result 'exit-code'.
Sep 16 07:02:48 marsi systemd[1]: Failed to mount /home.

root@marsi:/home/pb# btrfsck /dev/sdc1

gibt

warning, bad space info total_bytes 56916705280 used 57704660992
warning, bad space info total_bytes 57990447104 used 58778402816
warning, bad space info total_bytes 59064188928 used 59852144640
warning, bad space info total_bytes 60137930752 used 60925825024
warning, bad space info total_bytes 61211672576 used 61999566848
warning, bad space info total_bytes 62285414400 used 63073308672
warning, bad space info total_bytes 63359156224 used 64147050496
warning, bad space info total_bytes 64432898048 used 65220792320
warning, bad space info total_bytes 65506639872 used 66294534144
warning, bad space info total_bytes 66580381696 used 67368267776
warning, bad space info total_bytes 67654123520 used 68442009600
warning, bad space info total_bytes 68727865344 used 69515751424
warning, bad space info total_bytes 69801607168 used 70589493248
warning, bad space info total_bytes 70875348992 used 72200065024
warning, bad space info total_bytes 71949090816 used 73273806848
warning, bad space info total_bytes 73022832640 used 74347548672
warning, bad space info total_bytes 74096574464 used 75421290496
warning, bad space info total_bytes 75170316288 used 76494794752
warning, bad space info total_bytes 76244058112 used 77568536576
warning, bad space info total_bytes 77317799936 used 78642278400
warning, bad space info total_bytes 78391541760 used 79715991552
warning, bad space info total_bytes 79465283584 used 80789733376
warning, bad space info total_bytes 80539025408 used 81863475200
warning, bad space info total_bytes 81612767232 used 82937204736
warning, bad space info total_bytes 82686509056 used 84010946560
warning, bad space info total_bytes 83760250880 used 85084688384
warning, bad space info total_bytes 84833992704 used 86158430208
warning, bad space info total_bytes 85907734528 used 87232172032
warning, bad space info total_bytes 86981476352 used 88305913856
warning, bad space info total_bytes 88055218176 used 89379655680
warning, bad space info total_bytes 89128960000 used 90453397504
warning, bad space info total_bytes 90202701824 used 91527139328
warning, bad space info total_bytes 91276443648 used 92600881152
warning, bad space info total_bytes 92350185472 used 93674622976
warning, bad space info total_bytes 93423927296 used 94748364800
warning, bad space info total_bytes 94497669120 used 95822106624
warning, bad space info total_bytes 95571410944 used 96895848448
warning, bad space info total_bytes 96645152768 used 97969590272
warning, bad space info total_bytes 97718894592 used 99043332096
warning, bad space info total_bytes 98792636416 used 100117073920
warning, bad space info total_bytes 99866378240 used 101190815744
warning, bad space info total_bytes 100940120064 used 102264557568
warning, bad space info total_bytes 102013861888 used 103338299392
warning, bad space info total_bytes 103087603712 used 104412041216
warning, bad space info total_bytes 104161345536 used 105485783040
warning, bad space info total_bytes 105235087360 used 106559524864
warning, bad space info total_bytes 106308829184 used 107633266688
warning, bad space info total_bytes 107382571008 used 108707008512
warning, bad space info total_bytes 108456312832 used 109780750336
warning, bad space info total_bytes 109530054656 used 110854467584
warning, bad space info total_bytes 110603796480 used 111928209408
warning, bad space info total_bytes 111677538304 used 113001951232
warning, bad space info total_bytes 112751280128 used 114075693056
warning, bad space info total_bytes 113825021952 used 115149434880
warning, bad space info total_bytes 114898763776 used 116223176704
warning, bad space info total_bytes 115972505600 used 117296918528
warning, bad space info total_bytes 117046247424 used 118370660352
warning, bad space info total_bytes 118119989248 used 119444402176
warning, bad space info total_bytes 119193731072 used 120518144000
warning, bad space info total_bytes 120267472896 used 122389843968
warning, bad space info total_bytes 121341214720 used 123463585792
warning, bad space info total_bytes 122414956544 used 124537327616
warning, bad space info total_bytes 123488698368 used 125611061248
warning, bad space info total_bytes 124562440192 used 126684803072
warning, bad space info total_bytes 125636182016 used 127758483456
warning, bad space info total_bytes 126709923840 used 128832155648
warning, bad space info total_bytes 127783665664 used 129905864704
warning, bad space info total_bytes 128857407488 used 130979479552
warning, bad space info total_bytes 129931149312 used 132053102592
warning, bad space info total_bytes 131004891136 used 133126844416
warning, bad space info total_bytes 132078632960 used 134200586240
warning, bad space info total_bytes 133152374784 used 135274323968
warning, bad space info total_bytes 134226116608 used 136348061696
warning, bad space info total_bytes 135299858432 used 137421414400
warning, bad space info total_bytes 136373600256 used 138495094784
warning, bad space info total_bytes 137447342080 used 139567931392
warning, bad space info total_bytes 138521083904 used 140641673216
warning, bad space info total_bytes 139594825728 used 141715415040
warning, bad space info total_bytes 140668567552 used 142789156864
warning, bad space info total_bytes 141742309376 used 143862898688
warning, bad space info total_bytes 142816051200 used 144936640512
warning, bad space info total_bytes 143889793024 used 146010382336
warning, bad space info total_bytes 144963534848 used 147084124160
warning, bad space info total_bytes 146037276672 used 148157865984
warning, bad space info total_bytes 147111018496 used 149231599616
warning, bad space info total_bytes 148184760320 used 150305341440
warning, bad space info total_bytes 149258502144 used 151379046400
warning, bad space info total_bytes 150332243968 used 152452780032
warning, bad space info total_bytes 151405985792 used 153526517760
warning, bad space info total_bytes 152479727616 used 154600259584
warning, bad space info total_bytes 153553469440 used 155673993216
warning, bad space info total_bytes 154627211264 used 156747714560
warning, bad space info total_bytes 155700953088 used 157821435904
warning, bad space info total_bytes 156774694912 used 158895165440
warning, bad space info total_bytes 157848436736 used 159968870400
warning, bad space info total_bytes 158922178560 used 161042608128
warning, bad space info total_bytes 159995920384 used 162116333568
warning, bad space info total_bytes 161069662208 used 163190063104
warning, bad space info total_bytes 162143404032 used 164263796736
warning, bad space info total_bytes 163217145856 used 165337538560
warning, bad space info total_bytes 164290887680 used 166411280384
warning, bad space info total_bytes 165364629504 used 167485001728
warning, bad space info total_bytes 166438371328 used 168558698496
warning, bad space info total_bytes 167512113152 used 169632243712
warning, bad space info total_bytes 168585854976 used 170705956864
warning, bad space info total_bytes 169659596800 used 171779629056
warning, bad space info total_bytes 170733338624 used 172853301248
warning, bad space info total_bytes 171807080448 used 173927034880
warning, bad space info total_bytes 172880822272 used 175000711168
warning, bad space info total_bytes 173954564096 used 176073650176
warning, bad space info total_bytes 175028305920 used 177146327040
warning, bad space info total_bytes 176102047744 used 178219978752
warning, bad space info total_bytes 177175789568 used 179293708288
warning, bad space info total_bytes 178249531392 used 180367446016
warning, bad space info total_bytes 179323273216 used 181441187840
warning, bad space info total_bytes 180397015040 used 182514847744
warning, bad space info total_bytes 181470756864 used 183588003840
warning, bad space info total_bytes 182544498688 used 184661676032
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
Ignoring transid failure
extent buffer leak: start 58310656 len 16384
ERROR: cannot open file system

aus. Alle versuche das Dateisystem zu reparieren (btrfscheck --repair /dev/sdc1) brachten bisher das gleiche Ergebnis.

Ein manuelles Einhägen scheitert ebenfalls mount /dev/sdc1 /mnt/test/ mount: /mnt/test/: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.

1
root@marsi:/home/pb# btrfs filesystem show

gibt jedoch

Label: none  uuid: f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb
        Total devices 1 FS bytes used 275.20GiB
        devid    1 size 2.73TiB used 368.02GiB path /dev/sdc1

aus.

Aktuell laufender Kernel ist:

Linux marsi 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Der Fehler tritt jedoch bei

Linux marsi 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

in Form von

[   24.829652] BTRFS error (device sdc1): parent transid verify failed on 572882944 wanted 20571 found 21236
[   24.833392] BTRFS error (device sdc1): parent transid verify failed on 572882944 wanted 20571 found 21236
[   24.833420] BTRFS error (device sdc1): failed to read block groups: -5
[   24.868275] BTRFS error (device sdc1): open_ctree failed
mount: /home: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.

auch auf.

Btrfs-Version ist: btrfs-progs v4.15.1

Ebenfalls versucht habe ich noch:

1
2
3
mount -t btrfs -o rootflags=recovery,nospace_cache,clear_cache /dev/sdc1 /mnt/test/ 
mount -t btrfs -o recovery,nospace_cache,nospace_cache /dev/sdc1 /mnt/test/ 
mount -t btrfs -o rootflags=recovery,nospace_cache /dev/sdc1 /mnt/test/

Das Ergebnis bei allen 3 Varianten:

mount: /mnt/test: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.

(Quelle für die Idee war: https://askubuntu.com/questions/157917/how-do-i-recover-a-btrfs-partition-that-will-not-mount)

Hintergrund/Geschichte

Das System verhielt sich beim letzten Start unauffällig und lief bisher gut. Da es jedoch die letzten 3 Wochen inaktiv war, ließ ich updates durchlaufen und startete es danach neu. Danach lief es ebenfalls noch fehlerfrei und ich fuhr es herunter (shutdown -h now). Als ich es gestern abend wieder starten wollte traten die obigen Fehler auf. Seit dem suche ich die Ursache.

Hardware

Relativ (!) ausgeschlossen habe ich als erstes einen Fehler an der Festplatte. Denn zum einen Tritt der Fehler nicht nur auf diesem System auf (also auch auf einer anderen Festplatte), zum anderen sagt smart nach durchgeführtem test (smartctl --test=long /dev/sdc)

root@marsi:/home/pb# smartctl -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD30EFRX-68AX9N0
Serial Number:    WD-WMC1T2630487
LU WWN Device Id: 5 0014ee 6add7933e
Firmware Version: 80.00A80
User Capacity:    3.000.592.982.016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Sep 16 08:42:32 2018 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

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     34111         -
# 2  Short offline       Completed without error       00%     34103         -
# 3  Short offline       Completed without error       00%     34103         -
# 4  Extended offline    Aborted by host               90%     34103         -
# 5  Short offline       Interrupted (host reset)      70%     33857         -

und einmal die gesamte Ausgabe

root@marsi:/home/pb# smartctl -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD30EFRX-68AX9N0
Serial Number:    WD-WMC1T2630487
LU WWN Device Id: 5 0014ee 6add7933e
Firmware Version: 80.00A80
User Capacity:    3.000.592.982.016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Sep 16 08:42:32 2018 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:                (41280) 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:        ( 414) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x70bd) SCT Status supported.
                                        SCT Error Recovery Control 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       -       93
  3 Spin_Up_Time            0x0027   176   173   021    Pre-fail  Always       -       6166
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       213
  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   054   054   000    Old_age   Always       -       34115
 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       -       208
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       113
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       99
194 Temperature_Celsius     0x0022   109   094   000    Old_age   Always       -       41
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   200   200   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    Completed without error       00%     34111         -
# 2  Short offline       Completed without error       00%     34103         -
# 3  Short offline       Completed without error       00%     34103         -
# 4  Extended offline    Aborted by host               90%     34103         -
# 5  Short offline       Interrupted (host reset)      70%     33857         -

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.

Hat irgendwer eine Idee wie ich noch der Ursache des Problems auf die Spur kommen kann?

Liebe Grüße

urias

PS: Ein Backup habe ich.

encbladexp Team-Icon

Ehemaliger
Avatar von encbladexp

Anmeldungsdatum:
16. Februar 2007

Beiträge: 17524

Ist das ein btrfs RAID 1 oder was kannst du uns noch sagen?

mfg Stefan

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

encbladexp schrieb:

Ist das ein btrfs RAID 1 oder was kannst du uns noch sagen?

mfg Stefan

Danke für Deine Antwort.

Es sollte gar kein Raid sein. Und soweit ich sehe ist es das auch nicht durch einen Fehler meinerseits geworden.

1
2
3
root@marsi:/home/pb# cat /proc/mdstat 
Personalities : 
unused devices: <none>

Ist eine Partition auf einer Festplatte.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
root@marsi:/home/pb# fdisk -l /dev/sdc
Festplatte /dev/sdc: 2,7 TiB, 3000592982016 Bytes, 5860533168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 443A2C25-4A95-4E9C-A4F7-7D7640D74D0D

Gerät      Anfang       Ende   Sektoren Größe Typ
/dev/sdc1    2048 5860532223 5860530176  2,7T Linux-Dateisystem

Das OS kommt von einer kleinen SSD. Aktuell habe ich den Eintrag in /etc/fstab auskommentiert und neue Verzeichnisse für die Benutzer auf der Root-Partition unter /home angelegt, um erst einmal temporär mit dem System weiterarbeiten können.

encbladexp Team-Icon

Ehemaliger
Avatar von encbladexp

Anmeldungsdatum:
16. Februar 2007

Beiträge: 17524

Reden wir von einem btrfs über 2 Platten, oder von verschiedenen btrfs Dateisystemen? Was sagt uns sudo btrfs filesystem show auf dem System? Hast du auf dem Dateisystem schon mal zero-log gemacht?

mfg Stefan

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

encbladexp schrieb:

Reden wir von einem btrfs über 2 Platten, oder von verschiedenen btrfs Dateisystemen? Was sagt uns sudo btrfs filesystem show auf dem System? Hast du auf dem Dateisystem schon mal zero-log gemacht?

Ein btrfs in einer Partition (/devsdc1) / ist ein eigenes Dateisystem (ext4) auf einer SSD

/etc/fstab (Home derzeit auskommentiert)

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda4 during installation
UUID=dd10c9a1-684c-41a6-b70a-2ad1911813d6 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdd1 during installation
#UUID=f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb /home           btrfs   defaults,subvol=@home 0       2
/swapfile 

als root (siehe auch erster Beitrag) btrfs filesystem show

root@marsi:/home/pb# btrfs filesystem show
Label: none  uuid: f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb
        Total devices 1 FS bytes used 275.20GiB
        devid    1 size 2.73TiB used 368.02GiB path /dev/sdc1

Ja, hier die Ausgabe

root@marsi:/home/pb# btrfs-zero-log /dev/sdc1
WARNING: this utility is deprecated, please use 'btrfs rescue zero-log'

warning, bad space info total_bytes 56916705280 used 57704660992
warning, bad space info total_bytes 57990447104 used 58778402816
warning, bad space info total_bytes 59064188928 used 59852144640
warning, bad space info total_bytes 60137930752 used 60925825024
warning, bad space info total_bytes 61211672576 used 61999566848
warning, bad space info total_bytes 62285414400 used 63073308672
warning, bad space info total_bytes 63359156224 used 64147050496
warning, bad space info total_bytes 64432898048 used 65220792320
warning, bad space info total_bytes 65506639872 used 66294534144
warning, bad space info total_bytes 66580381696 used 67368267776
warning, bad space info total_bytes 67654123520 used 68442009600
warning, bad space info total_bytes 68727865344 used 69515751424
warning, bad space info total_bytes 69801607168 used 70589493248
warning, bad space info total_bytes 70875348992 used 72200065024
warning, bad space info total_bytes 71949090816 used 73273806848
warning, bad space info total_bytes 73022832640 used 74347548672
warning, bad space info total_bytes 74096574464 used 75421290496
warning, bad space info total_bytes 75170316288 used 76494794752
warning, bad space info total_bytes 76244058112 used 77568536576
warning, bad space info total_bytes 77317799936 used 78642278400
warning, bad space info total_bytes 78391541760 used 79715991552
warning, bad space info total_bytes 79465283584 used 80789733376
warning, bad space info total_bytes 80539025408 used 81863475200
warning, bad space info total_bytes 81612767232 used 82937204736
warning, bad space info total_bytes 82686509056 used 84010946560
warning, bad space info total_bytes 83760250880 used 85084688384
warning, bad space info total_bytes 84833992704 used 86158430208
warning, bad space info total_bytes 85907734528 used 87232172032
warning, bad space info total_bytes 86981476352 used 88305913856
warning, bad space info total_bytes 88055218176 used 89379655680
warning, bad space info total_bytes 89128960000 used 90453397504
warning, bad space info total_bytes 90202701824 used 91527139328
warning, bad space info total_bytes 91276443648 used 92600881152
warning, bad space info total_bytes 92350185472 used 93674622976
warning, bad space info total_bytes 93423927296 used 94748364800
warning, bad space info total_bytes 94497669120 used 95822106624
warning, bad space info total_bytes 95571410944 used 96895848448
warning, bad space info total_bytes 96645152768 used 97969590272
warning, bad space info total_bytes 97718894592 used 99043332096
warning, bad space info total_bytes 98792636416 used 100117073920
warning, bad space info total_bytes 99866378240 used 101190815744
warning, bad space info total_bytes 100940120064 used 102264557568
warning, bad space info total_bytes 102013861888 used 103338299392
warning, bad space info total_bytes 103087603712 used 104412041216
warning, bad space info total_bytes 104161345536 used 105485783040
warning, bad space info total_bytes 105235087360 used 106559524864
warning, bad space info total_bytes 106308829184 used 107633266688
warning, bad space info total_bytes 107382571008 used 108707008512
warning, bad space info total_bytes 108456312832 used 109780750336
warning, bad space info total_bytes 109530054656 used 110854467584
warning, bad space info total_bytes 110603796480 used 111928209408
warning, bad space info total_bytes 111677538304 used 113001951232
warning, bad space info total_bytes 112751280128 used 114075693056
warning, bad space info total_bytes 113825021952 used 115149434880
warning, bad space info total_bytes 114898763776 used 116223176704
warning, bad space info total_bytes 115972505600 used 117296918528
warning, bad space info total_bytes 117046247424 used 118370660352
warning, bad space info total_bytes 118119989248 used 119444402176
warning, bad space info total_bytes 119193731072 used 120518144000
warning, bad space info total_bytes 120267472896 used 122389843968
warning, bad space info total_bytes 121341214720 used 123463585792
warning, bad space info total_bytes 122414956544 used 124537327616
warning, bad space info total_bytes 123488698368 used 125611061248
warning, bad space info total_bytes 124562440192 used 126684803072
warning, bad space info total_bytes 125636182016 used 127758483456
warning, bad space info total_bytes 126709923840 used 128832155648
warning, bad space info total_bytes 127783665664 used 129905864704
warning, bad space info total_bytes 128857407488 used 130979479552
warning, bad space info total_bytes 129931149312 used 132053102592
warning, bad space info total_bytes 131004891136 used 133126844416
warning, bad space info total_bytes 132078632960 used 134200586240
warning, bad space info total_bytes 133152374784 used 135274323968
warning, bad space info total_bytes 134226116608 used 136348061696
warning, bad space info total_bytes 135299858432 used 137421414400
warning, bad space info total_bytes 136373600256 used 138495094784
warning, bad space info total_bytes 137447342080 used 139567931392
warning, bad space info total_bytes 138521083904 used 140641673216
warning, bad space info total_bytes 139594825728 used 141715415040
warning, bad space info total_bytes 140668567552 used 142789156864
warning, bad space info total_bytes 141742309376 used 143862898688
warning, bad space info total_bytes 142816051200 used 144936640512
warning, bad space info total_bytes 143889793024 used 146010382336
warning, bad space info total_bytes 144963534848 used 147084124160
warning, bad space info total_bytes 146037276672 used 148157865984
warning, bad space info total_bytes 147111018496 used 149231599616
warning, bad space info total_bytes 148184760320 used 150305341440
warning, bad space info total_bytes 149258502144 used 151379046400
warning, bad space info total_bytes 150332243968 used 152452780032
warning, bad space info total_bytes 151405985792 used 153526517760
warning, bad space info total_bytes 152479727616 used 154600259584
warning, bad space info total_bytes 153553469440 used 155673993216
warning, bad space info total_bytes 154627211264 used 156747714560
warning, bad space info total_bytes 155700953088 used 157821435904
warning, bad space info total_bytes 156774694912 used 158895165440
warning, bad space info total_bytes 157848436736 used 159968870400
warning, bad space info total_bytes 158922178560 used 161042608128
warning, bad space info total_bytes 159995920384 used 162116333568
warning, bad space info total_bytes 161069662208 used 163190063104
warning, bad space info total_bytes 162143404032 used 164263796736
warning, bad space info total_bytes 163217145856 used 165337538560
warning, bad space info total_bytes 164290887680 used 166411280384
warning, bad space info total_bytes 165364629504 used 167485001728
warning, bad space info total_bytes 166438371328 used 168558698496
warning, bad space info total_bytes 167512113152 used 169632243712
warning, bad space info total_bytes 168585854976 used 170705956864
warning, bad space info total_bytes 169659596800 used 171779629056
warning, bad space info total_bytes 170733338624 used 172853301248
warning, bad space info total_bytes 171807080448 used 173927034880
warning, bad space info total_bytes 172880822272 used 175000711168
warning, bad space info total_bytes 173954564096 used 176073650176
warning, bad space info total_bytes 175028305920 used 177146327040
warning, bad space info total_bytes 176102047744 used 178219978752
warning, bad space info total_bytes 177175789568 used 179293708288
warning, bad space info total_bytes 178249531392 used 180367446016
warning, bad space info total_bytes 179323273216 used 181441187840
warning, bad space info total_bytes 180397015040 used 182514847744
warning, bad space info total_bytes 181470756864 used 183588003840
warning, bad space info total_bytes 182544498688 used 184661676032
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
Ignoring transid failure
extent buffer leak: start 58310656 len 16384
ERROR: cannot open ctree

Lg urias

encbladexp Team-Icon

Ehemaliger
Avatar von encbladexp

Anmeldungsdatum:
16. Februar 2007

Beiträge: 17524

Ein Kernel Update oder so gab es nicht zwischendurch? Als nächstes wäre es eine Option den Free Space Cache per btrfsck und anschließend passender Mount Option zu löschen.

Wie sicher bist du das die Platte nicht einen hau weg hat? Ich weiß, du kommst nicht an SMART ran, aber so vom Gefühl?

mfg Stefan

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

Hallo Stefan,

encbladexp schrieb:

Ein Kernel Update oder so gab es nicht zwischendurch? Als nächstes wäre es eine Option den Free Space Cache per btrfsck und anschließend passender Mount Option zu löschen.

Doch, gab es, aber ich habe inzwischen auch einige ältere Kernel probiert, mit denen es bisher fehlerfrei lief, dadurch zeigte sich leider auch keine Änderung.

encbladexp schrieb:

Wie sicher bist du das die Platte nicht einen hau weg hat? Ich weiß, du kommst nicht an SMART ran, aber so vom Gefühl?

nein, bei den beiden anderen Platten komme ich nicht an Smart heran, die je eine Datensicherung enthielten. Beide liegen mir nicht mehr vor.

Bei der Platte schon, die Werte hatte ich im ersten Post mitgesendet. Hier noch einmal.

root@marsi:/home/pb# smartctl -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD30EFRX-68AX9N0
Serial Number:    WD-WMC1T2630487
LU WWN Device Id: 5 0014ee 6add7933e
Firmware Version: 80.00A80
User Capacity:    3.000.592.982.016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Sep 16 08:42:32 2018 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:                (41280) 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:        ( 414) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x70bd) SCT Status supported.
                                        SCT Error Recovery Control 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       -       93
  3 Spin_Up_Time            0x0027   176   173   021    Pre-fail  Always       -       6166
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       213
  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   054   054   000    Old_age   Always       -       34115
 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       -       208
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       113
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       99
194 Temperature_Celsius     0x0022   109   094   000    Old_age   Always       -       41
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   200   200   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    Completed without error       00%     34111         -
# 2  Short offline       Completed without error       00%     34103         -
# 3  Short offline       Completed without error       00%     34103         -
# 4  Extended offline    Aborted by host               90%     34103         -
# 5  Short offline       Interrupted (host reset)      70%     33857         -

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.

Ich gehe daher recht sicher davon aus, dass die Platte ok ist. Der letzte Langzeittest lief nach Auftreten des Fehlers über Nacht. Aktuell ist die Platte ausgebaut, ich plane jedoch sie heute Nacht wieder einzusetzen und einen weiteren Test laufen zu laufen.

Aktuell ist eine andere 3 TB Festplatte eingebaut um Fehler an Motherboard und s-ata Kabel weitgehend ausschließen zu können.

encbladexp Team-Icon

Ehemaliger
Avatar von encbladexp

Anmeldungsdatum:
16. Februar 2007

Beiträge: 17524

Dann würde ich mal probieren den Space Cache zu leeren, wie beschrieben. Abgesehen davon hatte ich derartige Verhalten bisher nur bei defekten Disks oder Kabeln.

mfg Stefan

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3790

urias schrieb:

ich hatte in den letzten Wochen immer mal wieder auf einigen Rechnern Probleme im Zusammenspiel mit btrfs und externen Festplatten. System entweder Debian (Stretch) oder ubuntu 18.04.

Der wechselseitige Zugriff mit unterschiedlichen btrfs-progs-Versionen scheint nicht immer gut zu gehen, siehe z.B. hier. Probier doch mal eine ältere Live-CD, wie z.B. hier erfolgreich.

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

dingsbums schrieb:

urias schrieb:

ich hatte in den letzten Wochen immer mal wieder auf einigen Rechnern Probleme im Zusammenspiel mit btrfs und externen Festplatten. System entweder Debian (Stretch) oder ubuntu 18.04.

Der wechselseitige Zugriff mit unterschiedlichen btrfs-progs-Versionen scheint nicht immer gut zu gehen, siehe z.B. hier. Probier doch mal eine ältere Live-CD, wie z.B. hier erfolgreich.

Das könnte den Fehler auf den USB-Platten erklären. Jedoch nicht den der Festplatte hier. Hier lief durchgehend ubuntu 18.04 drauf. Das andere (Live DVD/Space Cache) versuche ich heute Nacht irgendwann, die Downloads dauern noch etwas.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3790

Ich hab nochwas gefunden, ganz unten die Email im gelben Block. Stichwort Erzwingen der Verwendung eines anderen Superblocks. Ob es diese Schalterchen noch gibt, musst Du ausprobieren. Der Post hat schon ein paar Jahre auf dem Buckel.

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

encbladexp schrieb:

Dann würde ich mal probieren den Space Cache zu leeren, wie beschrieben. Abgesehen davon hatte ich derartige Verhalten bisher nur bei defekten Disks oder Kabeln.

durch Umzug leider etwas verzögert, sorry. Ja, das dachte ich bisher auch. Habe das mit dem Cache gemacht, keine Änderung, habe inzwischen diverse Kernelversionen durch u.a. aus diversen Live-CDs das brachte ebenfalls keine Änderung des Fehlers.

Habe die Platte Ersatzfestplatte die derzeit eingebaut ist nochmal etwas kontrolliert, und bin dabei auf recht hohe Temperaturen gestoßen (zwischen 50-60°C). Lüfter im Gehäuse getauscht. Jetzt sieht es etwas besser aus, was die Temperatur betrifft, aber der Fehler tritt, wenn ich die originale Festplatte (mit dem Fehler im Dateisystem einbaue) weiterhin auf. Die Ersatzfestplatte mit Ext4 läuft (und lief auch mit den hohen Temperaturen) fehlerfrei.

Aktuell erstelle ich mittels dd ein Image der Festplatte mit dem defekten Dateisystem um einmal eine Fehlersuche etwas unabhängiger von der Hardware durchführen zu können. Die externen USB-Festplatten untersuche bei nächster Gelegenheit mit badblocks, ebenso die mit dem defekten Dateisystem. Zur Sicherheit werden erst einmal alle meine Daten die auf btrfs formatierten Datenträgern liegen auf ext4 formatierte Datenträger umgelagert.

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

dingsbums schrieb:

Ich hab nochwas gefunden, ganz unten die Email im gelben Block. Stichwort Erzwingen der Verwendung eines anderen Superblocks. Ob es diese Schalterchen noch gibt, musst Du ausprobieren. Der Post hat schon ein paar Jahre auf dem Buckel.

Das liest sich sehr gut und vielversprechend, jedoch scheint btrfs-zero-log /dev/sdc1 in diesem Fall nicht zu helfen. Obwohl es das laut Beitrag dort eigentlich sollte, sodass ich langsam vermute, dass hier noch mehr nicht stimmt und ich spätestens durch meine Reperaturversuche die Daten endgültig ins Nirwana befördert habe. Ich probiere jedoch die weiteren Schritte dort noch einmal, wenn das Image erstellt ist.

Vielen dank für eure Beiträge und den Einsatz hier, ich habe im Umgang mit Btrfs einiges dazugelernt.

Liebe Grüße Patrick

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

ok, ich glaube immer weniger an ein Hardwareproblem. Der Fehler tritt nun auf dem zweiten Computer mit ubuntu 18.04 auf. Jedoch reicht nur beim Systemstart, ich lande dann im Rescuemodus.

1
mount /dev/sdb1 /home/ 

löst das Problem. Ich sitze ab übermorgen wieder physikalisch vor dem Rechner und werde auch dort nach dem Fehler suchen. Vielleicht finden sich ja dort einige Hinweise oder der Fehler dort hat eine andere Ursache. 🙄

urias

(Themenstarter)

Anmeldungsdatum:
20. Februar 2010

Beiträge: 14

Hallo,

einmal für mich und alle anderen, die daran Interesse haben, eine Zusammenfassung der Lage:

Computer 1

Fehlermeldungen

Loaded: loaded (/etc/fstab; generated)
   Active: failed (Result: exit-code) since Sun 2018-09-16 07:02:48 CEST; 50s ago
    Where: /home
     What: /dev/disk/by-uuid/f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 625 ExecMount=/bin/mount /dev/disk/by-uuid/f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb /home -t btrfs -o defaults,subvol=@home (code=exited, status=32)

Sep 16 07:02:47 marsi systemd[1]: Mounting /home...
Sep 16 07:02:48 marsi mount[625]: mount: /home: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.
Sep 16 07:02:48 marsi systemd[1]: home.mount: Mount process exited, code=exited status=32
Sep 16 07:02:48 marsi systemd[1]: home.mount: Failed with result 'exit-code'.
Sep 16 07:02:48 marsi systemd[1]: Failed to mount /home.

ebenfalls

warning, bad space info total_bytes 56916705280 used 57704660992
warning, bad space info total_bytes 57990447104 used 58778402816
warning, bad space info total_bytes 59064188928 used 59852144640
warning, bad space info total_bytes 60137930752 used 60925825024
warning, bad space info total_bytes 61211672576 used 61999566848
warning, bad space info total_bytes 62285414400 used 63073308672
warning, bad space info total_bytes 63359156224 used 64147050496
warning, bad space info total_bytes 64432898048 used 65220792320
warning, bad space info total_bytes 65506639872 used 66294534144
warning, bad space info total_bytes 66580381696 used 67368267776
warning, bad space info total_bytes 67654123520 used 68442009600
warning, bad space info total_bytes 68727865344 used 69515751424
warning, bad space info total_bytes 69801607168 used 70589493248
warning, bad space info total_bytes 70875348992 used 72200065024
warning, bad space info total_bytes 71949090816 used 73273806848
warning, bad space info total_bytes 73022832640 used 74347548672
warning, bad space info total_bytes 74096574464 used 75421290496
warning, bad space info total_bytes 75170316288 used 76494794752
warning, bad space info total_bytes 76244058112 used 77568536576
warning, bad space info total_bytes 77317799936 used 78642278400
warning, bad space info total_bytes 78391541760 used 79715991552
warning, bad space info total_bytes 79465283584 used 80789733376
warning, bad space info total_bytes 80539025408 used 81863475200
warning, bad space info total_bytes 81612767232 used 82937204736
warning, bad space info total_bytes 82686509056 used 84010946560
warning, bad space info total_bytes 83760250880 used 85084688384
warning, bad space info total_bytes 84833992704 used 86158430208
warning, bad space info total_bytes 85907734528 used 87232172032
warning, bad space info total_bytes 86981476352 used 88305913856
warning, bad space info total_bytes 88055218176 used 89379655680
warning, bad space info total_bytes 89128960000 used 90453397504
warning, bad space info total_bytes 90202701824 used 91527139328
warning, bad space info total_bytes 91276443648 used 92600881152
warning, bad space info total_bytes 92350185472 used 93674622976
warning, bad space info total_bytes 93423927296 used 94748364800
warning, bad space info total_bytes 94497669120 used 95822106624
warning, bad space info total_bytes 95571410944 used 96895848448
warning, bad space info total_bytes 96645152768 used 97969590272
warning, bad space info total_bytes 97718894592 used 99043332096
warning, bad space info total_bytes 98792636416 used 100117073920
warning, bad space info total_bytes 99866378240 used 101190815744
warning, bad space info total_bytes 100940120064 used 102264557568
warning, bad space info total_bytes 102013861888 used 103338299392
warning, bad space info total_bytes 103087603712 used 104412041216
warning, bad space info total_bytes 104161345536 used 105485783040
warning, bad space info total_bytes 105235087360 used 106559524864
warning, bad space info total_bytes 106308829184 used 107633266688
warning, bad space info total_bytes 107382571008 used 108707008512
warning, bad space info total_bytes 108456312832 used 109780750336
warning, bad space info total_bytes 109530054656 used 110854467584
warning, bad space info total_bytes 110603796480 used 111928209408
warning, bad space info total_bytes 111677538304 used 113001951232
warning, bad space info total_bytes 112751280128 used 114075693056
warning, bad space info total_bytes 113825021952 used 115149434880
warning, bad space info total_bytes 114898763776 used 116223176704
warning, bad space info total_bytes 115972505600 used 117296918528
warning, bad space info total_bytes 117046247424 used 118370660352
warning, bad space info total_bytes 118119989248 used 119444402176
warning, bad space info total_bytes 119193731072 used 120518144000
warning, bad space info total_bytes 120267472896 used 122389843968
warning, bad space info total_bytes 121341214720 used 123463585792
warning, bad space info total_bytes 122414956544 used 124537327616
warning, bad space info total_bytes 123488698368 used 125611061248
warning, bad space info total_bytes 124562440192 used 126684803072
warning, bad space info total_bytes 125636182016 used 127758483456
warning, bad space info total_bytes 126709923840 used 128832155648
warning, bad space info total_bytes 127783665664 used 129905864704
warning, bad space info total_bytes 128857407488 used 130979479552
warning, bad space info total_bytes 129931149312 used 132053102592
warning, bad space info total_bytes 131004891136 used 133126844416
warning, bad space info total_bytes 132078632960 used 134200586240
warning, bad space info total_bytes 133152374784 used 135274323968
warning, bad space info total_bytes 134226116608 used 136348061696
warning, bad space info total_bytes 135299858432 used 137421414400
warning, bad space info total_bytes 136373600256 used 138495094784
warning, bad space info total_bytes 137447342080 used 139567931392
warning, bad space info total_bytes 138521083904 used 140641673216
warning, bad space info total_bytes 139594825728 used 141715415040
warning, bad space info total_bytes 140668567552 used 142789156864
warning, bad space info total_bytes 141742309376 used 143862898688
warning, bad space info total_bytes 142816051200 used 144936640512
warning, bad space info total_bytes 143889793024 used 146010382336
warning, bad space info total_bytes 144963534848 used 147084124160
warning, bad space info total_bytes 146037276672 used 148157865984
warning, bad space info total_bytes 147111018496 used 149231599616
warning, bad space info total_bytes 148184760320 used 150305341440
warning, bad space info total_bytes 149258502144 used 151379046400
warning, bad space info total_bytes 150332243968 used 152452780032
warning, bad space info total_bytes 151405985792 used 153526517760
warning, bad space info total_bytes 152479727616 used 154600259584
warning, bad space info total_bytes 153553469440 used 155673993216
warning, bad space info total_bytes 154627211264 used 156747714560
warning, bad space info total_bytes 155700953088 used 157821435904
warning, bad space info total_bytes 156774694912 used 158895165440
warning, bad space info total_bytes 157848436736 used 159968870400
warning, bad space info total_bytes 158922178560 used 161042608128
warning, bad space info total_bytes 159995920384 used 162116333568
warning, bad space info total_bytes 161069662208 used 163190063104
warning, bad space info total_bytes 162143404032 used 164263796736
warning, bad space info total_bytes 163217145856 used 165337538560
warning, bad space info total_bytes 164290887680 used 166411280384
warning, bad space info total_bytes 165364629504 used 167485001728
warning, bad space info total_bytes 166438371328 used 168558698496
warning, bad space info total_bytes 167512113152 used 169632243712
warning, bad space info total_bytes 168585854976 used 170705956864
warning, bad space info total_bytes 169659596800 used 171779629056
warning, bad space info total_bytes 170733338624 used 172853301248
warning, bad space info total_bytes 171807080448 used 173927034880
warning, bad space info total_bytes 172880822272 used 175000711168
warning, bad space info total_bytes 173954564096 used 176073650176
warning, bad space info total_bytes 175028305920 used 177146327040
warning, bad space info total_bytes 176102047744 used 178219978752
warning, bad space info total_bytes 177175789568 used 179293708288
warning, bad space info total_bytes 178249531392 used 180367446016
warning, bad space info total_bytes 179323273216 used 181441187840
warning, bad space info total_bytes 180397015040 used 182514847744
warning, bad space info total_bytes 181470756864 used 183588003840
warning, bad space info total_bytes 182544498688 used 184661676032
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
Ignoring transid failure
extent buffer leak: start 58310656 len 16384
ERROR: cannot open file system

Ein manuelles Einhägen scheitert ebenfalls

mount /dev/sdc1 /mnt/test/ 

mount: /mnt/test/: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.
1
root@marsi:/home/pb# btrfs filesystem show

gibt jedoch

Label: none  uuid: f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb
        Total devices 1 FS bytes used 275.20GiB
        devid    1 size 2.73TiB used 368.02GiB path /dev/sdc1

Systeminformationen

/etc/fstab

Festplatte, fest verbaut, sata-Kabel, Sata Controller
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda4 during installation
UUID=dd10c9a1-684c-41a6-b70a-2ad1911813d6 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdd1 during installation
#UUID=f2c3aeb8-129e-4bb3-b389-bd8d5222c8cb /home           btrfs   defaults,subvol=@home 0       2
/swapfile 

- kein Raid, nur eine Festplatte und eine kleine SSD verbaut

root@marsi:/home/pb# smartctl -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD30EFRX-68AX9N0
Serial Number:    WD-WMC1T2630487
LU WWN Device Id: 5 0014ee 6add7933e
Firmware Version: 80.00A80
User Capacity:    3.000.592.982.016 bytes [3,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Sep 16 08:42:32 2018 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:                (41280) 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:        ( 414) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x70bd) SCT Status supported.
                                        SCT Error Recovery Control 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       -       93
  3 Spin_Up_Time            0x0027   176   173   021    Pre-fail  Always       -       6166
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       213
  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   054   054   000    Old_age   Always       -       34115
 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       -       208
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       113
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       99
194 Temperature_Celsius     0x0022   109   094   000    Old_age   Always       -       41
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   200   200   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    Completed without error       00%     34111         -
# 2  Short offline       Completed without error       00%     34103         -
# 3  Short offline       Completed without error       00%     34103         -
# 4  Extended offline    Aborted by host               90%     34103         -
# 5  Short offline       Interrupted (host reset)      70%     33857         -

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.

Bisher durchgeführte Schritte - anderes sata Kabel ⇒ keine Ändeung - andere Festplatte an gleichem sata-Kabel ⇒ lief fehlerfrei - andere Kernelversionen ⇒ ebenfalls Fehler - Öffnen mit diversenen Live-CDs ⇒ ebenfalls Fehler (u.a. Archlinux, Knoppix, Debian)

- root@marsi:/home/pb# btrfs-zero-log /dev/sdc1
WARNING: this utility is deprecated, please use 'btrfs rescue zero-log'

warning, bad space info total_bytes 56916705280 used 57704660992
warning, bad space info total_bytes 57990447104 used 58778402816
warning, bad space info total_bytes 59064188928 used 59852144640
warning, bad space info total_bytes 60137930752 used 60925825024
warning, bad space info total_bytes 61211672576 used 61999566848
warning, bad space info total_bytes 62285414400 used 63073308672
warning, bad space info total_bytes 63359156224 used 64147050496
warning, bad space info total_bytes 64432898048 used 65220792320
warning, bad space info total_bytes 65506639872 used 66294534144
warning, bad space info total_bytes 66580381696 used 67368267776
warning, bad space info total_bytes 67654123520 used 68442009600
warning, bad space info total_bytes 68727865344 used 69515751424
warning, bad space info total_bytes 69801607168 used 70589493248
warning, bad space info total_bytes 70875348992 used 72200065024
warning, bad space info total_bytes 71949090816 used 73273806848
warning, bad space info total_bytes 73022832640 used 74347548672
warning, bad space info total_bytes 74096574464 used 75421290496
warning, bad space info total_bytes 75170316288 used 76494794752
warning, bad space info total_bytes 76244058112 used 77568536576
warning, bad space info total_bytes 77317799936 used 78642278400
warning, bad space info total_bytes 78391541760 used 79715991552
warning, bad space info total_bytes 79465283584 used 80789733376
warning, bad space info total_bytes 80539025408 used 81863475200
warning, bad space info total_bytes 81612767232 used 82937204736
warning, bad space info total_bytes 82686509056 used 84010946560
warning, bad space info total_bytes 83760250880 used 85084688384
warning, bad space info total_bytes 84833992704 used 86158430208
warning, bad space info total_bytes 85907734528 used 87232172032
warning, bad space info total_bytes 86981476352 used 88305913856
warning, bad space info total_bytes 88055218176 used 89379655680
warning, bad space info total_bytes 89128960000 used 90453397504
warning, bad space info total_bytes 90202701824 used 91527139328
warning, bad space info total_bytes 91276443648 used 92600881152
warning, bad space info total_bytes 92350185472 used 93674622976
warning, bad space info total_bytes 93423927296 used 94748364800
warning, bad space info total_bytes 94497669120 used 95822106624
warning, bad space info total_bytes 95571410944 used 96895848448
warning, bad space info total_bytes 96645152768 used 97969590272
warning, bad space info total_bytes 97718894592 used 99043332096
warning, bad space info total_bytes 98792636416 used 100117073920
warning, bad space info total_bytes 99866378240 used 101190815744
warning, bad space info total_bytes 100940120064 used 102264557568
warning, bad space info total_bytes 102013861888 used 103338299392
warning, bad space info total_bytes 103087603712 used 104412041216
warning, bad space info total_bytes 104161345536 used 105485783040
warning, bad space info total_bytes 105235087360 used 106559524864
warning, bad space info total_bytes 106308829184 used 107633266688
warning, bad space info total_bytes 107382571008 used 108707008512
warning, bad space info total_bytes 108456312832 used 109780750336
warning, bad space info total_bytes 109530054656 used 110854467584
warning, bad space info total_bytes 110603796480 used 111928209408
warning, bad space info total_bytes 111677538304 used 113001951232
warning, bad space info total_bytes 112751280128 used 114075693056
warning, bad space info total_bytes 113825021952 used 115149434880
warning, bad space info total_bytes 114898763776 used 116223176704
warning, bad space info total_bytes 115972505600 used 117296918528
warning, bad space info total_bytes 117046247424 used 118370660352
warning, bad space info total_bytes 118119989248 used 119444402176
warning, bad space info total_bytes 119193731072 used 120518144000
warning, bad space info total_bytes 120267472896 used 122389843968
warning, bad space info total_bytes 121341214720 used 123463585792
warning, bad space info total_bytes 122414956544 used 124537327616
warning, bad space info total_bytes 123488698368 used 125611061248
warning, bad space info total_bytes 124562440192 used 126684803072
warning, bad space info total_bytes 125636182016 used 127758483456
warning, bad space info total_bytes 126709923840 used 128832155648
warning, bad space info total_bytes 127783665664 used 129905864704
warning, bad space info total_bytes 128857407488 used 130979479552
warning, bad space info total_bytes 129931149312 used 132053102592
warning, bad space info total_bytes 131004891136 used 133126844416
warning, bad space info total_bytes 132078632960 used 134200586240
warning, bad space info total_bytes 133152374784 used 135274323968
warning, bad space info total_bytes 134226116608 used 136348061696
warning, bad space info total_bytes 135299858432 used 137421414400
warning, bad space info total_bytes 136373600256 used 138495094784
warning, bad space info total_bytes 137447342080 used 139567931392
warning, bad space info total_bytes 138521083904 used 140641673216
warning, bad space info total_bytes 139594825728 used 141715415040
warning, bad space info total_bytes 140668567552 used 142789156864
warning, bad space info total_bytes 141742309376 used 143862898688
warning, bad space info total_bytes 142816051200 used 144936640512
warning, bad space info total_bytes 143889793024 used 146010382336
warning, bad space info total_bytes 144963534848 used 147084124160
warning, bad space info total_bytes 146037276672 used 148157865984
warning, bad space info total_bytes 147111018496 used 149231599616
warning, bad space info total_bytes 148184760320 used 150305341440
warning, bad space info total_bytes 149258502144 used 151379046400
warning, bad space info total_bytes 150332243968 used 152452780032
warning, bad space info total_bytes 151405985792 used 153526517760
warning, bad space info total_bytes 152479727616 used 154600259584
warning, bad space info total_bytes 153553469440 used 155673993216
warning, bad space info total_bytes 154627211264 used 156747714560
warning, bad space info total_bytes 155700953088 used 157821435904
warning, bad space info total_bytes 156774694912 used 158895165440
warning, bad space info total_bytes 157848436736 used 159968870400
warning, bad space info total_bytes 158922178560 used 161042608128
warning, bad space info total_bytes 159995920384 used 162116333568
warning, bad space info total_bytes 161069662208 used 163190063104
warning, bad space info total_bytes 162143404032 used 164263796736
warning, bad space info total_bytes 163217145856 used 165337538560
warning, bad space info total_bytes 164290887680 used 166411280384
warning, bad space info total_bytes 165364629504 used 167485001728
warning, bad space info total_bytes 166438371328 used 168558698496
warning, bad space info total_bytes 167512113152 used 169632243712
warning, bad space info total_bytes 168585854976 used 170705956864
warning, bad space info total_bytes 169659596800 used 171779629056
warning, bad space info total_bytes 170733338624 used 172853301248
warning, bad space info total_bytes 171807080448 used 173927034880
warning, bad space info total_bytes 172880822272 used 175000711168
warning, bad space info total_bytes 173954564096 used 176073650176
warning, bad space info total_bytes 175028305920 used 177146327040
warning, bad space info total_bytes 176102047744 used 178219978752
warning, bad space info total_bytes 177175789568 used 179293708288
warning, bad space info total_bytes 178249531392 used 180367446016
warning, bad space info total_bytes 179323273216 used 181441187840
warning, bad space info total_bytes 180397015040 used 182514847744
warning, bad space info total_bytes 181470756864 used 183588003840
warning, bad space info total_bytes 182544498688 used 184661676032
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
parent transid verify failed on 572882944 wanted 20571 found 21236
Ignoring transid failure
extent buffer leak: start 58310656 len 16384
ERROR: cannot open ctree

- bei dieser Festplatte kein wechselseitiger Zugriff mit verschiedenen Versionen - versucht Space Cache zu leeren ⇒ keine Änderung - mount mit vielen Optionen ⇒ keine Änderung - btrfs-zero-log ⇒ keine Änderung - btrfsck ⇒ keine Änderung

Computer 2

Fehlermeldung

mount: /home: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sdc1 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.

System

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=c7856ea4-22d6-4d91-b293-7792902040bb /               ext4    errors=remount-ro 0       1
UUID=c1a06f3d-3d49-4d5c-b534-8780ef870460       /home   btrfs  defaults,autodefrag,inode_cache 0        1
/swapfile                                 none            swap    sw              0       0

Lösung → Updates =>fehlerfreies einhängen des Dateisystem wieder möglich (jedoch klappt das leider nur auf dem Computer)

1
Linux pc-admin 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

USB-Festplatten

Informationen insgesamt betroffen derzeit 2 Stück,2 x 8 TB, einmal Segate, einmal Western Digital Gemeinsamkeiten: USB3, BTRFS als Dateisystem, einzige Partition, Verwendung als Backupmedium an einem Server, kein wechselnder Zugriff

Diagnose bisher - Imagedatei erstellen ⇒ Prozess läuft nächster geplanter Schritt - Festplatten unter Windows neu partitioniert, formatiert ⇒ werden auf defekte Sektoren geprüft ⇒ Ergebnis steht noch aus - mögliche Ursache für die Fehler hier: Zugriff mit verschiedenen btrfs-Versionen (Debian/Ubuntu), jedoch Ubuntu nur lesend und nicht bei allen Festplatten sicher

Hinweis https://unix.stackexchange.com/questions/32440/how-do-i-fix-btrfs war recht hilfreich noch einmal alles etwas systematischer anzugehen.

vorläufige Lösung

1. neue USB3 Festplatte 8 TB um wieder ein zweites Backup zu haben

2. Umstellen aller produktiven Systeme von btrfs auf ext4 (wo möglich)

3. weitere Diagnose mit den Image-Dateien noch bis 31.9 möglich (danach kann ich den Netzwerkspeicher den ich derzeit zum Lagern der Images einsetze dafür nicht mehr nutzen)

Liebe Grüße und vielen Dank für eure Beiträge

Patrick

Antworten |