Veranstaltungen/2009-12-04 ZFS-Workshop/Szenario: ungleicher Pool

Aus UUGRN
< Veranstaltungen‎ | 2009-12-04 ZFS-Workshop
Version vom 3. Dezember 2009, 14:55 Uhr von SHL (Diskussion | Beiträge) (draft)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

shl@lightbulb:~$ mkfile 100m 100MB shl@lightbulb:~$ mkfile 400m 400MB 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:~$ zfs list NAME USED AVAIL REFER MOUNTPOINT helppool 96.5K 457M 19K /helppool 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 use '-f' to override the following errors: 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:~$ zpool status

 pool: helppool
state: ONLINE
scrub: none requested

config:

NAME STATE READ WRITE CKSUM helppool ONLINE 0 0 0 /export/home/shl/100MB 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

 pool: strangepool
state: ONLINE
scrub: none requested

config:

NAME STATE READ WRITE CKSUM strangepool ONLINE 0 0 0 /export/home/shl/500MB ONLINE 0 0 0 /dev/zvol/dsk/helppool/helpvol ONLINE 0 0 0

errors: No known data errors