diff --git a/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml b/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml index 6a709c1842..3f9ea2a12d 100644 --- a/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml @@ -108,7 +108,7 @@ - The Z File System + The Z File System (ZFS) The Z file system, developed by &sun;, is a new technology designed to use a pooled storage method. This means @@ -198,19 +198,20 @@ vfs.zfs.vdev.cache.size="5M" &prompt.root; echo 'zfs_enable="YES"' >> /etc/rc.conf &prompt.root; /etc/rc.d/zfs start - The remainder of this document assumes two + The remainder of this document assumes three SCSI disks are available, and their device names - are da0 - and da1 - respectively. Users of IDE hardware may - use the ad + are da0, + da1 + and da2. + Users of IDE hardware may use the + ad devices in place of SCSI hardware. Single Disk Pool - To create a ZFS over a single disk - device, use the zpool command: + To create a simple, non-redundant ZFS pool using a + single disk device, use the zpool command: &prompt.root; zpool create example /dev/da0 @@ -340,13 +341,22 @@ example/data 17547008 0 17547008 0% /example/data <acronym>ZFS</acronym> RAID-Z As previously noted, this section will assume that - two SCSI exists as devices - da0 and - da1. To create a + three SCSI disks exist as devices + da0, da1 + and da2 (or ad0 + and beyond in case IDE disks are being used). To create a RAID-Z pool, issue the following command: - &prompt.root; zpool create storage raidz da0 da1 + &prompt.root; zpool create storage raidz da0 da1 da2 + + &sun; recommends that the amount of devices used in a + RAID-Z configuration is 3-9. If your needs + call for a single pool to consist of 10 disks or more, consider + breaking it up into smaller RAID-z groups. If + you only have 2 disks, and still require redundancy, consider using + the ZFS mirror feature. See the &man.zpool.8; + manual page for more details. The storage zpool should have been created. This may be verified by using the &man.mount.8; and @@ -432,8 +442,8 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 2026030 235240 1628708 13% / devfs 1 1 0 100% /dev /dev/ad0s1d 54098308 1032826 48737618 2% /usr -storage 17547008 0 17547008 0% /storage -storage/home 17547008 0 17547008 0% /home +storage 26320512 0 26320512 0% /storage +storage/home 26320512 0 26320512 0% /home This completes the RAID-Z configuration. To get status updates about the file systems @@ -477,6 +487,7 @@ config: raidz1 DEGRADED 0 0 0 da0 ONLINE 0 0 0 da1 OFFLINE 0 0 0 + da2 ONLINE 0 0 0 errors: No known data errors @@ -509,6 +520,7 @@ config: raidz1 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 + da2 ONLINE 0 0 0 errors: No known data errors @@ -556,6 +568,7 @@ config: raidz1 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 + da2 ONLINE 0 0 0 errors: No known data errors