From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yKOcEBM+UmC7AQAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 17:36:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mHlpDBM+UmDRPQAA1q6Kng (envelope-from ) for ; Wed, 17 Mar 2021 17:36:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A1ADE15A68 for ; Wed, 17 Mar 2021 18:36:18 +0100 (CET) Received: from localhost ([::1]:39358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMa5h-0003Xd-NR for larch@yhetil.org; Wed, 17 Mar 2021 13:36:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0w-0000P8-33 for help-guix@gnu.org; Wed, 17 Mar 2021 13:31:22 -0400 Received: from mx1.riseup.net ([198.252.153.129]:38474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0l-0003qu-Ix for help-guix@gnu.org; Wed, 17 Mar 2021 13:31:21 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F0xyk4116zDxcG for ; Wed, 17 Mar 2021 10:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1616002270; bh=2FbMXadqhjlY7b136Ccjbnmop3piKywvcxUn/offiLQ=; h=Date:From:To:Subject:In-Reply-To:References:From; b=gy7Nh9Zfdk2fYdC2Lp/lwDFArosYpuk+JXqjVwF3NYyRRvRLGscJfegwRTfn9qCp7 2LctZcpK5O7iH9vi3+bkIAnNmY5Yybc5T3fSEuf5dAoUPdQt6ihyW+qPjuNxca/L9a pDn8aoX/BWyhvbK0vClZfTo4z9pmSJPXXdyvBUNY= X-Riseup-User-ID: B303EC373F6D0B61EB53FEF38C7D14C4F3B434FEE6434283A8D94D9686A11596 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4F0xyj5z4Wz5vhN for ; Wed, 17 Mar 2021 10:31:09 -0700 (PDT) Date: Wed, 17 Mar 2021 02:44:25 +0100 From: raingloom To: help-guix@gnu.org Subject: Re: How do I specify a btrfs subvolume? Message-ID: <20210317024425.5b6cb1de@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616002578; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=k8la2FsW0irYwfoGI3CsjC2RFgUkCvF9v3kxOlvGTzw=; b=SreD6xBj82QixXFbmt07GacJ3FmAl9igMrbJtPA31STmIYa5zZADMnSSWbgVw3EbJNUrrb XAoPzSVMRGv4M3yqBmlejeGNoekHR2WvnHkFJ84JtHRLUPZlsCeB1xJX7q+vPjE615Ka7k DF6afdLdwOTjrMk8x1nnfP8qJbdXLfSHeuzXjijk6Kl8zTusk5RQ+eCnqA7hZYaMtPor4v FRatczRZeEYppfSdeBq7t2a0V2WjfKJCSaWPpXBW2P4FYIaqGF4J9BFzhT0tCnm49g1/r5 XKHrkf/FzP26LaS04SItKaGE1xhutl01MQhTODkcw41E1556Iq/T6HdG/D0elw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616002578; a=rsa-sha256; cv=none; b=bftAZv+FBXGuV+0ZSt+3IfskyzMOu4gDrMe9obH9jQG4vWu6mdCF4EcF4oTGjO1MxY7PE9 rfJHi/a5qXTZsIKPBVq29Sp5MpmjNrGzDc1JddlY4+h9WQSQX7gvVXxcc0YoN7l4sl2tr1 OQfFA6FkmEQDujNOIq1ebcu/hLlvVf+B8p8JcRvUgrHIDS3/4oj2kN0dcoEbZnRI9sm6pe YB3DoEtwd6aLcEuSRiCDPankfrcatwpEs2zmv85eCvmJ58F3sMWHQp01ZSuFP5FfkF6r7x fnfptkdQyI3j9+CLCcOWbuf3+yDAGCGUXi20IHp82ZNN8XPJlAp3rGJ/fbR/Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=gy7Nh9Zf; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=gy7Nh9Zf; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: A1ADE15A68 X-Spam-Score: -2.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: lzNDjrGCzLyB On Sun, 14 Mar 2021 20:33:06 -0500 Nathan Dehnel wrote: > 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. > I'm looking at https://wiki.archlinux.org/index.php/Btrfs#Mounting_subvolumes and it seems like you either need a numberic ID or an absolute path, not a relative one. On my machine `findmnt` returns `subvol=/`.