Re: [zfs-discuss] zfs find list of properties per dataset
Richard Elling wrote: Harry Putnam wrote: James C. McPherson james.mcpher...@sun.com writes: your original question was somewhat vague - could you clarify what it is you need to find out? I wanted to see a list of all the properties available to zfs on a filesystem. NB, the user and group quotas are stored as properties, but get all does not return them. So it is not a true statement that get all returns all of the properties. There are are other hidden properties too. 'zfs get all' should be returning the complete list of things that can be manipulated with 'zfs set' (subject to appropriate privilege or delegation). Other things may be stored as a property but that is an implementation artefact. -- Darren J Moffat ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
[...] Richard wrote: NB, the user and group quotas are stored as properties, but get all does not return them. So it is not a true statement that get all returns all of the properties. Darren M responded: There are are other hidden properties too. 'zfs get all' should be returning the complete list of things that can be manipulated with 'zfs set' (subject to appropriate privilege or delegation). Other things may be stored as a property but that is an implementation artefact. Not sure I'm getting your meaning here. Are you saying that `get all' does return all properties that can be manipulated with `zfs set'? And that these `hidden' properties cannot be manipulated by `zfs set'? ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
Harry Putnam wrote: [...] Richard wrote: NB, the user and group quotas are stored as properties, but get all does not return them. So it is not a true statement that get all returns all of the properties. Darren M responded: There are are other hidden properties too. 'zfs get all' should be returning the complete list of things that can be manipulated with 'zfs set' (subject to appropriate privilege or delegation). Other things may be stored as a property but that is an implementation artefact. Not sure I'm getting your meaning here. Are you saying that `get all' does return all properties that can be manipulated with `zfs set'? Yes. And that these `hidden' properties cannot be manipulated by `zfs set'? They should not be attempted to be manipulated via zfs set, they are hidden for a reason because they are private implementation details. For example there is a public and settable via 'zfs set' shareiscsi property but there is also a hidden iscsioptions property. Similarly there is a private useraccounting property but the interface to user space accounting is via the 'zfs userspace' and 'zfs groupspace' commands. -- Darren J Moffat ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] zfs find list of properties per dataset
How can I list out all the properties available for a filesystem? Banging away in man zfs seems to be going nowhere pretty fast. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
On Sun, 21 Jun 2009 18:28:56 -0500 Harry Putnam rea...@newsguy.com wrote: How can I list out all the properties available for a filesystem? Banging away in man zfs seems to be going nowhere pretty fast. Is zfs get all datasetname not helping? $ zfs get all rpool NAME PROPERTYVALUE SOURCE rpool typefilesystem - rpool creationWed May 6 21:51 2009 - rpool used85.9G - rpool available 115G- rpool referenced 81.5K - rpool compressratio 1.00x - rpool mounted yes - rpool quota nonedefault rpool reservation nonedefault rpool recordsize 128Kdefault rpool mountpoint /rpool default rpool sharenfsoff default rpool checksumon default rpool compression off default rpool atime on default rpool devices on default rpool execon default rpool setuid on default rpool readonlyoff default rpool zoned off default rpool snapdir hidden default rpool aclmode groupmask default rpool aclinherit restricted default rpool canmounton default rpool shareiscsi off default rpool xattr on default rpool copies 1 default rpool version 3 - rpool utf8onlyoff - rpool normalization none- rpool casesensitivity sensitive - rpool vscan off default rpool nbmand off default rpool sharesmboff default rpool refquotanonedefault rpool refreservation nonedefault rpool primarycacheall default rpool secondarycache all default rpool usedbysnapshots 0 - rpool usedbydataset 81.5K - rpool usedbychildren 85.9G - rpool usedbyrefreservation0 - rpool org.opensolaris.caiman:install ready local James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
James C. McPherson james.mcpher...@sun.com writes: [...] Is zfs get all datasetname not helping? [...] Gack... quite the reverse ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
On Sun, 21 Jun 2009 18:47:30 -0500 Harry Putnam rea...@newsguy.com wrote: James C. McPherson james.mcpher...@sun.com writes: [...] Is zfs get all datasetname not helping? [...] Gack... quite the reverse your original question was somewhat vague - could you clarify what it is you need to find out? James -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
James C. McPherson james.mcpher...@sun.com writes: your original question was somewhat vague - could you clarify what it is you need to find out? I wanted to see a list of all the properties available to zfs on a filesystem. Your answer was very helpful... thanks My quick reply may not have conveyed that I was happy with your answer and that it helps a lot. The actual exact thing I was looking into was where snapdir was hidden and where visible. But I didn't know the name of the option (snapdir). Once I saw the full list... of course it was obvious. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs find list of properties per dataset
Harry Putnam wrote: James C. McPherson james.mcpher...@sun.com writes: your original question was somewhat vague - could you clarify what it is you need to find out? I wanted to see a list of all the properties available to zfs on a filesystem. NB, the user and group quotas are stored as properties, but get all does not return them. So it is not a true statement that get all returns all of the properties. -- richard ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss