|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris 10 1/13 What's New Oracle Solaris 10 1/13 Information Library|
This section describes a file system enhancement in this release.
This section summarizes new features in the ZFS file system for this release. For more information about these new features, see Oracle Solaris ZFS Administration Guide.
ZFS command usage enhancements – The zfs and zpool commands have a help subcommand that you can use to provide more information about the zfs and zpool subcommands and their supported options. For example:
# zfs help The following commands are supported: allow clone create destroy diff get groupspace help hold holds inherit list mount promote receive release rename rollback send set share snapshot unallow unmount unshare upgrade userspace
# zpool help The following commands are supported: add attach clear create destroy detach export get help history import iostat list offline online remove replace scrub set split status upgrade
To see more information, run zfs help or zpool helpwith a command. For example:
# zfs help create usage: create [-p] [-o property=value] ... <filesystem> create [-ps] [-b blocksize] [-o property=value] ... -V <size> <volume>
# zpool help attach usage: attach [-f] <pool> <device> <new-device>
For more information, see the zfs(1M) and zpool(1M) man pages.
ZFS aclmode property enhancements – The aclmode property determines how the ACL permissions on a file are modified during a chmod operation. This property has been reintroduced with the following property values:
discard – A file system with an aclmode property of discard deletes all ACL entries that do not represent the mode of the file. This is the default value.
mask – A file system with an aclmode property of mask reduces user or group permissions. The permissions are reduced such that they are no greater than the group permission bits unless it is a user entry that has the same UID as the owner of the file or directory. In this case, the ACL permissions are reduced so that they are no greater than owner permission bits. The mask value also preserves the ACL across mode changes, provided an explicit ACL set operation has not been performed.
passthrough - A file system with an aclmode property of passthrough indicates that no changes are made to the ACL other than generating the necessary ACL entries to represent the new mode of the file or directory.
ZFS diff enhancements – The zfs diff command provides an enumeration option, -e, to identify all the files that were added or modified between two snapshots. The generated output identifies all files added but does not provide possible deletions. For example:
# zfs diff -e tank/testuser@yesterday tank/testuser@now + /tank/testuser/ + /tank/testuser/file.1
You can also use the -o option to identify and display selected fields, as shown in the following example:
# zfs diff -e -o size -o name tank/testuser@yesterday tank/testuser@now + 7 /tank/testuser/ + 206695 /tank/testuser/file.1
ZFS snapshot alias – The zfs snapshot command has a snap alias that provides an abbreviated syntax for this command. For example:
# zfs snap -r users/home@snap1
Otherwise, you need to provide the actual ZFS command name, as shown in the following example.
# zfs snapshot -r users/home@snap1