Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 15:10:12 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        Zenny <garbytrash@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Properties list for zfs in FreeBSD
Message-ID:  <5215A43C.5090909@ShaneWare.Biz>
In-Reply-To: <alpine.BSF.2.00.1308211606270.90799@mail.fig.ol.no>
References:  <CACuV5sDjmW2JSSid-6EPpcmMqAWUG4YDH_D1TuXLkvgfBRfzVw@mail.gmail.com> <alpine.BSF.2.00.1308211606270.90799@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/08/2013 23:39, Trond Endrestøl wrote:
> On Wed, 21 Aug 2013 13:02-0000, Zenny wrote:

>> Where can I find a list of properties (-o/-O property=value) for
>> creating a zpool?

>
> Read zpool(8) for zpool properties, and zfs(8) for zfs properties.
>

Always a good place for detailed explanations. A quick way to list all 
properties is to use the get command to cause a usage output.

zpool get
usage:
     get <"all" | property[,...]> <pool> ...

the following properties are supported:

     PROPERTY           EDIT   VALUES

     allocated          NO   <size>
     capacity           NO   <size>
...

zfs get
missing property argument
usage:
     get [-rHp] [-d max] [-o "all" | field[,...]] [-t type[,...]] [-s 
source[,...]]
       <"all" | property[,...]> [filesystem|volume|snapshot] ...

The following properties are supported:

     PROPERTY       EDIT  INHERIT   VALUES

     available        NO       NO   <size>
     clones           NO       NO   <dataset>[,...]
...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5215A43C.5090909>