From nobody Mon Aug 26 02:25:13 2024 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WsZK31cpDz5V1HX for ; Mon, 26 Aug 2024 02:25:27 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WsZK16KMyz4qxN for ; Mon, 26 Aug 2024 02:25:25 +0000 (UTC) (envelope-from boyvalue@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LCsf3HCL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of boyvalue@gmail.com designates 2607:f8b0:4864:20::82b as permitted sender) smtp.mailfrom=boyvalue@gmail.com Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-44fe9aa3bfaso21904091cf.0 for ; Sun, 25 Aug 2024 19:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724639124; x=1725243924; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=oumGO5kcUuiliOOERiNHxXurs18KeM1wHciqWwdVFkI=; b=LCsf3HCLfCzHGhgSBncQ3kNzMftgoF4AQtR4HwX97aOIereIEG3Jpv8N8dyuF9Q2Ur K62gesnDQVikmu3zcztuVfDEsKO9vjmuSOTX/wKuaIMV7l0YYDevOH6/YiDDtBp4WYTx bsAf4GimTHIh9fl5iqn+hmb0gIzNvh0vEqX/D/E3/75TFXvFcvEYkz6l9yFcDHAq81uZ ZCQYAjRFBcDztSSV2wVo07O+P6MegxvDcY4OTVO7M5BwBt9mn2hAb/STntb1grSOv/qf 403g2qEMA6H8xj/YMjF6NnyM4mTmd9OKkM6mNGXvDhazdLypHxyn2zqPNhVGuVfSoMCn Dgtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724639124; x=1725243924; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oumGO5kcUuiliOOERiNHxXurs18KeM1wHciqWwdVFkI=; b=OWbxTU+GM06dVPpA/E6yTGwpFZ9c5MDCQDSbV6K8LIm8o2Hd3esdnqbnzBi+BJcwnI 43eaSyQkHFvJk3MDzWE5dNeMzN0bavEli/+nWRnDHfKle0QlRZF5cgmoigoENjSB5Zeb MI+E23smdaOV89CBPj4fL3O3GXP1bYhGtPHL4/1OWtjFHbq6wk6eBlBCFAnLIia4Lduh W3CeY2Q/jWM4VrMdrx4lx6FANoF/yWusGDPmIkljaIZ4aDdpIBb5ioe+E+g4ZhCh5QXY vPCSD0idzR/oWEudAzJQ6dUv2V+jwSk/FVj5c3jbSzJ0Au35q1xU1v4j/j1KmINPCNp7 eaSQ== X-Gm-Message-State: AOJu0Yx8YDRZVFQ7VhVXaS1OH6Ez5HpgIvJedAOAJdxeIFo9XNJxIewa LcbMkNPErHd9RErDjCp10fwgCMty1xi+U3ubGDIU2bJlyHpmxsfrhwqeAqk+YRmzfkL6vHWuB0m 8m5S4rZgRhq1dPYWTesnx05L9e7Lm X-Google-Smtp-Source: AGHT+IGEAinTpaxuSnrSvf2XDqntzfPQ61kQxy4Ez2wELA29xxLwaExj4/+UOXs0BT1eonf7RDNgkJVLOrj0dZcs8GU= X-Received: by 2002:a05:622a:5a19:b0:454:f2e5:9202 with SMTP id d75a77b69052e-455095f155emr110436381cf.7.1724639124502; Sun, 25 Aug 2024 19:25:24 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 References: <1716220186.14048.1724574603123@localhost> In-Reply-To: From: Pamela Ballantyne Date: Sun, 25 Aug 2024 20:25:13 -0600 Message-ID: Subject: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error To: freebsd-fs@freebsd.org Content-Type: multipart/alternative; boundary="00000000000061c0ce06208cd699" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.28)[-0.279]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82b:from] X-Rspamd-Queue-Id: 4WsZK16KMyz4qxN --00000000000061c0ce06208cd699 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 25, 2024 at 2:30=E2=80=AFAM Ronald Klop = wrote: > > *Van:* Pamela Ballantyne > *Datum:* zondag, 25 augustus 2024 05:03 > *Aan:* freebsd-fs@freebsd.org > *Onderwerp:* Moving ZFS root popol to a virtual server was: ZFS: > Suspended Pool due to allegedly uncorrectable I/O error > > This is certainly possible but small details can result in a non-bootable > pool on the target. > > > Can you provide some information on how you moved the root pool to the > virtual server? > Did you dd the whole disk to a file? Or did you zfs send | zfs receive a > snapshot? Or ... ? > What boot-loader was used on the old server and what on the new one? Is > the partitioning the same on both? > I remember the old server had mirrored disks, how did you setup the > virtual server? > > Thank you, Ronald. I still need to get the new server, I have a meeting with the engineers at the hosting company tomorrow. I will see what they have to offer. To prepare for a migration, I've tried setting up a 13.4 server on VirtualBox and then creating a second one as a target. I've successfully done a ZFS send/recv and duplicated the original installation on the target server. But something quite strange did happen. I created the original with a single two-disk mirror, but just made a single disk pool on the target. Once the OS was successfully transferred, I configured another virtual disk, identical to the pool disk and tried to attach it. ZFS rejected it with "cannot attach ada0p3 to ada1p3: can only attach to mirrors and top-level disks" I looked around and found a suggestion to change vfs.zfs.min_auto_ashift from 12 to 9, which I did (without understanding why), allowing me to add the mirror successfully. But this is strange because the original installation was created directly from the FreeBSD install files, which should have set it to 12? It certainly was for the creation of everything on the second system. Hopefully, I will be able to duplicate this experience with the new host, munis the shift setting! Thank you *so* *much* Pammy --00000000000061c0ce06208cd699 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Aug 25, 2024 at 2:30=E2= =80=AFAM Ronald Klop <ronald-lists@klop.ws> wrote:

