You are on page 1of 2

pool: rpool state: ONLINE scan: none requested config: NAME STATE rpool ONLINE c3t0d0s0 ONLINE READ

WRITE CKSUM 0 0 0 0 0 0

root@solaris11:~# zpool attach -f rpool c3t0d0s0 c3t1d0s0 pool: rpool state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Tue Jul 9 14:57:51 2013 4.42M scanned out of 5.78G at 57.3K/s, 29h21m to go 4.35M resilvered, 0.07% done config: NAME rpool mirror-0 c3t0d0s0 c3t1d0s0 STATE ONLINE ONLINE ONLINE ONLINE READ WRITE CKSUM 0 0 0 0 0 0 0 0 0 0 0 0 (resilvering)

================================================ root@solaris11:/datapool# zpool create -f MY_raidz raidz2 c4t1d0s6 c4t2d0s6 c4t3 d0s2 zpool add -f MY_raidz spare c4t4d0s6 root@solaris11:/datapool# zpool status MY_raidz pool: MY_raidz state: ONLINE scan: none requested config: NAME MY_raidz raidz2-0 c4t1d0s6 c4t2d0s6 c4t3d0s2 spares c4t4d0s6 STATE ONLINE ONLINE ONLINE ONLINE ONLINE AVAIL READ WRITE CKSUM 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

errors: No known data errors root@solaris11:/datapool# ============================================= root@solaris11:/datapool# zfs create -V 3G datapool/swaping root@solaris11:/datapool# swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 195,2 8 2097144 2090992

/dev/zvol/dsk/datapool/swap 195.3 8 2097144 2097144 /dev/zvol/dsk/datapool/swaping 195.4 8 6291448 6291448 =================================================== .2 8 2097144 2090992 /dev/zvol/dsk/datapool/swap 195.3 8 2097144 2097144 root@solaris11:/datapool# zfs set volsize=3g datapool/swaping root@solaris11:/datapool# zfs set refreservation=3g datapool/swaping root@solaris11:/datapool# swap -a /dev/zvol/dsk/datapool/swaping root@solaris11:/datapool# swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 195.