Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: Spare-Platten: Unterschied zwischen den Versionen

Aus UUGRN
({{:ZFS-Workshop/Navigation}})
 
(kein Unterschied)

Aktuelle Version vom 14. April 2022, 06:44 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