Veranstaltungen/2009-12-04 ZFS-Workshop/Cache: ZIL: Unterschied zwischen den Versionen

Aus UUGRN
(draft)
 
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
 
               ever,  raidz  and raidz2 are not supported for the
 
               ever,  raidz  and raidz2 are not supported for the
 
               intent log. For more information, see the  "Intent
 
               intent log. For more information, see the  "Intent
               Log" section.<pre>
+
               Log" section.</pre>
  
 
Das '''ZIL''' (= ZFS Intent Log) kann im Nachhinein ''attached'', oder direkt beim Erstellen des Pools mit angelegt werden.
 
Das '''ZIL''' (= ZFS Intent Log) kann im Nachhinein ''attached'', oder direkt beim Erstellen des Pools mit angelegt werden.
Zeile 27: Zeile 27:
  
 
errors: No known data errors</pre>
 
errors: No known data errors</pre>
 +
 +
 +
Das Intent Log wird als Schreib-Cache verwendet. Noch wichtiger als beim L2ARC sollten immer redundant ausgelegte Devices genutzt werden. Am sinnvollsten auch hier SSDs.
 +
 +
 +
[[Kategorie:ZFS]]
 +
[[Kategorie:ZFS-Workshop]]
 +
 +
 +
 +
 +
 +
<div align="center" style="border-top: 1px solid #0000a0; border-bottom: 1px solid #0000a0; margin:0; padding: 0.6em;">
 +
 +
[[ZFS-Workshop/Cache: L2ARC|Cache: L2ARC]] | [[ZFS-Workshop/Agenda|Agenda]] | [[ZFS-Workshop/Hinweis: das -f muß sein|Hinweis: das -f muß sein]]
 +
 +
</div>
 +
 +
{{:ZFS-Workshop/Navigation}}

Aktuelle Version vom 14. April 2022, 06:44 Uhr

Aus der man-Page:

     log       A separate intent log device. If more than one log
               device is specified, then writes are load-balanced
               between devices. Log devices can be mirrored. How-
               ever,  raidz  and raidz2 are not supported for the
               intent log. For more information, see the  "Intent
               Log" section.

Das ZIL (= ZFS Intent Log) kann im Nachhinein attached, oder direkt beim Erstellen des Pools mit angelegt werden.

shl@lightbulb:~$ pfexec zpool create testpool raidz1 ~/HDD0 ~/HDD1 ~/HDD2 log ~/SSD0
shl@lightbulb:~$ zpool status -v testpool
  pool: testpool
 state: ONLINE
 scrub: none requested
config:

	NAME                       STATE     READ WRITE CKSUM
	testpool                   ONLINE       0     0     0
	  raidz1                   ONLINE       0     0     0
	    /export/home/shl/HDD0  ONLINE       0     0     0
	    /export/home/shl/HDD1  ONLINE       0     0     0
	    /export/home/shl/HDD2  ONLINE       0     0     0
	logs                       ONLINE       0     0     0
	  /export/home/shl/SSD0    ONLINE       0     0     0

errors: No known data errors


Das Intent Log wird als Schreib-Cache verwendet. Noch wichtiger als beim L2ARC sollten immer redundant ausgelegte Devices genutzt werden. Am sinnvollsten auch hier SSDs.