From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24D79138334 for ; Mon, 26 Nov 2018 06:03:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1CAEE09E8; Mon, 26 Nov 2018 06:03:31 +0000 (UTC) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FE4AE09DE for ; Mon, 26 Nov 2018 06:03:31 +0000 (UTC) Received: by mail-pl1-x62a.google.com with SMTP id f12-v6so13351669plo.1 for ; Sun, 25 Nov 2018 22:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hyRcwrIWOz68rs+QM8fgO+4vgmwgD+5Dz/ELltknZIg=; b=NVbJOyYboXs711Z+i2eSZC9Bs4+PzYbgA1pzbeE2RAIAguH+rZu55NkLLPLopBAAJs CWZJjiXIzWl+ivuOVkfdxoEXy6DTklTGubyDyN7RjLkCq+7R93RM25VVKQWunXPozQ+A Cemlw0kxsJp/N0yLfgaa587nTzR2TKfJWDj3S67/P5ASfkopRamvgn9f9Y9I4Kt1wi0z k04KmZPyOsFpGns4bStwGC6bv86AqO9VP5/xo0/gndL+Bv6V3d8zx8pFrLfQQ6vzXgfJ 11OF7Iw2vD8v8zMS4VMzuCxWReXDIF471Kng/3wlUyXX9Jk3jDyRHJTIxst1a7CshKt/ Wxiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=hyRcwrIWOz68rs+QM8fgO+4vgmwgD+5Dz/ELltknZIg=; b=mRBq+3fvF/mwCGE037giQV/rjXK1aeBDcBb1E2dYa+gv/P93DB/EOgNChBAqSJF6qh aIDnp+3NS8bAo9QhvAQGSw98YosG3JvoyNsL7Sm4ErAk8pvt7Zj026LcN1bY5ktfv2mw HJD29mlU4NZCAo4ZO/UtMsCRJvjUJP+sFS/jo4BRZnBfghySJZTB2uZ7w8TQ6Cmm6CoQ CT/SHmewzhLc/oIdYqpm7wJc1oZGd2x1besHaB1fCzt0rcyHojXLIvQN4gdT4xzWy3X7 v1ndzaJ3ZyPIFap9ZlvCJTUwyj2lH3mLAu8MhMfC0FYSxVrxW/jp/pbAVHYDqBIE/kmT L+sw== X-Gm-Message-State: AA+aEWZCnNln4x3RFV0B4+3bqVjz06ovSsx79PpYqTTV87pzNQRKDdlE FlKnXTsCc6T3S09320Qluclc1Rft X-Google-Smtp-Source: AFSGD/UWd/Qp8ygZm8ImQpYWf1b5xTzFEFojTjuNQdqmP+RrG49jpEqRIqEpxyi49DbVqv0Zxb4vjw== X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr25880427plp.334.1543212209404; Sun, 25 Nov 2018 22:03:29 -0800 (PST) Received: from localhost (79.178.69.111.dynamic.snap.net.nz. [111.69.178.79]) by smtp.gmail.com with ESMTPSA id t12sm64754728pfi.45.2018.11.25.22.03.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Nov 2018 22:03:28 -0800 (PST) Sender: Roger Welsh Date: Mon, 26 Nov 2018 19:03:24 +1300 From: "Roger J. H. Welsh" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Persistence of ZFS /dev/zvol/rpool/swap Message-ID: <20181126060235.o3t4biw4xjasjg2a@ponos> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Archives-Salt: d45e81b4-1445-4576-a41e-6e6154ab8eef X-Archives-Hash: eeed85bf138bc99ba72798590c0c5c73 Hi, I followed fearedbliss's guide a couple years back. Here are my 2 cents. On Sun, Nov 25, 2018 at 04:36:35PM -0500 , Pariksheet Nanda wrote: > I'm actually surprised my system boots at all, because /etc/fstab looks for > that partition to be the swap: I don't think swap is required for booting. > My best guesses at the problem are either that it's udev related or that > the various ZFS services need to be better configured to expose the zvol. > I read the "Admin Documentation" links on the zfsonlinux.org website > looking for mentions on "zvol" and the only relevant section seems to be > the `zpool import` should apply `zfs share -a` to zvols [2]. Maybe I need > to run `zfs share`? But that doesn't seem to help: > It does seem to be a udev issue on your end. This is what your udev rule should look like. https://github.com/zfsonlinux/zfs/blob/master/udev/rules.d/60-zvol.rules.in Check it exists. # cat /lib/udev/rules.d/60-zvol.rules Reload udev rules. # rc-service udev reload I think you also have to re-trigger the rules, which is beyond the scope of my knowledge. # man udevadm If it exists on `zfs list`, your swap partition is in there somewhere. This command will show you any swap partitions in use. # swapon --show Good luck! -- Roger Welsh fpr: 2FCB 9E31 EA77 CDEC A3AE 5DD7 D54C C777 553A 180D