Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: Spare-Platten: Unterschied zwischen den Versionen
Aus UUGRN
SHL (Diskussion | Beiträge) (draft) |
SHL (Diskussion | Beiträge) K (fixed) |
||
Zeile 14: | Zeile 14: | ||
config: | 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 | |
− | + | spares | |
− | + | /export/home/shl/HDD3 AVAIL | |
− | errors: No known data errors</pre> | + | errors: No known data errors |
+ | </pre> | ||
Version vom 3. Dezember 2009, 15:30 Uhr
shl@sonnenkind:~$ mkfile 100m HDD0 shl@sonnenkind:~$ mkfile 100m HDD1 shl@sonnenkind:~$ mkfile 100m HDD2 shl@sonnenkind:~$ mkfile 100m HDD3
Erstellung eines RAID-Z1 Pools inkl. Spare-Drive:
shl@sonnenkind:~$ pfexec zpool create testpool raidz1 ~/HDD0 ~/HDD1 ~/HDD2 spare ~/HDD3
shl@sonnenkind:~$ zpool status 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 spares /export/home/shl/HDD3 AVAIL errors: No known data errors