跳过导航链接
Oracle Solaris 管理:ZFS 文件系统
Oracle Solaris 11 Information Library (简体中文)
搜索范围:
本文档
整个文档库
Oracle Solaris 管理:ZFS 文件系统
2012 年 2 月
本书适用于负责设置和管理 Oracle ZFS 文件系统的任何用户。在需要的时候,分别针对基于 SPARC 的系统和基于 x86 的系统介绍了这些主题。
文档信息
前言
1. Oracle Solaris ZFS 文件系统(介绍)
ZFS 中的新增功能
ZFS 手册页更改 (
zfs.1m
)
改进的
aclmode
属性
按物理位置标识池设备
ZFS 影子迁移
ZFS 文件共享改进
ZFS 文件系统加密
ZFS 发送流增强功能
ZFS 快照差异 (
zfs diff
)
ZFS 存储池恢复和性能增强功能
ZFS 同步行为调优
改进了 ZFS 池消息
ZFS ACL 互操作性增强功能
分割镜像 ZFS 存储池 (
zpool split
)
ZFS iSCSI 更改
新 ZFS 系统进程
ZFS 重复数据删除属性
什么是 Oracle Solaris ZFS?
ZFS 池存储
事务性语义
校验和与自我修复数据
独一无二的可伸缩性
ZFS 快照
简化的管理
ZFS 术语
ZFS 组件命名要求
2. Oracle Solaris ZFS 入门
ZFS 权限配置文件
ZFS 硬件和软件要求及建议
创建基本 ZFS 文件系统
创建基本的 ZFS 存储池
如何确定 ZFS 存储池的存储要求
如何创建 ZFS 存储池
创建 ZFS 文件系统分层结构
如何确定 ZFS 文件系统分层结构
如何创建 ZFS 文件系统
3. Oracle Solaris ZFS 与传统文件系统之间的差别
ZFS 文件系统粒度
ZFS 磁盘空间记帐
空间不足行为
挂载 ZFS 文件系统
传统卷管理
新 Solaris ACL 模型
4. 管理 Oracle Solaris ZFS 存储池
ZFS 存储池的组件
使用 ZFS 存储池中的磁盘
使用 ZFS 存储池中的分片
使用 ZFS 存储池中的文件
ZFS 存储池的注意事项
ZFS 存储池的复制功能
镜像存储池配置
RAID-Z 存储池配置
ZFS 混合存储池
冗余配置中的自我修复数据
存储池中的动态条带化
创建和销毁 ZFS 存储池
创建 ZFS 存储池
创建基本存储池
创建镜像存储池
创建 ZFS 根池
创建 RAID-Z 存储池
使用日志设备创建 ZFS 存储池
使用高速缓存设备创建 ZFS 存储池
创建存储池的注意事项
显示存储池虚拟设备信息
处理 ZFS 存储池创建错误
检测使用中的设备
不匹配的复制级别
在预运行模式下创建存储池
存储池的缺省挂载点
销毁 ZFS 存储池
销毁包含故障设备的池
管理 ZFS 存储池中的设备
向存储池中添加设备
附加和分离存储池中的设备
通过分割镜像 ZFS 存储池创建新池
使存储池中的设备联机和脱机
使设备脱机
使设备联机
清除存储池设备错误
替换存储池中的设备
在存储池中指定热备件
在存储池中激活和取消激活热备件
管理 ZFS 存储池属性
查询 ZFS 存储池的状态
显示有关 ZFS 存储池的信息
显示有关所有存储池或某个特定池的信息
按物理位置显示池设备
显示特定的存储池统计信息
使用脚本处理 ZFS 存储池输出
显示 ZFS 存储池命令历史记录
查看 ZFS 存储池的 I/O 统计信息
列出池范围的 I/O 统计信息
列出虚拟设备 I/O 统计信息
确定 ZFS 存储池的运行状况
基本的存储池运行状况
详细运行状况
收集 ZFS 存储池状态信息
迁移 ZFS 存储池
准备迁移 ZFS 存储池
导出 ZFS 存储池
确定要导入的可用存储池
从替换目录导入 ZFS 存储池
导入 ZFS 存储池
导入缺少日志设备的池
在只读模式下导入池
通过特定的设备路径导入池
恢复已销毁的 ZFS 存储池
升级 ZFS 存储池
5. 管理 ZFS 根池组件
管理 ZFS 根池组件(概述)
ZFS 根池要求
ZFS 根池空间要求
ZFS 根池配置要求
解决 ZFS 根池安装问题
管理 ZFS 根池
安装 ZFS 根池
如何更新 ZFS 引导环境
如何挂载备用 BE
如何配置镜像根池
如何替换 ZFS 根池中的磁盘
如何在另一个根池中创建 BE
管理 ZFS 交换和转储设备
调整 ZFS 交换和转储设备的大小
ZFS 转储设备故障排除
从 ZFS 根文件系统引导
从镜像 ZFS 根池中的备用磁盘引导
在基于 SPARC 的系统上从 ZFS 根文件系统引导
在基于 x86 的系统上从 ZFS 根文件系统引导
在 ZFS 根环境中进行引导以恢复系统
如何为进行恢复而引导系统
6. 管理 Oracle Solaris ZFS 文件系统
管理 ZFS 文件系统(概述)
创建、销毁和重命名 ZFS 文件系统
创建 ZFS 文件系统
销毁 ZFS 文件系统
重命名 ZFS 文件系统
ZFS 属性介绍
ZFS 只读本机属性
used
属性
可设置的 ZFS 本机属性
canmount
属性
casesensitivity
属性
copies
属性
dedup
属性
encryption
属性
recordsize
属性
sharesmb
属性
volsize
属性
ZFS 用户属性
查询 ZFS 文件系统信息
列出基本 ZFS 信息
创建复杂的 ZFS 查询
管理 ZFS 属性
设置 ZFS 属性
继承 ZFS 属性
查询 ZFS 属性
查询用于编写脚本的 ZFS 属性
挂载 ZFS 文件系统
管理 ZFS 挂载点
自动挂载点
传统挂载点
挂载 ZFS 文件系统
使用临时挂载属性
取消挂载 ZFS 文件系统
共享和取消共享 ZFS 文件系统
传统的 ZFS 共享语法
新的 ZFS 共享语法
显示 ZFS 共享信息
ZFS 共享继承
更改 ZFS 共享
删除 ZFS 共享
非全局区域中的 ZFS 文件共享
新 ZFS 共享和传统共享命令摘要
解决 ZFS 共享问题
ZFS 共享迁移/转换问题
设置 ZFS 配额和预留空间
设置 ZFS 文件系统的配额
在 ZFS 文件系统中设置用户和组配额
设置 ZFS 文件系统的预留空间
加密 ZFS 文件系统
更改已加密的 ZFS 文件系统的密钥
委托 ZFS 密钥操作权限
挂载已加密的 ZFS 文件系统
ZFS 压缩、重复数据删除和加密属性之间的交互
加密 ZFS 文件系统的示例
迁移 ZFS 文件系统
如何将文件系统迁移到 ZFS 文件系统
ZFS 文件系统迁移故障排除
升级 ZFS 文件系统
7. 使用 Oracle Solaris ZFS 快照和克隆
ZFS 快照概述
创建和销毁 ZFS 快照
保持 ZFS 快照
重命名 ZFS 快照
显示和访问 ZFS 快照
ZFS 快照的磁盘空间记帐
回滚 ZFS 快照
确定 ZFS 快照的差异 (
zfs diff
)
ZFS 克隆概述
创建 ZFS 克隆
销毁 ZFS 克隆
使用 ZFS 克隆替换 ZFS 文件系统
发送和接收 ZFS 数据
使用其他备份产品保存 ZFS 数据
识别 ZFS 快照流
发送 ZFS 快照
接收 ZFS 快照
向 ZFS 快照流应用不同的属性值
发送和接收复杂的 ZFS 快照流
远程复制 ZFS 数据
8. 使用 ACL 和属性保护 Oracle Solaris ZFS 文件
新 Solaris ACL 模型
ACL 设置语法的说明
ZFS ACL 集合
ACL 继承
ACL 属性
设置 ZFS 文件的 ACL
以详细格式设置和显示 ZFS 文件的 ACL
以详细格式对 ZFS 文件设置 ACL 继承
以缩写格式设置和显示 ZFS 文件的 ACL
向 ZFS 文件应用特殊属性
9. Oracle Solaris ZFS 委托管理
ZFS 委托管理概述
禁用 ZFS 委托权限
委托 ZFS 权限
授予*ZFS 权限 (
zfs allow
)
删除 ZFS 委托权限 (
zfs unallow
)
委托 ZFS 权限(示例)
显示 ZFS 委托权限(示例)
删除 ZFS 委托权限(示例)
10. Oracle Solaris ZFS 高级主题
ZFS 卷
使用 ZFS 卷作为交换设备或转储设备
将 ZFS 卷用作 iSCSI LUN
在安装了区域的 Solaris 系统中使用 ZFS
向非全局区域中添加 ZFS 文件系统
将数据集委托给非全局区域
向非全局区域中添加 ZFS 卷
在区域中使用 ZFS 存储池
在区域内管理 ZFS 属性
了解
zoned
属性
将区域复制到其他系统
使用 ZFS 备用根池
创建 ZFS 备用根池
导入备用根池
11. Oracle Solaris ZFS 故障排除和池恢复
确定 ZFS 故障
ZFS 存储池中缺少设备
ZFS 存储池中的设备已损坏
ZFS 数据已损坏
检查 ZFS 文件系统完整性
文件系统修复
文件系统验证
控制 ZFS 数据清理
显式 ZFS 数据清理
ZFS 数据清理和重新同步
解决 ZFS 问题
确定 ZFS 存储池中是否存在问题
查看
zpool status
输出
总体池状态信息
池配置信息
清理状态
数据损坏错误
ZFS 错误消息的系统报告
修复损坏的 ZFS 配置
解决缺少设备的问题
以物理方式重新附加设备
将设备可用性通知 ZFS
更换或修复损坏的设备
确定设备故障的类型
清除瞬态错误
替换 ZFS 存储池中的设备
确定是否可以替换设备
无法替换的设备
替换 ZFS 存储池中的设备
查看重新同步状态
修复损坏的数据
确定数据损坏的类型
修复损坏的文件或目录
修复 ZFS 存储池范围内的损坏
修复无法引导的系统
12. 归档快照和根池恢复
ZFS 恢复过程概述
ZFS 池恢复要求
创建用于恢复的 ZFS 快照归档文件
如何创建 ZFS 快照归档文件
重新创建根池并恢复根池快照
如何在恢复系统上重新创建根池
13. 建议的 Oracle Solaris ZFS 做法
建议的存储池做法
一般系统做法
ZFS 存储池创建做法
一般存储池做法
根池创建做法
非根池创建做法
针对 Oracle 数据库的池创建做法
针对性能的存储池做法
ZFS 存储池维护和监视做法
建议的文件系统做法
文件系统创建做法
针对 Oracle 数据库的文件系统创建做法
用于监视 ZFS 文件系统的做法
A. Oracle Solaris ZFS 版本说明
ZFS 版本概述
ZFS 池版本
ZFS 文件系统版本
索引
A
B
C
D
E
F
G
H
L
M
N
O
P
Q
R
S
T
U
V
X
Z
安
保
备
标
不
拆
池
创
磁
存
单
导
递
调
动
发
访
分
复
附
高
共
故
挂
恢
回
继
检
简
交
接
进
镜
卷
克
空
控
快
联
列
流
命
配
迁
清
区
取
权
确
热
删
设
升
使
事
授
数
替
添
通
委
文
显
向
销
校
修
虚
疑
引
硬
预
整
重
术
传
自
组