Sending 3GB snapshot to 930GB SDCard is Erring Out.
- Dominant language
- Perl
- Stars
- 2.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
`btrbk` version 0.32.6
I have just completed a `btrfs balance` on an SDCard, and `btrfs fi show` indicates that the card has 24GB used or a total of ~932GB. I have `btrbk` sending snapshots, the first of roughly 2.8 GB to that card:
```
$ sudo btrfs fi du -s ./home.20250901T0800/
Total Exclusive Set shared Filename
2.78GiB 524.67MiB 2.25GiB ./home.20250901T0800/
$ sudo btrfs fi du -s ./home.20250907T0000/
Total Exclusive Set shared Filename
2.86GiB 511.94MiB 2.30GiB ./home.20250907T0000/
$ sudo btrfs fi du -s ./home.20250912T0000/
Total Exclusive Set shared Filename
302.84GiB 7.54GiB 229.05GiB ./home.20250912T0000/
```
Instantly on starting `btrbk`, `btrfs fi show` indicated that the whole card is in use:
```
Label: none uuid: xxxxxxxxxxxxxxx
Total devices 1 FS bytes used 22.46GiB
devid 1 size 931.95GiB used 931.95GiB path /dev/mapper/sd.luks.backup
```
Then, after 4-5 minutes, `btrbk` produces an error on that first snapshot:
```
[snip...]
!!! /home/dev/Backup/BtrBk/home/home.20250901T0800
!!! Target "/home/dev/Backup/BtrBk/home" aborted: Failed to send/receive subvolume
NOTE: Some errors occurred, which may result in missing backups!
Please check warning and error messages above.
```
At the end of the operation, after the return of `btrbk`, `btrfs fi show` is again indicating only 24GB used.
```
Label: none uuid: xxxxxxxxxxxxxxxxx
Total devices 1 FS bytes used 21.60GiB
devid 1 size 931.95GiB used 24.07GiB path /dev/mapper/sd.luks.backup
```
I have had this identical problem with two different cards, both of well-known manufacturers. I have tested those cards with `f3` and they are not fraudulently reporting their size. What might be happening?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.