6 hours ago · Tech · ausblenden

(originally published on 04.09.2013, reviewed/rewritten on 12.11.2026, tested on (untested)) Many people think of a ZFS mirror as a configuration with two or perhaps three devices. But a ZFS mirror isn’t limited to that. It is an n-way mirror: every device in the mirror vdev holds a complete copy of the data, and you can put as many devices into it as you like. Preparation For this demonstration, plain files are good enough as devices. Eleven files of 256 MB each: root@testbed:~# mkdir /testdev root@testbed:~# mkfile 256m /testdev/test0 /testdev/test1 /testdev/test2 /testdev/test3 \ /testdev/test4 /testdev/test5 /testdev/test6 /testdev/test7 /testdev/test8 /testdev/test9 \ /testdev/test10 Two, three … eleven devices The classic mirror with two devices: root@testbed:~# zpool create testpool mirror /testdev/test0 /testdev/test1 root@testbed:~# zpool status testpool pool: testpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM testpool ONLINE 0 0 0 mirror-0 ONLINE…

Die Kommentarfunktion wurde von Bubbles entfernt. Warum? Wenn du über diesen Beitrag sprechen willst, schreib der Person direkt, kommentiere auf ihrem Blog, falls es dort Kommentare gibt, oder antworte mit einem "RE:"-Beitrag in deinem eigenen Blog. Vorschläge? feedback@bubbles.town