From nobody Sun Aug 25 08:30:03 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 4Ws6SF0kwrz5VbD4 for ; Sun, 25 Aug 2024 08:30:05 +0000 (UTC) (envelope-from SRS0=cvou=PY=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ws6SD6KSSz430t for ; Sun, 25 Aug 2024 08:30:04 +0000 (UTC) (envelope-from SRS0=cvou=PY=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Sun, 25 Aug 2024 10:30:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1724574603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eYQ6E0mcZkYgDoOBiN06knASp4mXku6XVV1Di6Koyg8=; b=GLEEuIh3yLG+jM3bqAWVnskkunG6CPHGDbVcpwIwzyItXb8ycnQua4mtLxpSE16LCJbog3 2o4fotATOEa0dG1m/8NWlnT52hg4yG7wmRUbRohDZkQ/1L01x+WmQe3brzgiJXyzAPdFoP Z0+cfKi5vC5Cj8z+7bkXjGR9S2WuBd30z9thLWA7q0eRUnIFLjMHVouIFQjRGTiS3maBtg DquIycxsoXkqaegMqz7UuefO6odeTzb9grwMhl9KG6HxwAL4RLOxex+V6pGqOx3ZEtBHBV z9fqcwqy5d8tu/631oBzrjC6ZkePf3QhFuXopvLPqqxXQHKiKnozIu3JCB0diw== From: Ronald Klop To: Pamela Ballantyne Cc: freebsd-fs@freebsd.org Message-ID: <1716220186.14048.1724574603123@localhost> In-Reply-To: References: Subject: Re: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error 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 Content-Type: multipart/alternative; boundary="----=_Part_14047_1171526651.1724574602983" X-Mailer: Realworks (717.35) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4Ws6SD6KSSz430t ------=_Part_14047_1171526651.1724574602983 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > > Many thanks to David Christensen, Ronald Klop, and Peter Much for answering my plea for help. > > Further reviewing the available evidence, it seems that the most likely cause of the problem is someone at the data center > removing the disk drives from our server. This was probably accidental, not malicious. I have reported this to the hosting company, but > I'm not expecting much. > > It is ancient hardware, circa 2011. Although it still performs decently. It is probably time for an upgrade, particularly > since the hosting company is dropping support for bare metal servers. > > I am not sure how to move the existing root pool to a virtual server. I've tried a few simulations with VirtualBox, creating > a source server and a target. The pools get moved, but the target server never boots (even when I remember to set bootfs). > Worse, the target disks are reported as being corrupted each time I do it. > > Once again, any experience/advice here would be very much appreciated. > > Thank you again, > Pammy > > 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? Regards, Ronald. ------=_Part_14047_1171526651.1724574602983 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

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

Many thanks to David Christensen, Ronald Klop, and Peter Much for answering my plea for help.
 
Further reviewing the available evidence,  it seems that the most likely cause of the problem is someone at the data center
removing the disk drives from our server.  This was probably accidental, not malicious. I have reported this to the hosting company, but
I'm not expecting much.
 
It is ancient hardware, circa 2011. Although it still performs decently. It is probably time for an upgrade, particularly
since the hosting company is dropping support for bare metal servers.
 
I am not sure how to move the existing root pool to a virtual server. I've tried a few simulations with VirtualBox, creating
a source server and a target. The pools get moved, but the target server never boots (even when I remember to set bootfs).
Worse, the target disks are reported as being corrupted each time I do it.  
 
Once again, any experience/advice here would be very much appreciated.
 
Thank you again,
Pammy
 
 


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?

Regards,
Ronald.
  ------=_Part_14047_1171526651.1724574602983--