Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D101B781997 for <~alpine/users@lists.alpinelinux.org>; Sun, 17 May 2020 12:39:27 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id b6so6914522ljj.1 for <~alpine/users@lists.alpinelinux.org>; Sun, 17 May 2020 05:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=LUImPLQQpc4C/RP9ZZNeEU6QbJDEO3k8ewxX+VrzI1o=; b=LX2KRPnVduQjUg4OD8kIzTQVmk2jwPTSUSEaQOwgkyYeQgG/he9qdpbFJ3e5/Ss//L 59vZQx19RSv+NHqa9HuP/6T9TrIe1FmrQZI0mISGPDaihgvcYk5PplohcEZ7zqay4vNa yNCIkT4Hw8SkrT1S0HeAG69TwJZS8T1wB3WAjwhm4EmR6yaF+qCSY5sKSD09bFo5RjQE Nh2vbBYI+WC0wPh6FxGnx/eOEOuKbJmYxgnKDvFc9I7v+J3QtJjl+99o8LQvxw6DwOWY TmNiMq6yBG8z+nhBP3fb1X+qt2yVGyMpqIWdpm5BmJnOhWWKroyWUw+Cuy3MSMuCUQFZ /YTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LUImPLQQpc4C/RP9ZZNeEU6QbJDEO3k8ewxX+VrzI1o=; b=obhfZDhPOC7ZmckZGGZ6666XAyJ1xUUt3434mk8WbwQWwG4Us2fHi26yomBw87rVH+ 47/d+vcENAEW7hrXHqGD8CFKw9qTbq9KhrpD0YFDbG94u1WO6RtL+dHlNrGVy44jjIP8 +lImT9/31II4+G6HRgxX9d+x8NmqwzVQNJREnWNfF4lPrg6XP9+HGiakehFpXzOkyIGV VpD2Z4bxOhsP8gJuecC8iwdxb4ckUI6jheE2PoanurWY5CSmNemA4dIjPcaj57Ub8NYr ++Skou5678LxTXrw0a5X6kfqZXLX/iZsfDXyglR3Uf40bx4kQJjurPEghE3F67uzl+m8 +jJg== X-Gm-Message-State: AOAM533IaSn7GvYqX2WntZXhWUQOiVCX0dB8Wj78pqLwvMS+xG7eCm3f 6nV8Vbdw/i2QLpxVYHqXyw1723+0 X-Google-Smtp-Source: ABdhPJy9uoWDqz6NLxhdGSm8VPce81v48Q9L23nmo3fjRytX8221ETDOn0GOjxd5C2fSZ71KOvNPsw== X-Received: by 2002:a2e:844f:: with SMTP id u15mr1564308ljh.67.1589719165845; Sun, 17 May 2020 05:39:25 -0700 (PDT) Received: from kpc.kaey.ru ([91.123.18.165]) by smtp.gmail.com with ESMTPSA id g10sm4876807lfc.95.2020.05.17.05.39.24 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 05:39:25 -0700 (PDT) Date: Sun, 17 May 2020 15:39:24 +0300 From: Konstantin Kulikov To: ~alpine/users@lists.alpinelinux.org Subject: Re: ZFS ROOT fails with mount: mounting zroot/ROOT/default on /sysroot failed: No such file or directory Message-Id: <20200517153924.95ef3d463716b05d8c4009a8@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > LABEL lts > MENU default > MENU LABEL Linux lts > LINUX vmlinuz-lts > INITRD initramfs-lts > APPEND ROOT=zpool/ROOT/default modules=sd-mod,usb-storage,zfs quiet I think if you change to APPEND root=zpool/ROOT/default" (root lowercased) and add "zfs_force=1" it'll start working. Another thing you can try is to set # zfs set mountpoint=/ zpool/ROOT/default and in bootloader: APPEND root=ZFS=zpool/ROOT/default rootfstype and zfs_force are not neccessary in this case. It's difficult for me to say exactly what the problem is because interaction between initramfs-init and nlplug-findfs is complicated in zfs case and I have troubles reading C code. Relevant links: https://git.alpinelinux.org/mkinitfs/tree/initramfs-init.in#n506 https://git.alpinelinux.org/mkinitfs/tree/nlplug-findfs.c#n1015