Re: Strange boot failure

Frank Leonhardt <[email protected]> Mon, 18 May 2026 09:23:42 +0100
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
On 14/05/2026 18:40, Alexey Vyskubov wrote:
> Hello,
>
> Asking hive mind: what could I forget?
>
> I have nda1, which I wanted to remove from the system. It has GPT
> partition table:
>
> =>       40  488397088  nda1  GPT  (233G)
>            40    4194304     1  zfs-main-log  (2.0G)
>       4194344   41943040     2  zefs-main-arc  (20G)
>      46137384    8388608     3  zfs-16tb-log  (4.0G)
>      54525992   83886080     4  zfs-16tb-arc  (40G)
>     138412072  134217728     5  ssd-swap  (64G)
>     272629800  215767328     6  ssd-1st-rest  (103G)
>
> I did "zpool remove zroot /dev/gpt/gfs-main-log" and
> "zpool remove zroot /dev/gpt/gfs-main-arc". I edited /etc/fstab and removed
> swap entry for nda1. Then I powered off the machine, removed nda1 and powered
> it on again. The system went into reboot loop (the bootloader starts, I think
> it starts booting the kernel, but almost immediately the system reboots). I put
> nda1 back, and the system boots fine (actually I'm writing this from it).
> Obviously, I forgot something. What could it be?

Some reference to nda1 in /boot/zfs/zpool.cache perhaps? zdb -C to dump it.

Regards, Frank.