Chris Murphy posted on Fri, 27 Nov 2015 15:51:03 -0700 as excerpted: > On Fri, Nov 27, 2015 at 1:43 PM, Hugo Mills <h...@carfax.org.uk> wrote: >> On Fri, Nov 27, 2015 at 10:33:29PM +0200, Imran Geriskovan wrote: >>> After upgrading from systemd227 to 228 these messages began to show up >>> during boot: >>> >>> [ 24.652118] BTRFS: could not find root 8 >>> [ 24.664742] BTRFS: could not find root 8 >>> >>> Are they important? >> >> That's the quota tree. I don't know exactly what's happening, but >> possibly systemd is now enabling qgroups for its own purposes, and what >> you're seeing is simply the qgroups being enabled for the first time? > > I'm seeing a feature in systemd 228, "systemd-tmpfiles learned two new > line types “q” and “Q” that operate like “v”, but also set up a basic > btrfs quota hierarchy when used on a btrfs file system with quota > enabled." > https://lukevizzicks.co.uk/systemd-228-system-and-service-manager-released/ > > But from github I'm not finding any indication that systemd enables > quota. This issue suggests that quota disabled is tolerated. > https://github.com/systemd/systemd/issues/1809 > > Questions: > a. Quotas seem to be sufficiently in-flux, and with two (?) deprecated > methods, and one new implementation that I don't think it's OK for > anything to enable it by default. Are there different opinions on this?
Definitely no different here. As with raid56 mode, I'd want quotas to be stable, with no bugs reported for two kernel cycles minimum, before I'd consider recommending them. Since we had quota bugs in 4.3, that means 4.5 at the earliest, and presumably the LTS after that for those not keeping current, altho if the quota fixes are backported to LTS when finally stable then possibly 4.4 and 4.1... after the backports, of course. Let's hope systemd's not auto-enabling quotas, but I'd not be surprised if they are, despite intentions to the contrary, given the problems I had when they first added the tmpfiles.d v=subvolume support, in 218 IIRC. The fixes only made it into 221, tho patches were available on the bug I filed (during 219) against 220. I'm on 226 (gentoo's 226-r1) ATM. I probably won't go out of my way to grab newer just to test this, but if 228 appears unmasked to ~amd64 in the gentoo tree, I'll upgrade and be on the lookout for this thanks to this thread. I know for sure I've never enabled quotas here, so if I see that in dmesg, I'll be pretty irritated at systemd, and will be either ccing a bug if already filed or filing my own ASAP, as well as creating my own patch to disable the q/Q in its shipped tmpfiles.d config in the mean time. > b. For the OP, is it possible quotas was ever enabled on this file > system? > c. How can we determine if quotas are enabled on Btrfs? I don't see a > command within btrfs-quota to determine quota status. Very good question. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html