> Niccolò Belli posted on Wed, 04 May 2016 11:46:10 +0200 as excerpted:
>
>> Hi,
>> I have the following options for my rootfs in /etc/fstab:
>> rw,relatime,compress=lzo,ssd,discard,space_cache,autodefrag,
>> subvolid=257,subvol=/@

The combination of subvolid and subvol is rejected in recent kernels.
I don't know if it's rejected only if they point to different fs
trees, or if it's always rejected to have both. In any case, both does
not make sense. Pick one.




>>
>> grub2 already placed rootflags=subvol=@ in its cmdline, but not the
>> other options.

Separate them with a comma, it's valid just as it is in fstab. All you
appear to need are:

rootflags=autodefrag,discard,compress=lzo,subvolid=257

ssd should be automatically detected unless the volume is on dmcrypt
or lvm or raid. rw, relatime, space_cache are defaults. Discard is
only advised if your SSD supports queued trim, otherwise you should
rely on the systemd fstrim.timer service being enabled instead.
Everything else in your fstab is already the default.






-- 
Chris Murphy
--
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

Reply via email to