Van: Pamela Ballantyne <boyvalue@gmail.com>
Datum: zondag, 25 augustus 2024 05:03
Aan: freebsd-fs@freebsd.org
Onderwerp: Moving ZFS root popol to a virtual server was: = ZFS: Suspended Pool due to allegedly uncorrectable I/O error

This is certainly possible but small details can result in a non-boota= ble pool on the target.

Can you provide some information on how you moved the root pool to the virt= ual server?
Did you dd the whole disk to a file? Or did you zfs send | zfs receive a sn= apshot? Or ... ?
What boot-loader was used on the old server and what on the new one? Is the= partitioning the same on both?
I remember the old server had mirrored disks, how did you setup the virtual= server?


Thank you, Ronald.=C2=A0 I= still need to get the new server, I have a meeting with the engineers at t= he hosting company tomorrow.
I will see what they have to offer.<= /div>

To prepare for a migration, I've tried setting= up a 13.4 server on VirtualBox and then creating a second one as a target.=
I've successfully done a ZFS send/recv and duplicated the or= iginal installation on the target server.

But some= thing quite strange did happen. I created the original with a single two-di= sk mirror, but just made a single disk
pool on the target. Once t= he OS was successfully=C2=A0transferred, I configured another virtual disk,= identical to the pool disk
and tried to attach it. ZFS rejected = it with "cannot attach ada0p3 to ada1p3: can only att= ach to mirrors and top-level disks"
=
I looked around and = found a suggestion to change vfs.zfs.min_auto_ashift from 12 to 9, which I = did (without understanding why), allowing me to add the mirror successfully= .

<= font color=3D"#141414" face=3D"Segoe UI, Helvetica Neue, Helvetica, Roboto,= Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, sans-serif">But this is = strange because the original installation was created directly from the Fre= eBSD install files, which should have set it to 12? It certainly was for th= e creation of everything on the second system.

= Hopefully, = I will be able to duplicate this experience with the new host, munis the sh= ift setting!

Thank you *so* *much*
Pammy

<= /font>




--00000000000061c0ce06208cd699--