Bearbeiten von „Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: ungleicher Pool“
Aus UUGRN
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden.
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und speichere dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
− | + | shl@lightbulb:~$ mkfile 100m 100MB | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
shl@lightbulb:~$ mkfile 400m 400MB | shl@lightbulb:~$ mkfile 400m 400MB | ||
− | shl@lightbulb:~$ mkfile 500m 500MB | + | shl@lightbulb:~$ mkfile 500m 500MB |
− | + | shl@lightbulb:~$ pfexec zpool create helppool ~/100MB ~/400MB | |
− | + | shl@lightbulb:~$ pfexec zfs create -sV 400G helppool/helpvol | |
− | + | shl@lightbulb:~$ pfexec zpool create strangepool | |
− | shl@lightbulb:~$ pfexec zfs create -sV 400G helppool/helpvol | + | shl@lightbulb:~$ zfs list |
− | |||
− | |||
− | |||
NAME USED AVAIL REFER MOUNTPOINT | NAME USED AVAIL REFER MOUNTPOINT | ||
helppool 96.5K 457M 19K /helppool | helppool 96.5K 457M 19K /helppool | ||
− | helppool/helpvol 16K 457M 16K - | + | helppool/helpvol 16K 457M 16K - |
− | + | rpool 7.89G 16.6G 81.5K /rpool | |
− | + | rpool/ROOT 4.65G 16.6G 19K legacy | |
− | + | rpool/ROOT/installed 71K 16.6G 2.86G / | |
+ | rpool/ROOT/opensolaris 8.25M 16.6G 2.87G / | ||
+ | rpool/ROOT/opensolaris-1 4.64G 16.6G 4.34G / | ||
+ | rpool/dump 1023M 16.6G 1023M - | ||
+ | rpool/export 1.24G 16.6G 21K /export | ||
+ | rpool/export/home 1.24G 16.6G 183M /export/home | ||
+ | rpool/export/home/shl 1.06G 16.6G 1.01G /export/home/shl | ||
+ | rpool/swap 1023M 17.5G 101M - | ||
+ | shl@lightbulb:~$ pfexec zpool create strangepool ~/500MB /dev/zvol/dsk/helppool/helpvol | ||
invalid vdev specification | invalid vdev specification | ||
use '-f' to override the following errors: | use '-f' to override the following errors: | ||
mismatched replication level: both file and disk vdevs are present | mismatched replication level: both file and disk vdevs are present | ||
− | shl@lightbulb:~$ pfexec zpool create -f strangepool ~/500MB /dev/zvol/dsk/helppool/helpvol | + | shl@lightbulb:~$ pfexec zpool create -f strangepool ~/500MB /dev/zvol/dsk/helppool/helpvol |
− | + | shl@lightbulb:~$ zpool status | |
− | |||
− | |||
− | |||
pool: helppool | pool: helppool | ||
state: ONLINE | state: ONLINE | ||
Zeile 39: | Zeile 34: | ||
/export/home/shl/100MB ONLINE 0 0 0 | /export/home/shl/100MB ONLINE 0 0 0 | ||
/export/home/shl/400MB ONLINE 0 0 0 | /export/home/shl/400MB ONLINE 0 0 0 | ||
+ | |||
+ | errors: No known data errors | ||
+ | |||
+ | pool: rpool | ||
+ | state: ONLINE | ||
+ | status: One or more devices has experienced an unrecoverable error. An | ||
+ | attempt was made to correct the error. Applications are unaffected. | ||
+ | action: Determine if the device needs to be replaced, and clear the errors | ||
+ | using 'zpool clear' or replace the device with 'zpool replace'. | ||
+ | see: http://www.sun.com/msg/ZFS-8000-9P | ||
+ | scrub: resilver completed after 0h0m with 0 errors on Thu Dec 3 15:40:55 2009 | ||
+ | config: | ||
+ | |||
+ | NAME STATE READ WRITE CKSUM | ||
+ | rpool ONLINE 0 0 0 | ||
+ | c7d0s0 ONLINE 0 8 0 18K resilvered | ||
errors: No known data errors | errors: No known data errors | ||
Zeile 52: | Zeile 63: | ||
/dev/zvol/dsk/helppool/helpvol ONLINE 0 0 0 | /dev/zvol/dsk/helppool/helpvol ONLINE 0 0 0 | ||
− | errors: No known data errors | + | errors: No known data errors |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |