general:linux:btrfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general:linux:btrfs [2022/05/11 15:17] – [btrfs on lotr] sunkan | general:linux:btrfs [2022/05/11 16:33] (current) – sunkan | ||
---|---|---|---|
Line 7: | Line 7: | ||
</ | </ | ||
+ | fstab like so | ||
+ | < | ||
+ | UUID=< | ||
+ | </ | ||
+ | Installed btrfsmaintenance package and edited / | ||
+ | < | ||
+ | BTRFS_BALANCE_MOUNTPOINTS="/ | ||
+ | BTRFS_SCRUB_MOUNTPOINTS="/ | ||
+ | BTRFS_TRIM_MOUNTPOINTS="/ | ||
+ | </ | ||
+ | |||
+ | Enabled these timers | ||
+ | < | ||
+ | systemctl enable btrfs-balance.timer | ||
+ | systemctl enable btrfs-scrub.timer | ||
+ | </ | ||
+ | |||
+ | And refreshed the configuration (unsure if it is needed or a reboot does the same) | ||
+ | < | ||
+ | systemctl restart btrfsmaintenance-refresh.service | ||
+ | </ | ||
+ | |||
+ | Verified that timers were added to systemd | ||
+ | < | ||
+ | root@lotr: | ||
+ | UNIT LOAD | ||
+ | btrfs-balance.timer loaded active waiting Balance block groups on a btrfs filesystem | ||
+ | btrfs-scrub.timer | ||
+ | </ | ||
+ | |||
+ | Create subvolume for imagelib | ||
+ | < | ||
+ | btrfs su create / | ||
+ | </ | ||
+ | |||
+ | Setup fstab to mount subvolume separate from btrfs_root | ||
+ | < | ||
+ | UUID=< | ||
+ | </ |
general/linux/btrfs.1652282254.txt.gz · Last modified: 2022/05/11 15:17 by sunkan