[Bug 197821] zfs list -t bookmark doesn't work on zvol

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 19 13:53:22 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197821

            Bug ID: 197821
           Summary: zfs list -t bookmark doesn't work on zvol
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: cryx-freebsd at h3q.com

When trying to do a "zfs list -t bookmark" on a zvol I get the error message
"operation not applicable to datasets of this type".

# zfs list -o name,type data/zvol
NAME       TYPE
data/zvol  volume
# zfs list -t bookmark -r data/zvol
cannot open 'data/zvol': operation not applicable to datasets of this type

Doing the same with snapshot does work:

# zfs list -t snapshot -r data/zvol
NAME                         USED  AVAIL  REFER  MOUNTPOINT
data/zvol at snapshot          12.8K      -  1.15M  -

Doing it with snapshot and bookmark does work also:

# zfs list -t bookmark,snapshot -r data/zvol
NAME                         USED  AVAIL  REFER  MOUNTPOINT
data/zvol at snapshot          12.8K      -  1.15M  -
data/zvol#bookmark              -      -      -  -

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list