yamato
yamato
I tried these commands, but it doesn't work. * btrfs scrub start -B * btrfs check --repair * btrfs check --force --clear-space-cache v1 * btrfs check --force --clear-space-cache v2
@kdave Thank you for kindly letting me know many things! @Zygo I use Ubuntu 18.04, the kernel version 4.15.0-163. Then, I'll post more details about my environment and how I...
My environment: * CPU: Intel Atom E3950 * Mem: 8GB * Disk: SSD 64GB * OS: Ubuntu Server 18.04 I create btrfs filesystem on 1GB partition at /dev/sda7. command options...
I found the code which limits global reserve. https://github.com/kdave/btrfs-devel/blob/f993aed406eaf968ba3867a76bb46c95336a33d0/fs/btrfs/block-rsv.c#L396 This looks the limit is fixed and included in the code, not dynamic or modifiable. I feel this looks not good,...
Just after `mkfs.btrfs`, global reserve is 16MB. So I feel minimum size setting works correctly. However, the size becomes big by writing files, removing files and cutting the power.
I've tried to change here: https://github.com/kdave/btrfs-devel/blob/f993aed406eaf968ba3867a76bb46c95336a33d0/fs/btrfs/block-rsv.c#L396 ```diff - block_rsv->size = min_t(u64, num_bytes, SZ_512M); + block_rsv->size = min_t(u64, num_bytes, SZ_32M); ``` This appears to be working correctly in my environment.
> Such change may work in the specific case but will break elsewhere. Yeah, I just confirmed. I feel the maximum value should be variable to allow the user change...
Thank you for reply. Oh, I understood. Then, how's add a warning message into `quick-install` like this? This is temporary, but this will help people having same troulble. ```bash if...