Hi everyone,
I got the BTRFS error while copying the zip file in my disk using BTRFS. The Copy process is canceled immediately.
I tried cp
❯ cp ~/MEGA1.zip ~/Downloads
cp: error reading '/home/zesko/MEGA1.zip': Input/output error
if cp
does not work, I tried scp
:
❯ scp ~/MEGA1.zip ~/Downloads
cp: error reading '/home/zesko/MEGA1.zip': Input/output error
if scp
does not work, I tried rsync
:
❯ rsync -c ~/MEGA1.zip ~/Downloads
rsync: [sender] read errors mapping "/home/zesko/MEGA1.zip": Input/output error (5)
rsync: [sender] read errors mapping "/home/zesko/MEGA1.zip": Input/output error (5)
ERROR: MEGA1.zip failed verification -- update discarded.
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=v3.2.3]
journactl -b -p 3
Sep 20 15:18:35 zesko kernel: BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 70, gen 0
Sep 20 15:18:35 zesko kernel: BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 71, gen 0
Sep 20 15:18:35 zesko kernel: BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 72, gen 0
I thought this zip file would be damaged. I tried to compress the same file to zip again, then the same error of copy. This is no coincidence, BTRFS has a bug or not?
Copying other zip files work fine without this issue, but only certain zip file does not work with BTRFS.
Linux kernel 5.14 and 5.10 LTS have the same issue.