From unknown Fri Jun 13 10:38:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45974: guix system vm-image ignores filesystem type Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 Jan 2021 01:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45974 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45974@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161101873330490 (code B ref -1); Tue, 19 Jan 2021 01:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jan 2021 01:12:13 +0000 Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1fZ6-0007vh-Iz for submit@debbugs.gnu.org; Mon, 18 Jan 2021 20:12:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:39012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1fZ4-0007va-W9 for submit@debbugs.gnu.org; Mon, 18 Jan 2021 20:12:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1fZ4-0007pi-C0 for bug-guix@gnu.org; Mon, 18 Jan 2021 20:12:10 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:35512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1fZ1-0001bj-BK for bug-guix@gnu.org; Mon, 18 Jan 2021 20:12:09 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1fYz-000162-1J for bug-guix@gnu.org; Mon, 18 Jan 2021 20:12:05 -0500 Date: Mon, 18 Jan 2021 20:12:04 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, I believe that this is a feature request. I would like to create a Guix qcow2 image to run as a VM. Additionally, I would like the root file system to be btrfs. Therefore, I created an operating system definition with the following file-systems: ``` (file-systems (cons (file-system (mount-point "/") (device "/dev/vda1") (type "btrfs") (flags '(no-atime)) (options "compress=zstd")) %base-file-systems)) ``` I then ran `guix system vm-image --image-size=10G --volatile config.scm`. That successfully created a qcow2 image, but the root file system was ext4 instead of btrfs. Ideally, I would get an image with a btrfs filesystem. I expect supporting all combinations of filesystems and mapped devices might be challenging for the image creation process, but some more options might be interesting. At the very least, I think a warning or error when the requested configuration is not supported would be appropriate. What do you think about this feature? Best, Jack From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 12:17:35 2021 Received: (at control) by debbugs.gnu.org; 2 Feb 2021 17:17:35 +0000 Received: from localhost ([127.0.0.1]:36105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6zJ0-0004WI-0O for submit@debbugs.gnu.org; Tue, 02 Feb 2021 12:17:34 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:59510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6zIu-0004Vz-Dy for control@debbugs.gnu.org; Tue, 02 Feb 2021 12:17:32 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6zIp-0000Bs-2f for control@debbugs.gnu.org; Tue, 02 Feb 2021 12:17:23 -0500 Date: Tue, 2 Feb 2021 12:17:22 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: control@debbugs.gnu.org Subject: Duplicate tickets for file system type in images Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 45974 42315 Thanks