Translation

(itstool) path: sect2/screen
<prompt>#</prompt> <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 2026030 235230 1628718 13% /
devfs 1 1 0 100% /dev
/dev/ad0s1d 54098308 1032846 48737598 2% /usr
example 17547136 0 17547136 0% /example
0/3210
Context English Turkish (tr_TR) State
Pooled storage: physical storage devices are added to a pool, and storage space is allocated from that shared pool. Space is available to all file systems, and can be increased by adding new storage devices to the pool.
Performance: multiple caching mechanisms provide increased performance. <link linkend="zfs-term-arc">ARC</link> is an advanced memory-based read cache. A second level of disk-based read cache can be added with <link linkend="zfs-term-l2arc">L2ARC</link>, and disk-based synchronous write cache is available with <link linkend="zfs-term-zil">ZIL</link>.
A complete list of features and terminology is shown in <xref linkend="zfs-term"/>.
What Makes <acronym>ZFS</acronym> Different
<acronym>ZFS</acronym> is significantly different from any previous file system because it is more than just a file system. Combining the traditionally separate roles of volume manager and file system provides <acronym>ZFS</acronym> with unique advantages. The file system is now aware of the underlying structure of the disks. Traditional file systems could only be created on a single disk at a time. If there were two disks then two separate file systems would have to be created. In a traditional hardware <acronym>RAID</acronym> configuration, this problem was avoided by presenting the operating system with a single logical disk made up of the space provided by a number of physical disks, on top of which the operating system placed a file system. Even in the case of software <acronym>RAID</acronym> solutions like those provided by <acronym>GEOM</acronym>, the <acronym>UFS</acronym> file system living on top of the <acronym>RAID</acronym> transform believed that it was dealing with a single device. <acronym>ZFS</acronym>'s combination of the volume manager and the file system solves this and allows the creation of many file systems all sharing a pool of available storage. One of the biggest advantages to <acronym>ZFS</acronym>'s awareness of the physical layout of the disks is that existing file systems can be grown automatically when additional disks are added to the pool. This new space is then made available to all of the file systems. <acronym>ZFS</acronym> also has a number of different properties that can be applied to each file system, giving many advantages to creating a number of different file systems and datasets rather than a single monolithic file system.
Quick Start Guide
There is a startup mechanism that allows FreeBSD to mount <acronym>ZFS</acronym> pools during system initialization. To enable it, add this line to <filename>/etc/rc.conf</filename>:
zfs_enable="YES"
Then start the service:
<prompt>#</prompt> <userinput>service zfs start</userinput>
The examples in this section assume three <acronym>SCSI</acronym> disks with the device names <filename><replaceable>da0</replaceable></filename>, <filename><replaceable>da1</replaceable></filename>, and <filename><replaceable>da2</replaceable></filename>. Users of <acronym>SATA</acronym> hardware should instead use <filename><replaceable>ada</replaceable></filename> device names.
Single Disk Pool
To create a simple, non-redundant pool using a single disk device:
<prompt>#</prompt> <userinput>zpool create <replaceable>example</replaceable> <replaceable>/dev/da0</replaceable></userinput>
To view the new pool, review the output of <command>df</command>:
<prompt>#</prompt> <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 2026030 235230 1628718 13% /
devfs 1 1 0 100% /dev
/dev/ad0s1d 54098308 1032846 48737598 2% /usr
example 17547136 0 17547136 0% /example
This output shows that the <literal>example</literal> pool has been created and mounted. It is now accessible as a file system. Files can be created on it and users can browse it:
<prompt>#</prompt> <userinput>cd /example</userinput>
<prompt>#</prompt> <userinput>ls</userinput>
<prompt>#</prompt> <userinput>touch testfile</userinput>
<prompt>#</prompt> <userinput>ls -al</userinput>
total 4
drwxr-xr-x 2 root wheel 3 Aug 29 23:15 .
drwxr-xr-x 21 root wheel 512 Aug 29 23:12 ..
-rw-r--r-- 1 root wheel 0 Aug 29 23:15 testfile
However, this pool is not taking advantage of any <acronym>ZFS</acronym> features. To create a dataset on this pool with compression enabled:
<prompt>#</prompt> <userinput>zfs create example/compressed</userinput>
<prompt>#</prompt> <userinput>zfs set compression=gzip example/compressed</userinput>
The <literal>example/compressed</literal> dataset is now a <acronym>ZFS</acronym> compressed file system. Try copying some large files to <filename>/example/compressed</filename>.
Compression can be disabled with: Sıkıştırma ile devre dışı bırakılabilir:
<prompt>#</prompt> <userinput>zfs set compression=off example/compressed</userinput> <prompt></prompt><userinput>zfs set sıkıştırma = gzip örneği / sıkıştırılmış</userinput>
To unmount a file system, use <command>zfs umount</command> and then verify with <command>df</command>: Bir dosya sistemini kaldırmak için zfs umount</command> kullanın<command> ve sonra <command>df</command> ile doğrulayın:
<prompt>#</prompt> <userinput>zfs umount example/compressed</userinput>
<prompt>#</prompt> <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 2026030 235232 1628716 13% /
devfs 1 1 0 100% /dev
/dev/ad0s1d 54098308 1032864 48737580 2% /usr
example 17547008 0 17547008 0% /example
<prompt></prompt><userinput>zfs örnek oluştur/sıkıştırılmış</userinput>
<prompt></prompt><userinput>df</userinput>
Dosya sistemi 1k-kullanılan bloklar
/ dev / ad0s1a 2026030 235232 1628716 13% /
devfs 1 1 0 100 % / dev
/ dev / ad0s1d 54098308 1032846 48737598 2% / usr
örnek 17547008 0 17547008 0% / örnek
To re-mount the file system to make it accessible again, use <command>zfs mount</command> and verify with <command>df</command>: Dosya sistemini yeniden erişilebilir hale getirmek için yeniden monte etmek için <command>zfs mount</command> kullanın ve <command>df</command> ile doğrulayın:
<prompt>#</prompt> <userinput>zfs mount example/compressed</userinput>
<prompt>#</prompt> <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 2026030 235234 1628714 13% /
devfs 1 1 0 100% /dev
/dev/ad0s1d 54098308 1032864 48737580 2% /usr
example 17547008 0 17547008 0% /example
example/compressed 17547008 0 17547008 0% /example/compressed
<prompt></prompt><userinput>zfs örnek oluştur/sıkıştırılmış</userinput>
<prompt></prompt><userinput></userinput>
Dosya sistemi 1k-kullanılan bloklar
/ dev / ad0s1a 2026030 235234 1628714 13% /
devfs 1 1 0 100 % / dev
/ dev / ad0s1d 54098308 1032846 48737598 2% / usr
örnek 17547008 0 17547008 0% / örnek
örnek 17547008 0 17547008 0% / örnek/sıkıştırılmış
The pool and file system may also be observed by viewing the output from <command>mount</command>: Havuz ve dosya sistemi de <command>montajı</command> görüntüleyerek gözlemlenebilir:
<prompt>#</prompt> <userinput>mount</userinput>
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1d on /usr (ufs, local, soft-updates)
example on /example (zfs, local)
example/compressed on /example/compressed (zfs, local)
<prompt></prompt><userinput>montaj</userinput>
/ dev / ad0s1a açık /(ufs, yerel)
devfs on /dev (devfs, yerel)
/ dev /ad0s1d on / usr (ufs, local, soft-updates)
örnek açık / örnek (zfs, yerel)
örnek / sıkıştırılmış /örnek/sıkıştırılmış (zfs, yerel)
After creation, <acronym>ZFS</acronym> datasets can be used like any file systems. However, many other features are available which can be set on a per-dataset basis. In the example below, a new file system called <literal>data</literal> is created. Important files will be stored here, so it is configured to keep two copies of each data block: Oluşturulduktan sonra, <acronym>ZFS</acronym> veri kümeleri herhangi bir dosya sistemi gibi kullanılabilir. Bununla birlikte, veri kümesi bazında ayarlanabilen diğer birçok özellik mevcuttur. Aşağıdaki örnekte, <literal>veri</literal> adlı yeni bir dosya sistemi oluşturulur. Önemli dosyalar burada saklanır, bu nedenle her veri bloğunun iki kopyasını tutacak şekilde yapılandırılır:
<prompt>#</prompt> <userinput>zfs create example/data</userinput>
<prompt>#</prompt> <userinput>zfs set copies=2 example/data</userinput>
<prompt></prompt><userinput> zfs örnek oluştur/sıkıştırılmış</userinput>
<prompt></prompt><userinput>zfs set kopyaları=2 örnek / veri</userinput>

Loading…

No matching activity found.

Browse all component changes

Glossary

English Turkish (tr_TR)
Block engellemek FreeBSD Doc
mount tanıtmak,oluşturmak FreeBSD Doc
mount point bağlama noktası FreeBSD Doc
mount point takma noktası FreeBSD Doc

Source information

Source string comment
(itstool) path: sect2/screen
Flags
no-wrap
Source string location
book.translate.xml:39493
String age
8 months ago
Source string age
a year ago
Translation file
books/tr_TR/handbook.po, string 6593