GNU bug report logs - #45974
guix system vm-image ignores filesystem type

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Jack Hill <jackhill@HIDDEN>; merged with #42315; dated Tue, 19 Jan 2021 01:13:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 42315 45974. Request was from Jack Hill <jackhill@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jan 2021 01:12:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 18 20:12:13 2021
Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l1fZ6-0007vh-Iz
	for submit <at> 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 <jackhill@HIDDEN>) id 1l1fZ4-0007va-W9
 for submit <at> 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 <jackhill@HIDDEN>)
 id 1l1fZ4-0007pi-C0
 for bug-guix@HIDDEN; 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 <jackhill@HIDDEN>)
 id 1l1fZ1-0001bj-BK
 for bug-guix@HIDDEN; 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 <jackhill@HIDDEN>)
 id 1l1fYz-000162-1J
 for bug-guix@HIDDEN; Mon, 18 Jan 2021 20:12:05 -0500
Date: Mon, 18 Jan 2021 20:12:04 -0500 (EST)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
To: bug-guix@HIDDEN
Subject: guix system vm-image ignores filesystem type
Message-ID: <alpine.DEB.2.21.2101181955250.2314@HIDDEN>
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@HIDDEN;
 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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Acknowledgement sent to Jack Hill <jackhill@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#45974; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 2 Feb 2021 17:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.