all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix system init with mounted btrfs
@ 2019-06-23  2:05 Matt Huszagh
  2019-06-23 12:42 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 9+ messages in thread
From: Matt Huszagh @ 2019-06-23  2:05 UTC (permalink / raw)
  To: help-guix

I'm encountering the error "rmdir: Device or resource busy" when I
attempt to perform guix system init on a mount point that has btrfs
subvolumes. Here's the process I've used for creating and mounting the
subvolumes prior to running `guix system init`:

mount -t btrfs -o compress=lzo LABEL=btrfs /mnt
btrfs subvolume create /mnt/@guixsd
btrfs subvolume create /mnt/@home
btrfs subvolume create /mnt/@snapshots
btrfs subvolume create /mnt/@grub
btrfs subvolume create /mnt/@guix
btrfs subvolume create /mnt/@gnu
umount /mnt
o_btrfs=defaults,X-mount.mkdir,compress=lzo,ssd,noatime

mount -o subvol=@guixsd,$o_btrfs LABEL=btrfs /mnt
mount -o subvol=@home,$o_btrfs LABEL=btrfs /mnt/home
mount -o subvol=@snapshots,$o_btrfs LABEL=btrfs /mnt/.snapshots
mount -o subvol=@grub,$o_btrfs LABEL=btrfs /mnt/boot/grub
mount -o subvol=@guix,$o_btrfs LABEL=btrfs /mnt/var/guix
mount -o subvol=@gnu,$o_btrfs LABEL=btrfs /mnt/gnu
mount -o X-mount.mkdir /dev/nvme0n1p1 /mnt/boot/efi

What have I done wrong here?

thx

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

end of thread, other threads:[~2019-06-25  6:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-23  2:05 guix system init with mounted btrfs Matt Huszagh
2019-06-23 12:42 ` Tobias Geerinckx-Rice
2019-06-23 12:47   ` Tobias Geerinckx-Rice
2019-06-23 17:36   ` Matt Huszagh
2019-06-23 21:10   ` Matt Huszagh
2019-06-24 11:49     ` Efraim Flashner
2019-06-24 14:51       ` Matt Huszagh
2019-06-24 17:54         ` Matt Huszagh
2019-06-25  6:27           ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.