Home | Mirror | Search

第 10 章 ZFS

目錄

1. 初始化
2. Creating a Basic Filesystem
3. Creating a Storage Pool
3.1. Mirrored Pool
3.2. RAID-Z Pool
3.3. Querying Pool Status
3.4. Destroying Pools
4. Creating a Filesystem Hierarchy
4.1. Creating a Filesystem
4.2. Setting Quotas
4.3. Setting Reservations
4.4. Querying Filesystem Information
4.5. Renaming a Filesystem
4.6. Destroying a Filesystem
5. zfs mount/umount
5.1. Temporary Mount Properties
5.2. Mounting File Systems
5.3. Unmounting File Systems
5.4. Legacy Mount Points
6. Sharing ZFS File Systems
6.1. Controlling Share Semantics
6.2. Unsharing Filesystems
6.3. Sharing Filesystems
7. Device Management
7.1. Adding Devices to a Pool
7.2. Onlining and Offlining Devices
7.2.1. Taking a Device Offline
7.2.2. Bringing a Device Online
7.3. Replacing Devices
8. I/O Statistics
8.1. Virtual Device Statistics
9. Health Status
9.1. Basic Health Status
9.2. Detailed Health Status
10. Storage Pool Migration
10.1. Exporting a Pool
10.2. Importing Pools
11. Querying Properties
12. Backing Up and Restoring ZFS Data
12.1. Backing Up a ZFS Snapshot
12.2. Restoring a ZFS Snapshot
12.3. Remote Replication of a ZFS File System
13. ZFS Snapshots and Clones
13.1. ZFS Snapshots
13.1.1. Creating ZFS Snapshots
13.1.2. Destroying ZFS Snapshots
13.1.3. Renaming ZFS Snapshots
13.1.4. Displaying and Accessing ZFS Snapshots
13.1.5. Rolling Back to a Snapshot
13.2. ZFS Clones
13.2.1. Creating a Clone
13.2.2. Destroying a Clone
14. Emulated Volumes

1. 初始化

echo "zfs_enable=YES" >> /etc/rc.conf
echo 'daily_status_zfs_enable="YES"' >> /etc/periodic.conf

freebsd# vi /etc/rc.conf
zfs_enable="YES"

freebsd# /etc/rc.d/zfs faststart
		
comments powered by Disqus