The NVMe SSD is btrfs-formatted with a number of subvolumes.
$ sudo btrfs subvolume list -t /
ID gen top level path
-- --- --------- ----
256 11896 5 @
257 11896 5 @home
258 11896 5 @cache
259 11896 5 @log
270 11733 256 var/lib/docker/btrfs/subvolumes/b6ca7cf06d6b4d41f8ecf6be35623fd4cdddb61aa98850001eebd0da48a95674
271 11733 256 var/lib/docker/btrfs/subvolumes/46e38d188bee2f3bfa790ed57ef31be6574ce71ee024b87ffbdd4915a5fea005
272 11733 256 var/lib/docker/btrfs/subvolumes/682d95db8f7dde23e1c5c34143de0edeebda178e75540b981b4afcb2e3e27ef0-init
273 11733 256 var/lib/docker/btrfs/subvolumes/682d95db8f7dde23e1c5c34143de0edeebda178e75540b981b4afcb2e3e27ef0
280 11780 5 timeshift-btrfs/snapshots/2022-02-20_10-38-29/@
281 11780 5 timeshift-btrfs/snapshots/2022-02-20_10-39-00/@
282 11780 5 timeshift-btrfs/snapshots/2022-02-24_09-38-46/@
The VM storage file is located under my user’s home dir. I initially ran into the IO error when I tried to cp
the file and tried to use rsync
as an alternative.
scrub result
Running scrub gives me:
$ sudo btrfs scrub start -B -r /dev/nvme0n1p2
scrub done for b7a8a09e-5bed-46bc-99f3-5284934ef9fb
Scrub started: Thu Feb 24 16:32:30 2022
Status: finished
Duration: 0:00:57
Total to scrub: 185.02GiB
Rate: 3.24GiB/s
Error summary: csum=1
Corrected: 0
Uncorrectable: 0
Unverified: 0
Actually no errors are displayed, I had a number of “uncorrectable” previously. However, there’s a number of warnings/errors in dmesg.
[ 7946.082476] BTRFS info (device nvme0n1p2): scrub: started on devid 1
[ 7988.988319] BTRFS warning (device nvme0n1p2): checksum error at logical 146570256384 on dev /dev/nvme0n1p2, physical 147652386816, root 257, inode 53306, offset 17113878528, length 4096, links 1 (path: christian/VM-Storage/win10.qcow2)
[ 7988.988325] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 1438, gen 0
[ 8003.157295] BTRFS info (device nvme0n1p2): scrub: finished on devid 1 with status: 0
[ 8096.115335] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 53306 off 17113878528 csum 0x7a427bdd expected csum 0xdc789b4c mirror 1
[ 8096.115343] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 1439, gen 0
[ 8096.129440] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 53306 off 17113878528 csum 0x7a427bdd expected csum 0xdc789b4c mirror 1
[ 8096.129449] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 1440, gen 0
[ 8096.131429] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 53306 off 17113878528 csum 0x7a427bdd expected csum 0xdc789b4c mirror 1
[ 8096.131432] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 1441, gen 0
[ 8096.134617] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 53306 off 17113878528 csum 0x7a427bdd expected csum 0xdc789b4c mirror 1
[ 8096.134620] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 1442, gen 0
There’s enough free space:
$ df -h /home
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/nvme0n1p2 923G 196G 725G 22% /home
Yet I can’t copy the file:
$ cp win10.qcow2 win10.backup.qcow2
cp: Fehler beim Lesen von 'win10.qcow2': Eingabe-/Ausgabefehler