Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: gespiegelte Pool-Platten: Unterschied zwischen den Versionen
Aus UUGRN
Rabe (Diskussion | Beiträge) K ({{:ZFS-Workshop/Navigation}}) |
Sdk (Diskussion | Beiträge) K (Sdk verschob die Seite ZFS-Workshop/Szenario: gespiegelte Pool-Platten nach Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: gespiegelte Pool-Platten) |
(kein Unterschied)
|
Aktuelle Version vom 14. April 2022, 06:44 Uhr
shl@sonnenkind:~$ mkfile 100m HDD0 shl@sonnenkind:~$ mkfile 100m HDD1
Wir erstellen einen gespiegelten Pool
shl@sonnenkind:~$ pfexec zpool create testpool mirror ~/HDD0 ~/HDD1
shl@sonnenkind:~$ zpool status testpool pool: testpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM testpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 /export/home/shl/HDD0 ONLINE 0 0 0 /export/home/shl/HDD1 ONLINE 0 0 0 errors: No known data errors
Wir erweitern einen bestehenden Pool zu einem Spiegel
shl@sonnenkind:~$ pfexec zpool create testpool ~/HDD0 shl@sonnenkind:~$ pfexec zpool attach testpool ~/HDD0 ~/HDD1
shl@sonnenkind:~$ zpool status testpool pool: testpool state: ONLINE scrub: resilver completed after 0h0m with 0 errors on Tue Nov 24 13:09:19 2009 config: NAME STATE READ WRITE CKSUM testpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 /export/home/shl/HDD0 ONLINE 0 0 0 /export/home/shl/HDD1 ONLINE 0 0 0 75K resilvered errors: No known data errors