Re: fsck.btrfs

Eric Sandeen
2013-01-03T20:17:50Z

On Jan 3, 2013, at 1:08 PM, Zach Brown <zab@zabbo.net> wrote:

>>> 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.
>
> For what it''s worth, I gather that the XFS guys used to do the
latter
> and that it broke something.  Somewhere.  I have no idea what.
>

Yeah, lost in the mists of time by now.

Seems like maybe by now system installers should set up fstab correctly for a
journaling ds, but since ext[34] wants boot-time fsck despite journaling, maybe
it''s best to provide a fsck.$FS even if it''s a no-op.

> Hence fsck.xfs(8) which has perhaps the greatest description in its man
> page.
>
\o/

-Eric

> - z
> --
> To unsubscribe from this list: send the line "unsubscribe
linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html