Replies: 2 comments 4 replies
-
OK, I was just able to resolve this. As you can see in the output I pasted above, the dataset I tried to destroy was a volume. This volume was mounted as a block device under /dev/zd0 (be aware the exact name can vary). I used gdisk to write a new partition header to the drive so that after a reboot no partitions from this volume will be mounted. I then rebooted and was able to destroy the dataset. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the note and follow-up comment! I was pulling out my hair over this. In my case, I had a Proxmox VM image with two partitions hanging out under /dev/zvol/rpool/data/vm-100-disk-1. I believe I had deleted the VM before the image. I used gdisk to delete the partitions, then expert mode, z-zap to wipe the GPT data. I also deleted the old directories under /dev/zvol/rpool/data/. I restarted Proxmox and removed the disk image references. In my ignorance, I was probably a bit reckless in my approach, but I'm working on my own play system and trying to learn. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I've run into a problem that I cannot destroy a dataset, not after reboot and unmounting everything. The issue appeared after I tried to setup a ZFS pool for libvirt. I destroyed the pool in libvirt but cannot destroy the dataset on the disk. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions