Hi and hello,

I have a problem confusing me. I hope someone can help me with it.
I followed a "best practise" - I think - using dedicated zfs filesystems for my 
virtual machines.
Commands (for completion):
[i]zfs create rpool/vms[/i]
[i]zfs create rpool/vms/vm1[/i]
[i] zfs create -V 10G rpool/vms/vm1/vm1-dsk[/i]

This command creates the file system [i]/rpool/vms/vm1/vm1-dsk[/i] and the 
according [i]/dev/zvol/dsk/rpool/vms/vm1/vm1-dsk[/i].

If I delete a VM i set up using this filesystem via[i] virsh undefine vm1[/i] 
the [i]/rpool/vms/vm1/vm1-dsk[/i] gets also deleted, but the 
[i]/dev/zvol/dsk/rpool/vms/vm1/vm1-dsk[/i] is left.

Without [i]/rpool/vms/vm1/vm1-dsk[/i] I am not able to do [i]zfs destroy 
rpool/vms/vm1/vm1-dsk[/i] so the [i]/dev/zvol/dsk/rpool/vms/vm1/vm1-dsk[/i] 
could not be destroyed "and will be left forever"!? 

How can I get rid of this problem?
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to