Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I messed up my pool by doing zfs send...receive So I got the following :

zpool list
rpool   928G  17.3G   911G     1%  1.00x  ONLINE  -
tank1   928G  35.8G   892G     3%  1.00x  ONLINE  -

So I have "tank1" pool.

zfs get all tank1
NAME   PROPERTY              VALUE                  SOURCE
tank1  type                  volume                 -

Haa...I also have "tank1" as a volume....

So I wanted to delete the volume :

zfs destroy tank1
cannot destroy 'tank1': dataset already exists

So let me delete the pool...Please...

zpool destroy tank1
cannot open 'tank1': operation not applicable to datasets of this type

Another try : (just want to rename...)

zfs rename tank1 tank1/kuku
cannot create 'tank1/kuku': parent is not a filesystem

How can I resolve this issue?

share|improve this question
What does a 'zfs list -rt all tank1' show? – kworr Jul 4 '12 at 13:44

Exactly the same thing happened to me. It was on testing pool so I just scrapped it but I filed a bug report with zfs on linux here:

behlendorf responded with possible fix:

I'd try to fix your pool by importing it with a different name to avoid the conflict. You can do this with zpool import old-pool-name new-pool-name. Once you sort it out and rename/destroy the offending zvol you can export/import the pool to restore the original name.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.