mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Merge pull request #2129 from JacobCWard/patch-2
[zfs/en] Fix a few typos
This commit is contained in:
commit
b3c92c47b7
@ -9,7 +9,7 @@ filename: LearnZfs.txt
|
||||
|
||||
[ZFS](http://open-zfs.org/wiki/Main_Page)
|
||||
is a rethinking of the storage stack, combining traditional file systems as well as volume
|
||||
managers into one cohesive tool. ZFS has some specific teminology 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
|
||||
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
|
||||
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)
|
||||
* mirror (n-way mirrors supported)
|
||||
* raidz
|
||||
@ -39,13 +39,13 @@ increase your IOPS.
|
||||
### Storage Pools
|
||||
|
||||
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 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)
|
||||
snapshots, quota's, compression and deduplication.
|
||||
snapshots, quota's, compression and de-duplication.
|
||||
|
||||
|
||||
### Limits
|
||||
@ -68,7 +68,7 @@ Actions:
|
||||
List zpools
|
||||
|
||||
```bash
|
||||
# Create a raidz zpool
|
||||
# Create a raidz zpool
|
||||
$ zpool create bucket raidz1 gpt/zfs0 gpt/zfs1 gpt/zfs2
|
||||
|
||||
# List ZPools
|
||||
@ -347,7 +347,7 @@ $ zfs promote tank/home/sarlalian_new
|
||||
|
||||
### 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
|
||||
slave.
|
||||
|
||||
@ -384,7 +384,7 @@ mv /jails/staging/etc/rc.conf.staging /jails/staging/etc/rc.conf.local
|
||||
echo "==== Starting the staging db server ===="
|
||||
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 "RESET SLAVE;" | /usr/local/bin/mysql -u root -pmyrootpassword -h staging
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user