JavaScript is required to for searching.
跳过导航链接
退出打印视图
Oracle Solaris 11.1 管理:ZFS 文件系统     Oracle Solaris 11.1 Information Library (简体中文)
search filter icon
search icon

文档信息

前言

1.  Oracle Solaris ZFS 文件系统(介绍)

2.  Oracle Solaris ZFS 入门

3.  管理 Oracle Solaris ZFS 存储池

4.  管理 ZFS 根池组件

5.  管理 Oracle Solaris ZFS 文件系统

6.  使用 Oracle Solaris ZFS 快照和克隆

7.  使用 ACL 和属性保护 Oracle Solaris ZFS 文件

8.  Oracle Solaris ZFS 委托管理

ZFS 委托管理概述

禁用 ZFS 委托权限

委托 ZFS 权限

授予*ZFS 权限 (zfs allow)

删除 ZFS 委托权限 (zfs unallow)

委托 ZFS 权限(示例)

显示 ZFS 委托权限(示例)

删除 ZFS 委托权限(示例)

9.  Oracle Solaris ZFS 高级主题

10.  Oracle Solaris ZFS 故障排除和池恢复

11.  归档快照和根池恢复

12.  建议的 Oracle Solaris ZFS 做法

A.  Oracle Solaris ZFS 版本说明

索引

删除 ZFS 委托权限(示例)

可以使用 zfs unallow 命令删除已授予的委托权限。例如,用户 cindytank/cindy 文件系统上具有 createdestroymountsnapshot 权限。

# zfs allow cindy create,destroy,mount,snapshot tank/home/cindy
# zfs allow tank/home/cindy
---- Permissions on tank/home/cindy ----------------------------------
Local+Descendent permissions:
        user cindy create,destroy,mount,snapshot

以下 zfs unallow 语法将从 tank/home/cindy 文件系统中删除用户 cindysnapshot 权限:

# zfs unallow cindy snapshot tank/home/cindy
# zfs allow tank/home/cindy
---- Permissions on tank/home/cindy ----------------------------------
Local+Descendent permissions:
        user cindy create,destroy,mount
cindy% zfs create tank/home/cindy/data
cindy% zfs snapshot tank/home/cindy@today
cannot create snapshot 'tank/home/cindy@today': permission denied

作为另一个示例,用户 marktank/home/mark 文件系统上具有以下权限:

# zfs allow tank/home/mark
---- Permissions on tank/home/mark ----------------------------------
Local+Descendent permissions:
        user mark create,destroy,mount
-------------------------------------------------------------

以下 zfs unallow 语法将从 tank/home/mark 文件系统中删除用户 mark 的所有权限:

# zfs unallow mark tank/home/mark

以下 zfs unallow 语法将删除对 tank 文件系统的权限集。

# zfs allow tank
---- Permissions on tank ---------------------------------------------
Permission sets:
        @myset clone,create,destroy,mount,promote,readonly,snapshot
Create time permissions:
        create,destroy,mount
Local+Descendent permissions:
        group staff create,mount
# zfs unallow -s @myset tank
# zfs allow tank
---- Permissions on tank ---------------------------------------------
Create time permissions:
        create,destroy,mount
Local+Descendent permissions:
        group staff create,mount