Re: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error
- Reply: Pamela Ballantyne : "Re: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error"
- In reply to: Pamela Ballantyne : "Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Aug 2024 04:09:34 UTC
On 8/25/24 19:25, Pamela Ballantyne wrote: > On Sun, Aug 25, 2024 at 2:30 AM Ronald Klop wrote: >> [Replicating pools] 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 The freebsd-fs mailing list page does not indicate the scope of this mailing list: https://lists.freebsd.org/subscription/freebsd-fs I am wondering if this thread should be moved to freebsd-questions, as this thread is about advanced use of file systems rather than file system development and issues (?). Prose descriptions of actions performed on a computer are useful for understanding "who" and "why", but console sessions provide facts that are useful for understanding "what", "where", "when", and "how". A good post may contain both. Please run the following commands on your colocated server and post the complete console session (prompt, commands entered, output displayed): # freebsd-version -kru ; uname -a # geom disk list # gpart show -l -p # zpool list # zpool iostat -v # zpool status # zpool get all | sort David