From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Le Vaillant Subject: bug#37977: Mount options ignored for root file system Date: Tue, 29 Oct 2019 11:22:39 +0100 Message-ID: <87pnif6ec0.fsf@yamatai> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57347) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPOgT-0000Bz-DD for bug-guix@gnu.org; Tue, 29 Oct 2019 06:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPOgR-0003Fi-Km for bug-guix@gnu.org; Tue, 29 Oct 2019 06:25:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPOgR-0003FA-9U for bug-guix@gnu.org; Tue, 29 Oct 2019 06:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPOgQ-0002To-Tr for bug-guix@gnu.org; Tue, 29 Oct 2019 06:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57113) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPOfe-0007Xw-No for bug-guix@gnu.org; Tue, 29 Oct 2019 06:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPOfc-0002WM-Qg for bug-guix@gnu.org; Tue, 29 Oct 2019 06:24:13 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51211) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPOfc-0002Ut-8l for bug-guix@gnu.org; Tue, 29 Oct 2019 06:24:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 32189160085 for ; Tue, 29 Oct 2019 11:24:03 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 472SMS3zYSz6ts7 for ; Tue, 29 Oct 2019 11:22:44 +0100 (CET) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37977@debbugs.gnu.org The filesystem options declared for the root file system are apparently ignored. This happens for a btrfs root filesystem on a LUKS volume. Exerpt from '/etc/config.scm": --8<---------------cut here---------------start------------->8--- (mapped-devices (list (mapped-device (source (uuid "ee90b2aa-97e8-4ae5-ac72-9bf9058cc949")) (target "cryptroot") (type luks-device-mapping)) (mapped-device (source (uuid "ec9cd327-0370-4e20-baa4-254d03b1901e")) (target "cryptguillaume") (type luks-device-mapping)))) (file-systems (cons* (file-system (mount-point "/") (device "/dev/mapper/cryptroot") (type "btrfs") (options "autodefrag,compress=lzo") (dependencies mapped-devices)) (file-system (mount-point "/home/guillaume") (device "/dev/mapper/cryptguillaume") (type "btrfs") (options "autodefrag,compress=lzo") (dependencies mapped-devices)) %base-file-systems)) --8<---------------cut here---------------end--------------->8--- Exerpt from '/etc/fstab': --8<---------------cut here---------------start------------->8--- /dev/mapper/cryptroot / btrfs autodefrag,compress=lzo /dev/mapper/cryptguillaume /home/guillaume btrfs autodefrag,compress=lzo --8<---------------cut here---------------end--------------->8--- Exerpt from '/etc/mtab': --8<---------------cut here---------------start------------->8--- /dev/mapper/cryptroot / btrfs rw,relatime,ssd,space_cache,subvolid=5,subvol=/ 0 0 /dev/mapper/cryptguillaume /home/guillaume btrfs rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=5,subvol=/ 0 0 /dev/mapper/cryptroot /gnu/store btrfs ro,relatime,ssd,space_cache,subvolid=5,subvol=/gnu/store 0 0 --8<---------------cut here---------------end--------------->8--- Here we see that the options 'autodefrag' and 'compress=lzo' have disappeared on the root filesystem. Maybe it has something to do with the new '/gnu/store' subvolume that appeared?