Translation

(itstool) path: sect2/para
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>.
0/1790
Context English Turkish (tr_TR) State
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>
It is now possible to see the data and space utilization by issuing <command>df</command>: Artık <command>df</command> yayınlayarak veri ve alan kullanımını görmek mümkün:
<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
example/data 17547008 0 17547008 0% /example/data
<prompt></prompt><userinput>df</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ış
örnek 17547008 0 17547008 0% / örnek/veri
Notice that each file system on the pool has the same amount of available space. This is the reason for using <command>df</command> in these examples, to show that the file systems use only the amount of space they need and all draw from the same pool. <acronym>ZFS</acronym> eliminates concepts such as volumes and partitions, and allows multiple file systems to occupy the same pool. Havuzdaki her dosya sisteminde aynı miktarda kullanılabilir alan olduğuna dikkat edin. Bu, dosya sistemlerinin yalnızca ihtiyaç duydukları alan miktarını kullandığını ve hepsinin aynı havuzdan çekildiğini göstermek için bu örneklerde <command>df</command> kullanmanın sebebidir. <acronym>ZFS</acronym>, birimler ve bölümler gibi kavramları ortadan kaldırır ve birden fazla dosya sisteminin aynı havuzu işgal etmesine izin verir.
To destroy the file systems and then destroy the pool as it is no longer needed: Dosya sistemlerini yok etmek ve artık gerekli olmadığı için havuzu yok etmek:
<prompt>#</prompt> <userinput>zfs destroy example/compressed</userinput>
<prompt>#</prompt> <userinput>zfs destroy example/data</userinput>
<prompt>#</prompt> <userinput>zpool destroy example</userinput>
<prompt></prompt><userinput>zfs örnek oluştur/sıkıştırılmış</userinput>
<prompt></prompt><userinput> zfs örnek/verileri yok eder</userinput>
<prompt></prompt><userinput>zpool örnek yok</userinput>

Loading…

No matching activity found.

Browse all component changes

Glossary

English Turkish (tr_TR)
base system temel sistem FreeBSD Doc
credential file kimlik bilgileri dosyası FreeBSD Doc
dataset veri kümesi FreeBSD Doc
Extended (Ext) File System Genişletilmiş Dosya Sistemi FreeBSD Doc
file system dosya sistemi FreeBSD Doc
host system ana bilgisayar sistemi FreeBSD Doc
log file sistem günlük dosyası FreeBSD Doc
native file system yerel dosya sistemi FreeBSD Doc
network file system ağ dosya sistemi FreeBSD Doc
operating system işletim sistemi FreeBSD Doc
plain text file düz metin dosyası FreeBSD Doc
supported file system desteklenen dosya sistemi FreeBSD Doc
swap file getir götür kütüğü FreeBSD Doc
system administration Sistem Yönetimi FreeBSD Doc
system call sistem çağrısı FreeBSD Doc
system collapsing sistem çökmesi FreeBSD Doc

Source information

Source string comment
(itstool) path: sect2/para
Source string location
book.translate.xml:39521
String age
8 months ago
Source string age
a year ago
Translation file
books/tr_TR/handbook.po, string 6598