Re: [OmniOS-discuss] Can't destroy ZFS
On Fri, Sep 22, 2017 at 7:18 PM, Stephan Budachwrote: > Hi, > > after having received a zvol from my old S11 box vis zfs send/recv and > being unable to re-import the LUN via stmfadm, I decided to remove that > zvol/ZFS and start over. However, I cannot remove that particular ZFS and > trying to do so yields this strange error: > > root@omnios:~# zfs destroy vmpool/iSCSI-Targets/EyeTV > cannot destroy 'vmpool/iSCSI-Targets/EyeTV': dataset already exists > Does anything in this help: https://serverfault.com/questions/66414/cannot-destroy-zfs-snapshot-dataset-already-exists > The zpool currently looks like this… (by the way, no snaps whatsoever on > it): > > root@omnios:~# zfs list -r vmpool > NAME USED AVAIL REFER MOUNTPOINT > vmpool 348G 3.17T23K /vmpool > vmpool/esxi 39.4G 1.96T 39.4G /vmpool/esxi > vmpool/iSCSI-Targets 238G 3.17T23K /tank/iSCSI-Targets > vmpool/iSCSI-Targets/EyeTV 238G 3.17T 238G - > vmpool/nfsCloudData 70.3G 186G 70.3G /vmpool/nfsCloudData > vmpool/nfsZimbraData 41K 100G41K /vmpool/nfsZimbraData > > > I have scrubbed the web a bit for this particular error, but all the > reports seem to relate to either snapshots or clones. > > Any idea is greatly appeciated. > > Cheers, > stephan > > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss > > -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
[OmniOS-discuss] [SOLVED] Re: Can't destroy ZFS
Shoot… ;) Right after hitting the send button, I issued this: root@omnios:~# zdb -d vmpool Dataset mos [META], ID 0, cr_txg 4, 20.1M, 309 objects Dataset vmpool/nfsZimbraData [ZPL], ID 82, cr_txg 29169, 41.0K, 16 objects Dataset vmpool/esxi [ZPL], ID 49, cr_txg 20, 40.7G, 119 objects Dataset vmpool/iSCSI-Targets/EyeTV/iSCSI-Targets [ZPL], ID 268, cr_txg 296266, 23.0K, 7 objects Dataset vmpool/iSCSI-Targets/EyeTV [ZVOL], ID 262, cr_txg 296222, 238G, 2 objects Dataset vmpool/iSCSI-Targets [ZPL], ID 256, cr_txg 296164, 23.0K, 9 objects Dataset vmpool/nfsCloudData [ZPL], ID 94, cr_txg 30110, 70.3G, 280046 objects Dataset vmpool [ZPL], ID 21, cr_txg 1, 23.0K, 10 objects Verified large_blocks feature refcount of 0 is correct Verified sha512 feature refcount of 0 is correct Verified skein feature refcount of 0 is correct Verified edonr feature refcount of 0 is correct After destroying this "invisible" Dataset vmpool/iSCSI-Targets/EyeTV/iSCSI-Targets dataset, I was able to delete it's parent datasets. Sorry for the noise. Cheers, stephan smime.p7s Description: S/MIME cryptographic signature ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
[OmniOS-discuss] Can't destroy ZFS
Hi, after having received a zvol from my old S11 box vis zfs send/recv and being unable to re-import the LUN via stmfadm, I decided to remove that zvol/ZFS and start over. However, I cannot remove that particular ZFS and trying to do so yields this strange error: root@omnios:~# zfs destroy vmpool/iSCSI-Targets/EyeTV cannot destroy 'vmpool/iSCSI-Targets/EyeTV': dataset already exists The zpool currently looks like this… (by the way, no snaps whatsoever on it): root@omnios:~# zfs list -r vmpool NAME USED AVAIL REFER MOUNTPOINT vmpool 348G 3.17T 23K /vmpool vmpool/esxi 39.4G 1.96T 39.4G /vmpool/esxi vmpool/iSCSI-Targets 238G 3.17T 23K /tank/iSCSI-Targets vmpool/iSCSI-Targets/EyeTV 238G 3.17T 238G - vmpool/nfsCloudData 70.3G 186G 70.3G /vmpool/nfsCloudData vmpool/nfsZimbraData 41K 100G 41K /vmpool/nfsZimbraData I have scrubbed the web a bit for this particular error, but all the reports seem to relate to either snapshots or clones. Any idea is greatly appeciated. Cheers, stephan smime.p7s Description: S/MIME cryptographic signature ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss