Project

General

Profile

Actions

Bug #1193

closed

Zfs snapshots unable to delete on zpool 14, zfs 3

Added by Nikola M. over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Desktop (JDS)
Target version:
-
Start date:
2011-07-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
time-slider

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?

http://pastebin.com/4dzjJ09M

[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
cannot open '1.38M': dataset does not exist
cannot open '
': dataset does not exist
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

Actions

Also available in: Atom PDF