fix a few more typos

This commit is contained in:
Jacob Ward 2016-02-12 08:15:27 -07:00
parent 39a6ab4d7a
commit 85b4e2084e

View File

@ -9,7 +9,7 @@ filename: LearnZfs.txt
[ZFS](http://open-zfs.org/wiki/Main_Page) [ZFS](http://open-zfs.org/wiki/Main_Page)
is a rethinking of the storage stack, combining traditional file systems as well as volume is a rethinking of the storage stack, combining traditional file systems as well as volume
managers into one cohesive tool. ZFS has some specific terminology that sets it appart from managers into one cohesive tool. ZFS has some specific terminology that sets it apart from
more traditional storage systems, however it has a great set of features with a focus on more traditional storage systems, however it has a great set of features with a focus on
usability for systems administrators. usability for systems administrators.
@ -23,7 +23,7 @@ types of VDEV's that offer various advantages, including redundancy and speed.
VDEV's offer better reliability and safety than a RAID card. It is discouraged to use a VDEV's offer better reliability and safety than a RAID card. It is discouraged to use a
RAID setup with ZFS, as ZFS expects to directly manage the underlying disks. RAID setup with ZFS, as ZFS expects to directly manage the underlying disks.
Types of VDEV's Types of VDEV's
* stripe (a single disk, no redundancy) * stripe (a single disk, no redundancy)
* mirror (n-way mirrors supported) * mirror (n-way mirrors supported)
* raidz * raidz
@ -39,13 +39,13 @@ increase your IOPS.
### Storage Pools ### Storage Pools
ZFS uses Storage Pools as an abstraction over the lower level storage provider (VDEV), allow ZFS uses Storage Pools as an abstraction over the lower level storage provider (VDEV), allow
you to separate the user visable file system from the physcal layout. you to separate the user visible file system from the physical layout.
### ZFS Dataset ### ZFS Dataset
ZFS datasets are analagous to traditional filesystems but with many more features. They ZFS datasets are analogous to traditional filesystems but with many more features. They
provide many of ZFS's advantages. Datasets support [Copy on Write](https://en.wikipedia.org/wiki/Copy-on-write) provide many of ZFS's advantages. Datasets support [Copy on Write](https://en.wikipedia.org/wiki/Copy-on-write)
snapshots, quota's, compression and deduplication. snapshots, quota's, compression and de-duplication.
### Limits ### Limits
@ -68,7 +68,7 @@ Actions:
List zpools List zpools
```bash ```bash
# Create a raidz zpool # Create a raidz zpool
$ zpool create bucket raidz1 gpt/zfs0 gpt/zfs1 gpt/zfs2 $ zpool create bucket raidz1 gpt/zfs0 gpt/zfs1 gpt/zfs2
# List ZPools # List ZPools
@ -347,7 +347,7 @@ $ zfs promote tank/home/sarlalian_new
### Putting it all together ### Putting it all together
This following a script utilizing FreeBSD, jails and ZFS to automate This following a script utilizing FreeBSD, jails and ZFS to automate
provisioning a clean copy of a mysql staging database from a live replication provisioning a clean copy of a mysql staging database from a live replication
slave. slave.
@ -384,7 +384,7 @@ mv /jails/staging/etc/rc.conf.staging /jails/staging/etc/rc.conf.local
echo "==== Starting the staging db server ====" echo "==== Starting the staging db server ===="
jail -c staging jail -c staging
echo "==== Make sthe staging database not pull from the master ====" echo "==== Makes the staging database not pull from the master ===="
echo "STOP SLAVE;" | /usr/local/bin/mysql -u root -pmyrootpassword -h staging echo "STOP SLAVE;" | /usr/local/bin/mysql -u root -pmyrootpassword -h staging
echo "RESET SLAVE;" | /usr/local/bin/mysql -u root -pmyrootpassword -h staging echo "RESET SLAVE;" | /usr/local/bin/mysql -u root -pmyrootpassword -h staging
``` ```