-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bcache resizing #11
Comments
|
Seems fixable, but it will require a kernel patch. I'll have to confront the bcache maintainer's past refusal of my patch to resize bcache devices from sysfs (a simple but not necessarily easy matter of getting him to take another look), and expand the patch to allow shrinking as well. I might also ship a custom kernel for --maintboot, which won't require upstream's consent but will be more complicated to support. |
Thank you for your comment. I've managed to do backup and use |
Hi, Might I wake this thread up? The error:The filesystem (ext4) leaves enough room, no need to shrink it |
I tried to do
sudo blocks to-bcache /dev/sda6 --join b0209c0c-64b1-4ed1-81d5-bed570641246
when I've got the following error:
/dev/sda6
is formatted as ext4./dev/sda5
is already a part of thisbcache1
, and is formatted as btrfrs./dev/sda7
is a LUKS device, and also a part of the samebcache1
.This is my
/dev/sda
, as reported by gdisk:Disk /dev/sda: 1465149168 sectors, 698.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 9225A7F4-41FF-4FC5-99D7-0E4FDFB2DFC3
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1465149134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 104447 50.0 MiB EF00 EFI System
2 104448 616447 250.0 MiB 8300 Linux filesystem
3 616448 1128447 250.0 MiB 8300 Linux filesystem
4 1128448 34918399 16.1 GiB 8200 Linux swap
5 34918400 244635647 100.0 GiB 8300 Linux filesystem
6 244635648 559206399 150.0 GiB 8300 Linux filesystem
7 559206400 1465149134 432.0 GiB 0700 Microsoft basic data
Here is info about my
bcache1
Device /dev/bcache1 (251:1)
UUID b0209c0c-64b1-4ed1-81d5-bed570641246
Block Size 0.50KiB
Bucket Size 512.00KiB
Congested? False
Read Congestion 2.0ms
Write Congestion 20.0ms
Total Cache Size 62.88GiB
Total Cache Used 5.03GiB (8%)
Total Cache Unused 57.85GiB (92%)
Dirty Data 0B (0%)
Evictable Cache 62.88GiB (100%)
Replacement Policy [lru] fifo random
Cache Mode writethrough [writeback] writearound none
Total Hits 83442 (98%)
Total Misses 1324
Total Bypass Hits 7583 (100%)
Total Bypass Misses 0
Total Bypassed 272.00MiB
The text was updated successfully, but these errors were encountered: