This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
start:noholesbtrfs [2022/06/30 13:25] – created peter | start:noholesbtrfs [2022/06/30 13:31] – peter | ||
---|---|---|---|
Line 11: | Line 11: | ||
{{: | {{: | ||
+ | As you can note, NO_HOLES is listed under incompat_flags. | ||
+ | |||
+ | Another method is to check via the UUID in this way: | ||
+ | < | ||
+ | ls / | ||
+ | </ | ||
+ | {{: | ||
+ | |||
+ | As we can see no_holes is also listed here. | ||
+ | |||
+ | To add no_holes support the disk must be UNMOUNTED. This might mean you have to boot off a live CD like an ubuntu live ISO from a USB stick. | ||
+ | |||
+ | Once you have unmounted the filesystem you can easily add no_holes support with the -n flag as such: | ||
+ | < | ||
+ | sudo btrfstune -n / | ||
+ | </ | ||
+ | |||
+ | Note, as that disk housed my root partition I had to use a live CD in order to run the command successfully then reboot back into my system afterwards. | ||
+ | |||
+ | This completes how to add the no_hole improvement to a filesystem made prior to v5.15 when it became the default. | ||
+ | |||
+ | |||
+ |