Bug #1193
Zfs snapshots unable to delete on zpool 14, zfs 3
0%
Description
Upgraded to testing /dev-il Openindiana repository, using Illumos bits.
Version oi_151
When trying to delete snapshots from dataset on version 14 zpool, zfs version 3 (Pool remained the same from OpenSolaris 2009.06, 111b),
zfs refuses to delete snapshots.
Should not newer zfs/zpool versions Work as before, with previos Zpool/zfs versions?
[1]GUI snapshot delete:
-------------------------------------------------------
['/usr/bin/pfexec', '/usr/sbin/zfs', 'destroy', '-d', 'rpool/export/home/nikolam@zfs-auto-snap_frequent-2011-06-22-12h42'] failed with exit code 1
cannot destroy 'rpool/export/home/nikolam@zfs-auto-snap_frequent-2011-06-22-12h42': unsupported version
[2] CLI snapshot delete:
-------------------------------------------------------
~/.zfs/snapshot$ zfs list H -t snapshot | grep rpool/export/home/nikolam@zfs-auto-snap | xargs -n1 pfexec zfs destroy': dataset does not exist
cannot open '1.38M': dataset does not exist
cannot open '
cannot open '14.8G': dataset does not exist
cannot open '-': dataset does not exist
cannot open '1003K': dataset does not exist
cannot open '-': dataset does not exist
cannot open '14.8G': dataset does not exist
cannot open '-': dataset does not exist
[3][2] CLI snapshot delete #2: (is "-o" stopped working?)
-------------------------------------------------------
~/.zfs/snapshot$ pfexec zfs list -H -o nikolam -t snapshot | grep rpool/export/home/nikolam@zfs-auto-snap | xargs -n1 zfs destroy
bad property list: invalid property 'nikolam'
usage:
list [-rH][-d max] [-o property[,...]] [-t type[,...]] [-s property] ...
[-S property] ... [filesystem|volume|snapshot] ...
The following properties are supported:
PROPERTY EDIT INHERIT VALUES
available NO NO <size>
compressratio NO NO <1.00x or higher if compressed>
creation NO NO <date>
defer_destroy NO NO yes | no
mounted NO NO yes | no
origin NO NO <snapshot>
referenced NO NO <size>
type NO NO filesystem | volume | snapshot
used NO NO <size>
...etc
Updated by Nikola M. over 9 years ago
As additional info, snapshots refused to be deleted with GUI time slider on oi_148 eather, but they could be deleted from command line, now in oi_151/Illumos - CLI zfs snapshot delete do not work, too.
Updated by Rich Lowe over 9 years ago
Your second two commands are just invalid.
- You're feeding the entire output of 'zfs list' through the pipe, you want just the dataset name
- "zfs list -o" selects the column to output, whereas you seem to be giving it a username for some reason.
You wanted zfs list -H -o name
...
The GUI deletion is not working because deferred destroy (zfs destroy -d) requires a newer pool version.
I'm going to move this to the OI tracker on the principle that perhaps they care about the GUI (presumably) not giving a useful error, or not falling back to trying without -d.
Updated by Julian Wiesener over 9 years ago
- Category set to Desktop (JDS)
- Status changed from New to Rejected
- Tags changed from needs-triage to time-slider
ancient zpool versions, are not supported by the GUI. You can upgrade or use zfs delete manually.