Page 1 of 1

bad property list: invalid property 'avail'

Posted: 19 Sep 2015 00:20
by sunshine
I'm getting a "bad property" error when using zpool. Any ideas? This is new since freshly installing NAS4Free 10.2.0.2.1814.

Code: Select all

 vast: ~# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
space  13.6T  11.8T  1.84T         -     7%    86%  1.00x  ONLINE  -
vast: ~# zpool get -o all space 
bad property list: invalid property 'avail'
usage:
        get [-Hp] [-o "all" | field[,...]] <"all" | property[,...]> <pool> ...

the following properties are supported:

        PROPERTY         EDIT   VALUES

        allocated          NO   <size>
        capacity           NO   <size>
        dedupratio         NO   <1.00x or higher if deduped>
        expandsize         NO   <size>
        fragmentation      NO   <percent>
        free               NO   <size>
        freeing            NO   <size>
        guid               NO   <guid>
        health             NO   <state>
        leaked             NO   <size>
        size               NO   <size>
        altroot           YES   <path>
        autoexpand        YES   on | off
        autoreplace       YES   on | off
        bootfs            YES   <filesystem>
        cachefile         YES   <file> | none
        comment           YES   <comment-string>
        dedupditto        YES   <threshold (min 100)>
        delegation        YES   on | off
        failmode          YES   wait | continue | panic
        listsnapshots     YES   on | off
        readonly          YES   on | off
        version           YES   <version>
        feature@...       YES   disabled | enabled | active

The feature@ properties must be appended with a feature name.
See zpool-features(7).

Re: bad property list: invalid property 'avail'

Posted: 19 Sep 2015 05:04
by daoyama
sunshine wrote:I'm getting a "bad property" error when using zpool. Any ideas? This is new since freshly installing NAS4Free 10.2.0.2.1814.

Code: Select all

 vast: ~# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
space  13.6T  11.8T  1.84T         -     7%    86%  1.00x  ONLINE  -
vast: ~# zpool get -o all space 
bad property list: invalid property 'avail'
usage:
        get [-Hp] [-o "all" | field[,...]] <"all" | property[,...]> <pool> ...

You are wrong syntax.
You must specify field (-o all) and property (all).
For example:

# zpool get -o all all space
# zpool get -o all size,capacity space
# zpool get -o property,value all space
# zpool get -o property,value size,capacity space

Re: bad property list: invalid property 'avail'

Posted: 19 Sep 2015 05:58
by sunshine
daoyama wrote: You are wrong syntax.
You must specify field (-o all) and property
Oh now I just feel foolish. I wish the man pages were more accessible, I think I'd learn more handily.