This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

bad property list: invalid property 'avail'

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
sunshine
Starter
Starter
Posts: 24
Joined: 04 Nov 2014 19:10
Status: Offline

bad property list: invalid property 'avail'

Post 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).

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: bad property list: invalid property 'avail'

Post 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
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

sunshine
Starter
Starter
Posts: 24
Joined: 04 Nov 2014 19:10
Status: Offline

Re: bad property list: invalid property 'avail'

Post 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.

Post Reply

Return to “ZFS (only!)”