roadmax
Goto Top

Btrfs Problem

Hallo Zusammen,

ich habe das Problem, dass mein btrfs auf einem Raid1 unter Ubuntu 20.04 nicht mehr zu mounten ist. Der mount Befehl meldet in einem Live System " can't read superblock on /dev/md2"

Lasse ich den SUprtblock wiederherstellen, kommt die Meldung dass diese OK sind.
dmesg gibt mir folgendes aus:

[Mon Aug 19 09:29:48 2024] BTRFS: device fsid 85d58546-9bea-4f02-8107-ce43bb3a3e3c devid 1 transid 3489470 /dev/md2 (9:2) scanned by mount (4241)
[Mon Aug 19 09:29:48 2024] BTRFS info (device md2): first mount of filesystem 85d58546-9bea-4f02-8107-ce43bb3a3e3c
[Mon Aug 19 09:29:48 2024] BTRFS info (device md2): using crc32c (crc32c-intel) checksum algorithm
[Mon Aug 19 09:29:48 2024] BTRFS info (device md2): disk space caching is enabled
[Mon Aug 19 09:29:49 2024] page: refcount:4 mapcount:0 mapping:0000000056f2f814 index:0x22400 pfn:0x1170fd
[Mon Aug 19 09:29:49 2024] memcg:ffff888108535000
[Mon Aug 19 09:29:49 2024] aops:btrfs_cleanup_fs_uuids [btrfs] ino:1
[Mon Aug 19 09:29:49 2024] flags: 0x2ffff8000008000(private|node=0|zone=2|lastcpupid=0x1ffff)
[Mon Aug 19 09:29:49 2024] page_type: 0xffffffff()
[Mon Aug 19 09:29:49 2024] raw: 02ffff8000008000 0000000000000000 dead000000000122 ffff8881041b0760
[Mon Aug 19 09:29:49 2024] raw: 0000000000022400 ffff8881011113b0 00000004ffffffff ffff888108535000
[Mon Aug 19 09:29:49 2024] page dumped because: eb page dump
[Mon Aug 19 09:29:49 2024] BTRFS critical (device md2): corrupt leaf: root=2 block=574619648 slot=11, unexpected item end, have 8928596 expect 15700
[Mon Aug 19 09:29:49 2024] BTRFS error (device md2): read time tree block corruption detected on logical 574619648 mirror 1
[Mon Aug 19 09:29:49 2024] page: refcount:4 mapcount:0 mapping:0000000056f2f814 index:0x22400 pfn:0x1170fd
[Mon Aug 19 09:29:49 2024] memcg:ffff888108535000
[Mon Aug 19 09:29:49 2024] aops:btrfs_cleanup_fs_uuids [btrfs] ino:1
[Mon Aug 19 09:29:49 2024] flags: 0x2ffff8000008000(private|node=0|zone=2|lastcpupid=0x1ffff)
[Mon Aug 19 09:29:49 2024] page_type: 0xffffffff()
[Mon Aug 19 09:29:49 2024] raw: 02ffff8000008000 0000000000000000 dead000000000122 ffff8881041b0760
[Mon Aug 19 09:29:49 2024] raw: 0000000000022400 ffff8881011113b0 00000004ffffffff ffff888108535000
[Mon Aug 19 09:29:49 2024] page dumped because: eb page dump
[Mon Aug 19 09:29:49 2024] BTRFS critical (device md2): corrupt leaf: root=2 block=574619648 slot=11, unexpected item end, have 8928596 expect 15700
[Mon Aug 19 09:29:49 2024] BTRFS error (device md2): read time tree block corruption detected on logical 574619648 mirror 2
[Mon Aug 19 09:29:49 2024] BTRFS error (device md2): failed to read block groups: -5
[Mon Aug 19 09:29:50 2024] BTRFS error (device md2): open_ctree failed


btrfs check bricht ebenso ab. Was kann ich jetzt tun?

Danke,
Roadmax

Content-Key: 13956706852

Url: https://administrator.de/contentid/13956706852

Printed on: August 20, 2024 at 07:08 o'clock

Member: tagol01
tagol01 Aug 19, 2024 at 08:41:04 (UTC)
Goto Top
Hallo

Festplatten sind OK? Smart Werte?
Member: Roadmax
Roadmax Aug 19, 2024 at 08:48:00 (UTC)
Goto Top
Ja die sind ok:
sda:
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 131 131 054 Pre-fail Offline - 104
3 Spin_Up_Time 0x0007 183 183 024 Pre-fail Always - 399 (Average 319)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 13
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 128 128 020 Pre-fail Offline - 18
9 Power_On_Hours 0x0012 094 094 000 Old_age Always - 43203
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 13
22 Helium_Level 0x0023 100 100 025 Pre-fail Always - 100
192 Power-Off_Retract_Count 0x0032 099 099 000 Old_age Always - 1750
193 Load_Cycle_Count 0x0012 099 099 000 Old_age Always - 1750
194 Temperature_Celsius 0x0002 171 171 000 Old_age Always - 35 (Min/Max 24/47)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0

sdb:
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 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 133 133 054 Pre-fail Offline - 100
3 Spin_Up_Time 0x0007 173 173 024 Pre-fail Always - 411 (Average 348)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 13
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 128 128 020 Pre-fail Offline - 18
9 Power_On_Hours 0x0012 094 094 000 Old_age Always - 43203
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 13
22 Helium_Level 0x0023 100 100 025 Pre-fail Always - 100
192 Power-Off_Retract_Count 0x0032 099 099 000 Old_age Always - 1742
193 Load_Cycle_Count 0x0012 099 099 000 Old_age Always - 1742
194 Temperature_Celsius 0x0002 166 166 000 Old_age Always - 36 (Min/Max 23/48)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0
Member: kaiand1
kaiand1 Aug 19, 2024 at 16:53:29 (UTC)
Goto Top
Hi
nun der Superblock ist ja auch nicht das Problem....

[Mon Aug 19 09:29:49 2024] BTRFS critical (device md2): corrupt leaf: root=2 block=574619648 slot=11, unexpected item end, have 8928596 expect 15700
[Mon Aug 19 09:29:49 2024] BTRFS error (device md2): read time tree block corruption detected on logical 574619648 mirror 2
[Mon Aug 19 09:29:49 2024] BTRFS error (device md2): failed to read block groups: -5
[Mon Aug 19 09:29:50 2024] BTRFS error (device md2): open_ctree failed

Da steht doch dein Problem....

Nicht Vergessen Backup vor dem Fixen für den Fall der Fälle ;)
Member: Roadmax
Roadmax Aug 20, 2024 at 05:00:14 (UTC)
Goto Top
Backup ist gemacht, was wären jetzt deine Schritte?