Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: Spare-Platten
Zur Navigation springen
Zur Suche springen
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-0 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
raidz1-0 ONLINE 0 0 0
errors: No known data errors