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!

Unable to delete pool

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
showcasefloyd
Starter
Starter
Posts: 17
Joined: 14 May 2014 16:09
Status: Offline

Unable to delete pool

Post by showcasefloyd »

At some point I was trying to create a secondary pool using two drives in a Raid 0 configuration. After a short while I found that one of the drives was over heating and figured I no longer needed the pool any more anyway and so I deleted the pool (called pool2-striped) from my server and removed the drives.

Okay here's where it gets weird. When I reboot the server the pool was still there, and no matter what I do I can't not seem to remove it.
I've even tried deleting the pool using the command

Code: Select all

zpool destroy tank
, which works until I reboot the system again and then I see the same error message:

NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
pool1-raidz 3.62T 1.20T 2.42T 33% 1.00x ONLINE -
pool2-stripe - - - - - FAULTED -

Any advice would be appreciated and thanks in advance
You do not have the required permissions to view the files attached to this post.

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

Re: Unable to delete pool

Post by kenZ71 »

If absolutely positive you don't need the data you can try to format the disk.

As a word of paranoid caution unplug all other drives to avoid formatting the wrong drive.

Also you could try running bad blocks to overwrite everything.
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

showcasefloyd
Starter
Starter
Posts: 17
Joined: 14 May 2014 16:09
Status: Offline

Re: Unable to delete pool

Post by showcasefloyd »

Thanks KenZ71,

I actually already unplugged the drives. Do I need to plug them back in to remove the pool?

slaycock
experienced User
experienced User
Posts: 93
Joined: 24 Jun 2012 17:15
Status: Offline

Re: Unable to delete pool

Post by slaycock »

Are you actually typing

zpool destroy tank

instead of

zpool destroy pool2-striped

Just a thought

Also, if you destroyed the pool from the command line you will need to resynchronise your zfs configuration so that the gui can udate itself.

showcasefloyd
Starter
Starter
Posts: 17
Joined: 14 May 2014 16:09
Status: Offline

Re: Unable to delete pool

Post by showcasefloyd »

Thanks slaycock.

Yeah I was typing in the correct command line. But I appreciate the input. It doesn't seem like you can delete a pool if the hard drives that the pool resides on is not hooked up any more.

Post Reply

Return to “ZFS (only!)”