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

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Tue, 19 Jan 2021 01:13:01 UTC

Severity: normal

Merged with 42315

Full log


View this message in rfc822 format

From: Jack Hill <jackhill <at> jackhill.us>
To: 45974 <at> debbugs.gnu.org
Subject: bug#45974: guix system vm-image ignores filesystem type
Date: Mon, 18 Jan 2021 20:12:04 -0500 (EST)
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




This bug report was last modified 4 years and 131 days ago.

Previous Next


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