Robert Lawhead
2009-Aug-05 21:24 UTC
[zfs-discuss] `zfs list -t filesystem` shouldn''t return snapshots
I recently tried to post this as a bug, and received an auto-ack, but can''t tell whether its been accepted. Does this seem like a bug to anyone else? Default for zfs list is now to show only filesystems. However, a `zfs list` or `zfs list -t filesystem` shows filesystems AND incomplete snapshots, and `zfs list -t snapshot` doesn''t show incomplete snapshots. Steps to Reproduce # start a send|receive, and DO NOT wait for it to finish... zfs snapshot foo at bar && (zfs send foo at bar | zfs receive -F baz) & # See where snapshot being created is reported; it will be reported # with filesystems (wrong) and not with snapshots (wrong again). zfs list zfs list -t filesystem zfs list -t snapshot Expected Result Snapshot in progress should be reported with snapshots (I think) and definitely not with filesystems. Necessitates filtering like ''| grep -v -- %'' -- This message posted from opensolaris.org
Mark Shellenbaum
2009-Aug-05 21:32 UTC
[zfs-discuss] `zfs list -t filesystem` shouldn''t return snapshots
Robert Lawhead wrote:> I recently tried to post this as a bug, and received an auto-ack, but can''t tell whether its been accepted. Does this seem like a bug to anyone else? > > Default for zfs list is now to show only filesystems. However, a `zfs list` or `zfs list -t filesystem` shows filesystems AND incomplete snapshots, and > `zfs list -t snapshot` doesn''t show incomplete snapshots. > > Steps to Reproduce > # start a send|receive, and DO NOT wait for it to finish... > zfs snapshot foo at bar && (zfs send foo at bar | zfs receive -F baz) & > # See where snapshot being created is reported; it will be reported > # with filesystems (wrong) and not with snapshots (wrong again). > zfs list > zfs list -t filesystem > zfs list -t snapshot > > Expected Result > Snapshot in progress should be reported with snapshots (I think) and definitely not with filesystems. Necessitates filtering like ''| grep -v -- %''That was closed as a duplicate of: 6759986 zfs list shows temporary %clone when doing online zfs recv http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6759986