1 hour ago · Tech · hide · 0 comments

I made a funny mistake in one of my clients when installing FreeBSD 15.1-RELEASE on their server … I have chosen wrong disk for the installation. The server had 4 local disks – 2 of them were some really low end SATA SSD drives (ada0 and ada1) and the server also had 2 fast NVMe disks (nda0 and nda1). I used Auto (ZFS) option in the bsdinstall(8) installer and chosen (wrongly) the ada1 disk. This is how my ZFS pool looked like after installation. freebsd # zpool status zroot pool: zroot state: ONLINE config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada1p4 ONLINE 0 0 0 … but this is the ZFS world – nothing stops You from adding as many drives to ZFS mirror as You want – so for a start I used FreeBSD gpart(8) tool to copy the partitions from ada1 disk to the NVME nda0 and nda1 drives. freebsd # gpart backup ada1 | gpart restore nda0 freebsd # gpart backup ada1 | gpart restore nda1 Then as FreeBSD was installed with BIOS+UEFI option I cloned the freebsd-boot partition and the UEFI…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.