[bugs] [OpenIndiana Distribution - Bug #1193] Zfs snapshots unable to delete on zpool 14, zfs 3

illumos bugs bugs at lists.illumos.org
Sat Jul 9 21:11:19 PDT 2011


Issue #1193 has been updated by Rich Lowe.

Project changed from site to OpenIndiana Distribution


----------------------------------------
Bug #1193: Zfs snapshots unable to delete on zpool 14, zfs 3
https://www.illumos.org/issues/1193

Author: Nikola M.
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Difficulty: Medium
Tags: needs-triage


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 at zfs-auto-snap_frequent-2011-06-22-12h42'] failed with exit code 1
    cannot destroy 'rpool/export/home/nikolam at 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 at 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 at 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


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the bugs mailing list