Re: fsck.btrfs

David Sterba
2013-01-04T13:20:57Z

On Sat, Dec 22, 2012 at 02:27:33PM +0000, Hugo Mills
wrote:
> On Sat, Dec 22, 2012 at 08:44:13AM -0500, Gene Czarcinski wrote:
> > I am new to btrfs and have begun exploring and testing it.  One of
> > these tests is to install Fedora 18 into a btrfs volume only leaving
> > /boot and swap on regular partitions.  BTW, this is on
> > qemu/kvm/libvirt virtuals.
> >
> > I discovered an error was occurring during bootup because systemd
> > was attempting to start fsck.btrfs and it was missing.
> >
> > 1. Would btrfsck be the appropriate program to run at bootup?  If it
> > is, with what parameters?
>
>    No, it''s not necessary to run an fs checker on every boot. You
can
> either turn off the checks in fstab, or symlink /sbin/fsck.btrfs to
> /bin/true.

Wiki updated to describe the difference and best practices.

david