[PC-BSD Dev] ZFS Snapshot properties?

Kris Moore kris at pcbsd.org
Mon Aug 5 09:14:12 PDT 2013

On 08/03/2013 16:52, Claudio L. wrote:
> Hello,
> Moving along with the disk manager, I found out that the command 'zfs
> snapshot' accepts setting properties in the command line.
> However, Oracle documentation says that snapshots don't have
> properties and cannot be set.
> If I try to set a property on a snapshot using the command line, it
> always fails (at least with the few properties that I tried).
> Why does the 'zfs' command allow for property setting if no properties
> can be set? Or are there certain properties that can? If so, please
> point me to a list of properties that are valid on snapshots, I
> couldn't find anything out there.
> Thank you,
> Claudio
> _______________________________________________
> Dev mailing list
> Dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/dev

According to the man-page it looks like "User Properties" can be set on
snapshots, but not all the built-ins.

   Example 14 Setting User Properties

       The following example sets the user-defined com.example:department
       property for a dataset.

         # zfs set com.example:department=12345 tank/accounting

Kris Moore
PC-BSD Software

More information about the Dev mailing list