[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
fsck.btrfs is now just a dummy program to return exit code 0. Source: $ man fsck.btrfs ** Changed in: btrfs-tools (Ubuntu) Status: Confirmed => Fix Released ** Changed in: linux (Ubuntu) Status: Invalid => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
I really don't want to special case btrfs. But I see that with very large hard-drives it can be a pain. Note, that earlier mentions of ext4 do not apply here as most of the time it, fsck on ext4 quits reporting filesystems as clean. Maybe a configuration options should be included to prevent including btrfs fsck into initramfs if one doesn't want to but then no btrfsck will be available in the initramfs, when one would want / need it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
A quick work around if the bootup speed is really killing you and since btrfsck doesn't do much yet. Please realize this prevents mountall from running btrfsck and this is NOT a fix. You can move btrfsck somewhere where you can still use it: $ sudo mv /sbin/btrfsck /usr/local/bin/ Then make a symbolic link to something like false: $ sudo ln -s /bin/false /sbin/btrfsck Also note that if btrfs-tools is updated or reinstalled, you have to do this again. Hopefully a full btrfsck will be out soon. Cross your fingers. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
Well btrfsck does do something useful in Quantal... ** Changed in: linux (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
Please correct, if I am wrong, but this is not a linux kernel bug, as far as I can see. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
Dmitrijs Ledkovs, you are absolutely correct that this is not a Linux kernel bug, but Quantal is still currently using Btrfs v0.19 with the same btrfsck. With my 3TB fs, it takes about 9 minutes to boot because of the fs check. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
Curtis Lee Bolin, quantal has much newer btrfs-tool, which have newer fsck tool. If it is still so slow for you, the best procedure is to request the upstream btrfsck to support standard flags of checking if the disk is dirty/fsck not run in a while and only then spend 9 minutes fscking. Are you willing to forward this upstream? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
If you read the btrfsck manual even in quantal, you will see: Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and review. I took that into consideration before working around the long scan at boot. Anyone that is using btrfs is clearly experimenting. I'm just passing it on to the other people experimenting (the people reading this bug report). I'm confident the developers are on track. No need to tell them what they already know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
1 year. Nothing changed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
** Changed in: btrfs-tools (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
This is not a bug in mountall. fsck is meant to be called for all filesystems at boot, and it's the responsibility of the per-filesystem fsck implementation to figure out if the filesystem is clean or if something needs to be done. If fsck.btrfs doesn't provide the standard interface for fsck, that needs to be fixed in btrfs-tools. ** Package changed: mountall (Ubuntu) = btrfs-tools (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
After few months btrfs crashes so badly, that I cannot access my /home folder. Btrfsck finds an error but seems it cannot repair it. (bug #804309) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/771748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
Seems to concern only systems with a btrfs partition regardless of mount point. It might be because there is no fsck tool for btrfs! ** Summary changed: - Ubuntu does fsck on every start + Ubuntu does fsck on every start when using btrfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
There's actually a very simple fsck for btrfs (btrfsck), but it's very primitive and doesn't support any of the command line options yet. Maybe something calls it, and expects it to support some command line option? Something like --dont-run-every-time, except with a different name of course. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771748] Re: Ubuntu does fsck on every start when using btrfs
OK, then mountall is the offender here, because that's what /etc/init/mountall.conf calls. According to its manpage it runs fsck. ** Also affects: mountall (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771748 Title: Ubuntu does fsck on every start when using btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs