Thread View: muc.lists.freebsd.fs
1 messages
1 total messages
Started by bugzilla-noreply
Sun, 15 Nov 2026 02:02
[Bug 300768] zpool hang can be created with duplicate pool name inside zvol
Author: bugzilla-noreply
Date: Sun, 15 Nov 2026 02:02
Date: Sun, 15 Nov 2026 02:02
56 lines
4447 bytes
4447 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300768 --- Comment #3 from Curtis Villamizar <curtis@ipv6.occnc.com> --- Followup: After getting into the hung state a reboot followed by an attempt to import will cause another hang. Both the "reboot" command and "shutdown -r now" require a power cycle in the hung state. After a reboot any subsequent attempt to import one of the duplicate named pools will cause a hang. In this case the following will clear the condition so the server reboots normally. [raq4 318] # zfs list -t vol vmvol1/vm1 31.3G 142G 564K - vmvol1/vm2 41.8G 153G 550K - [raq4 319] # gpart delete -i 1 zvol/vmvol1/vm2 zvol/vmvol1/vm2p1 deleted [raq4 320] # gpart delete -i 1 zvol/vmvol1/vm1 zvol/vmvol1/vm1p1 deleted [raq4 321] # zpool import no pools available to import After that "shutdown -r now" behaves as expected with no need to power cycle. This server is an old rackmount used to test configurations so no harm in getting it to hang for testing purposes. It is running an older STABLE_15 version but I can put on a more recent build. [raq4 324] # uname -a FreeBSD raq4.belfast.occnc.com 15.1-STABLE FreeBSD 15.1-STABLE occnc15_amd64_20260730 amd64 This sequence of commands produces a less severe condition than what I've had on two production servers now. Those both ran VMs for months before taking a few VMs down and getting in such a bad state that just using "zpool import" to query would cause a hang. One server was idled some time ago and is having disks zeroed out for a fresh start. The other is up in the hung state where zpool, gpart, and zfs don't work and a process doing a zpool query is in a zombie state. This server has VMs running on it and doing useful work (to the extent I do any useful work). When the first is up and ready (soon I hope), I can move the VMs there and idle the second server. That second server will then have disks zeroed out (with dd) and a fresh install. I found and fixed the configuation error that allowed up to three specific VMs to be built on a pool with the same name. The purpose of reporting this bug is so others won't trip over the same bug. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads