I thought this was simple.  Turns out not to be.

bash-3.2$ zfs list -t snapshot zp1
cannot open 'zp1': operation not applicable to datasets of this type

Fails equally on all the variants of pool name that I've tried, including "zp1/" and "zp1/@" and such.

You can do "zfs list -t snapshot" and get a list of all snapshots in all pools. You can do "zfs list -r -t snapshot zp1" and get a recursive list of snapshots in zp1. But you can't, with any options I've tried, get a list of top-level snapshots in a given pool. (It's easy, of course, with grep, to get the bigger list and then filter out the subset you want).

Am I missing something?  Has this been added after snv_111b?

--
David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to