In message <4d448a2b-cd99-78a4-24cd-fd8c1f500...@xdrv.uk>, James via openindiana-discuss writes: >3 way mirror has 3 discs in a single "mirror". You have three copies of >the data and double redundancy. > ># zpool create dpool mirror c3t0d0 c3t1d0 c3t2d0 ># zpool status dpool > pool: dpool > state: ONLINE > scan: none requested >config: > > dpool ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > c3t0d0 ONLINE 0 0 0 > c3t1d0 ONLINE 0 0 0 > c3t2d0 ONLINE 0 0 0
Alternatively you can create a pool containing multiple mirrors: <URL:https://illumos.org/man/1m/zpool> Virtual devices are specified one at a time on the command line, separated by whitespace. The keywords mirror and raidz are used to distinguish where a group ends and another begins. For example, the following creates two root vdevs, each a mirror of two disks: # zpool create mypool mirror c0t0d0 c0t1d0 mirror c1t0d0 c1t1d0 For experimenting, using files as backend storage is flexible and fun: $ wget http://dlc.openindiana.org/isos/hipster/20200504/OI-hipster-text-20200504.iso $ md5sum OI-hipster-text-20200504.iso # mkfile 256m /var/tmp/m0f0 /var/tmp/m0f1 /var/tmp/m1f0 /var/tmp/m1f1 /var/tmp/m2f0 /var/tmp/m2f1 /var/tmp/s0f0 # zpool create mypool mirror /var/tmp/m0f0 /var/tmp/m0f1 mirror /var/tmp/m1f0 /var/tmp/m1f1 mirror /var/tmp/m2f0 /var/tmp/m2f1 spare /var/tmp/s0f0 $ mv OI-hipster-text-20200504.iso /mypool # zpool status mypool # dd if=/dev/random of=/var/tmp/m0f0 bs=64k count=128 oseek=1024 # zpool status mypool $ md5sum OI-hipster-text-20200504.iso John groenv...@acm.org _______________________________________________ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss