unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How do I specify a btrfs subvolume?
@ 2021-03-15  1:33 Nathan Dehnel
  2021-03-17  1:44 ` raingloom
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Dehnel @ 2021-03-15  1:33 UTC (permalink / raw)
  To: help-guix

This is extremely confusing:
https://guix.gnu.org/manual/en/html_node/Btrfs-file-system.html

I made my best attempt at creating and mounting a subvolume at
/media/offsite-backup:

  (file-systems
    (cons* (file-system
             (mount-point "/")
             (device
               (uuid "b2e0f449-0583-46fd-8c23-ad2e6cd661a1"
                     'btrfs))
             (type "btrfs"))
           (file-system
             (mount-point "/media/offsite-backup")
             (device
               (uuid "b2e0f449-0583-46fd-8c23-ad2e6cd661a1"
                     'btrfs))
             (type "btrfs")
             (options "subvol=offsite-backup,compress=zlib:9"))

It gives this error:

building /gnu/store/mrs1qbg619qk4n2lv8k377arclgzwqjq-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '/dev/sda'
guix system: warning: exception caught while executing 'start' on
service 'file-system-/media/offsite-backup':
In procedure mount: mount "/dev/sda2" on "///media/offsite-backup": No
such file or directory
guix system: warning: some services could not be upgraded

But /media/offsite-backup exists.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-20  4:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  1:33 How do I specify a btrfs subvolume? Nathan Dehnel
2021-03-17  1:44 ` raingloom
2021-03-18  2:48   ` Maxim Cournoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).