All of lore.kernel.org
 help / color / mirror / Atom feed
* Damaged filesystem - request for support
@ 2025-10-22 11:27 Tobiasz Karoń
  2025-10-23  3:21 ` Chris Murphy
  0 siblings, 1 reply; 11+ messages in thread
From: Tobiasz Karoń @ 2025-10-22 11:27 UTC (permalink / raw)
  To: linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 2332 bytes --]

Hi!

I have a damaged filesystem using 2 HDDs in a single configuration.
One HDD is a 6 TB Toshiba, the other is a 4 TB Western Digital.
Together they make a 10 TB FS I use for daily borg backups.

Recently I had borg backup crash with input-/output errors. I tried
scrubbing the FS but that failed, then did a check and it reported errors.

My system info:


root@pve:~# uname -a
Linux pve 6.8.12-15-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-15
(2025-09-12T11:02Z) x86_64 GNU/Linux
root@pve:~# btrfs --version
btrfs-progs v6.2
root@pve:~# btrfs fi show
Label: 'unfa-RollingBackup6G'  uuid: a11787a5-de1d-421c-ac2e-b669f948b1f0
       Total devices 2 FS bytes used 9.08TiB
       devid    1 size 0 used 0 path /dev/sdd MISSING
       devid    2 size 0 used 0 path /dev/sdb MISSING
root@pve:~#  btrfs fi df /mnt/backup/
Data, single: total=9.07TiB, used=9.07TiB
System, RAID1: total=32.00MiB, used=1.19MiB
Metadata, RAID1: total=11.03GiB, used=9.91GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

I am attaching a full zstd-compressed dmesg log.

SMART reports no errors, and I can still mount the FS.

btrfs check returned this:

root@pve:~# btrfs check /dev/sde
Opening filesystem to check...
Checking filesystem on /dev/sde
UUID: a11787a5-de1d-421c-ac2e-b669f948b1f0
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
root 5 inode 32750 errors 2000, link count wrong
ERROR: errors found in fs roots
found 9978823688192 bytes used, error(s) found
total csum bytes: 9734550208
total tree bytes: 10644275200
total fs tree bytes: 169132032
total extent tree bytes: 235536384
btree space waste bytes: 458925672
file data blocks allocated: 9968179412992
referenced 9978512461824

I use a dual-disk USB enclosure to accees these drives - I know it's less
than ideal, but the machine I have is low-power and that's the best I can
do with the budget I have for now.

Can I fix this FS and keep going with it? It does not contain critical
information (that's why no redundancy), but it's a backup of stiff I have
on other machines. Loosing it is not the end of the world, but obviously
I'd want my backup to be reliable.

Please help!
Thank you!

Best regards,
-- 
- Tobiasz 'unfa' Karoń

www.youtube.com/unfa000

[-- Attachment #1.2: Type: text/html, Size: 3372 bytes --]

[-- Attachment #2: dmesg.log.tar.zst --]
[-- Type: application/zstd, Size: 48587 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-18 18:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 11:27 Damaged filesystem - request for support Tobiasz Karoń
2025-10-23  3:21 ` Chris Murphy
     [not found]   ` <CAOsCCbOH_PRiExWLKPymdrCeNYCtfLgZ6khuGty-_m94MpOuMA@mail.gmail.com>
2025-10-23 20:09     ` Chris Murphy
2025-10-24 10:26       ` Tobiasz Karoń
2025-10-25  8:58         ` Tobiasz Karoń
2025-10-25 17:06           ` Chris Murphy
2025-11-12 12:57             ` Tobiasz Karoń
2025-11-12 23:21               ` Nicholas D Steeves
2025-11-13  1:27               ` Chris Murphy
2025-11-17  0:03                 ` Tobiasz Karoń
2025-11-18 18:22                   ` Chris Murphy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.