This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Pool still listed after being destroyed; can't resynch & can't delete it

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
rcstevensonaz
Starter
Starter
Posts: 20
Joined: 10 Jul 2012 15:58
Status: Offline

Pool still listed after being destroyed; can't resynch & can't delete it

Post by rcstevensonaz »

For context, this is a test machine I use to test HBA cards and disk drives.

I created a mirrored pool, ran my tests, and then use the ZFS tools from the GUI to destroy the pool. But, the Disks>ZFS>Pools page still lists the pool that was just destroyed. That is, it shows the name and "unknown" for all values.

If I go to Disks>ZFS>Configuration>Synchronize and select "Synchronize", I get the message "Nothing to synchronize". And the old pool still shows up on Pools page.

If I go to Disk>ZFS>Pools, select the pool and click "Delete" then "Apply changes", I get the message "The configuration has been changed... If this message persist take a look at the system log for more information". The pool entry does not go away. If I reboot, it is still there.

So how do you have NAS4Free correctly show that there are NO pools on the machine anymore?

Thanks,
craig

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: Pool still listed after being destroyed; can't resynch & can't delete it

Post by kenZ71 »

Try zpool destroy <pool name> from command line
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

rcstevensonaz
Starter
Starter
Posts: 20
Joined: 10 Jul 2012 15:58
Status: Offline

Re: Pool still listed after being destroyed; can't resynch & can't delete it

Post by rcstevensonaz »

The pool was already destroyed (using the GUI); so I can't destroy it again.

The issue is not the destroying, but that the destroyed pool's name still shows up in the GUI's list of ZFS pools (with "unknown" for values).

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: Pool still listed after being destroyed; can't resynch & can't delete it

Post by ms49434 »

option 1 is to
create a temporary virtual device and a temporary pool, then synchronize.
Once done delete the pool and the vdevice using the WebGUI (Disks > ZFS > Pools and Disks > ZFS > Virtual Device).

option 2 is to
manually edit config.xml and remove the wrong information.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Post Reply

Return to “ZFS (only!)”