From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Huszagh Subject: guix system init with mounted btrfs Date: Sat, 22 Jun 2019 19:05:52 -0700 Message-ID: <87r27lginz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36551) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hertF-0001K4-3h for help-guix@gnu.org; Sat, 22 Jun 2019 22:05:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hertE-0004k5-9h for help-guix@gnu.org; Sat, 22 Jun 2019 22:05:57 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:46617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hertE-0004j8-1g for help-guix@gnu.org; Sat, 22 Jun 2019 22:05:56 -0400 Received: by mail-pf1-x429.google.com with SMTP id 81so5493048pfy.13 for ; Sat, 22 Jun 2019 19:05:55 -0700 (PDT) Received: from arch-xps (c-98-210-127-71.hsd1.ca.comcast.net. [98.210.127.71]) by smtp.gmail.com with ESMTPSA id y22sm9817844pgj.38.2019.06.22.19.05.52 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 22 Jun 2019 19:05:53 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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