ZFS Snippets

Einrichtung von Storage Pools

Basic Storage Pool ≈ RAID-0

zpool create tank c1t0d0 c1t1d0

Mirrored Storage Pool ≈ RAID-1

Simpler Mirror:

zpool create tank mirror c1t0d0 c1t1d0

2Wege Mirror (Daten werden über beide Mirror gestriped):

zpool create tank mirror c1t0d0 c1t1d0 mirror c1t2d0 c1t3d0

RAID-Z Storage Pool ≤ RAID-5

1 Spare RAID-Z1 ≈ RAID-5

zpool create tank raidz c1t0d0 c1t1d0 c1t2d0 c1t3d0 c1t4d0

2 Spares RAID-Z2 ≈ RAID-6

zpool create tank raidz2 c1t0d0 c1t1d0 c1t2d0 c1t3d0 c1t4d0

3 Spares RAID-Z3

zpool create tank raidz3 c1t0d0 c1t1d0 c1t2d0 c1t3d0 c1t4d0

Bearbeiten von Storage Pools

Platte hinzufügen

Neue Pools hinzufügen

zpool add tank c2t0d0
zpool add tank mirror c2t0d0 c2t1d0

Neue Platten zu vorhandenen Pools hinzufügen

zpool attach tank c2t0d0 c2t2d0
Dry Run
zpool add -n tank c2t0d0

Storage Pool anzeigen

zpool status tank
/var/www/virtual/ben/wiki.firefly-it.de/data/pages/opensolaris/zfs.txt · Last modified: 2009/12/02 10:11 by zero
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0