You are not logged in.
Can I just symlink btrfsck to it?
Offline
"Mad"? What is the problem exactly? I don't have any problem with it. Just set the pass option in fstab to 0. Btrfsck cannot yet actually repair most problems anyway, at least that's my understanding of it.
Offline
Nice anthropomorphism
Where does the btrfs volume get mounted? Is it root?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Offline
No, don't symlink btrfsck. It's not designed to be used as a fsck.* tool.
I don't see what systemd's got to do with anything. mkinitcpio will tell you that it can't find fsck.btrfs, and I guess the ramdisk will reiterate that if you have the fs_passno set to 1 or 2 for a btrfs filesystem in fstab, but neither of these have anything to do with systemd.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Systemd tried to fsck my partitions when I booted and it gave some error that it couldn't find fsck.btrfs. My root partition is btrfs, as are most of my others (not boot).
Thanks for the info guys.
Offline
In case it was not clear: systemd is trying to fsck your partition because you told it to in your fstab, just set the fs_passno (the sixth field) for your btrfs entries to 0.
Offline
No, you cannot symlink it. disable fsck in /etc/fstab. btrfs volumes do not require religious fsck'ing after N mounts like journaled filesystems do.
The default configuration shipped with e2fsprogs does not enable periodic fsck for newly formatted filesystems, so I guess journaled filesystems do not need to be religiously fscked after N mounts / M days although 'man tune2fs' says otherwise.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I don't think any of these actually need to be checked to operate properly; it's just a matter of redundancy/contingency. Periodic filesystem checks are one of those things most folks don't think of unless they already have a problem, so the system is set to check every so often (21 mounts?) just in case.
Offline
Indeed. These filesystems generally know when the need fscking, the n mounts thing seems like more of a safety net, which I guess is no longer deemed necessary.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline