Hello,

backup harddisk connected via eSATA. Hard kernel hang, mouse pointer freezing 
two times seemingly after finishing /home backup and creating new snapshot on 
source BTRFS SSD RAID 1 for / in order to backup it. I did scrubbed / and it 
appears to be okay, but I didn´t run btrfs check on it. Anyway deleting that 
subvolume works and I as I suspected an issue with the backup disk I started 
with that one.

I got

merkaba:~> btrfs --version
btrfs-progs v4.9.1

merkaba:~> cat /proc/version
Linux version 4.9.20-tp520-btrfstrim+ (martin@merkaba) (gcc version 6.3.0 
20170321 (Debian 6.3.0-11) ) #6 SMP PREEMPT Mon Apr 3 11:42:17 CEST 2017

merkaba:~> btrfs fi sh feenwald
Label: 'feenwald'  uuid: […]
        Total devices 1 FS bytes used 1.26TiB
        devid    1 size 2.73TiB used 1.27TiB path /dev/sdc1

on Debian unstable on ThinkPad T520 connected via eSATA port on Minidock.


I am now running btrfs check --repair on it after without --repair the command 
reported file extent discount errors and it appears to loop on the same file 
extent discount errors for ages. Any advice?

I do have another backup harddisk with BTRFS that worked fine today, so I do 
not need to recover that drive immediately. I may let it run for a little more 
time, but then will abort the repair process as I really think its looping 
just over and over and over the same issues again. At some time I may just 
copy all the stuff that is on that harddisk, but not on the other one over to 
the other one and mkfs.btrfs the filesystem again, but I´d rather like to know 
whats happening here.

Here is output:

merkaba:~> btrfs check --repair /dev/sdc1
enabling repair mode
Checking filesystem on /dev/sdc1
[… UUID ommited …]
checking extents
Fixed 0 roots.
checking free space cache
cache and super generation don't match, space cache will be invalidated
checking fs roots
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
[… hours later …]
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072
root 257 inode 4979842 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 78798848
root 257 inode 4980212 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 143360
root 257 inode 4980214 errors 100, file extent discount
Found file extent holes:
        start: 0, len: 4227072

This basically seems to go on like this forever.

Thanks,
-- 
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to