opensolarisのsambaサーバー構築、その0.4

 先ほど作ったmytest削除して、RAIDZも動作確認。
まずは、削除。

hoge@opensolaris:/# zpool destroy -f mytest

はい、raidzプールの作成

hoge@opensolaris:/# zpool create myshare raidz c5d0 c5d1 c6d0 c6d1

状態を確認っと。

hoge@opensolaris:/# zpool iostat -v
               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
myshare      132K  1.81T      0      5    319  5.61K
  raidz1     132K  1.81T      0      5    319  5.61K
    c5d0        -      -      0      7  5.30K  59.7K
    c5d1        -      -      0      3  7.79K  59.7K
    c6d0        -      -      0      4  7.79K  59.9K
    c6d1        -      -      0      4  7.79K  59.1K
----------  -----  -----  -----  -----  -----  -----
rpool       8.69G  65.3G      1      1  77.3K  35.1K
  c4d0s0    8.69G  65.3G      1      1  77.3K  35.1K
----------  -----  -----  -----  -----  -----  -----

簡単ベンチマーク^^

hoge@opensolaris:/# cd /myshare/
hoge@opensolaris:/myshare# ptime mkfile 1g 1g

real        9.964
user        0.005
sys         0.881
hoge@opensolaris:/myshare# ptime mkfile 1g 1g

real        8.535
user        0.004
sys         0.570
hoge@opensolaris:/myshare# ptime mkfile 1g 1g

real        8.444
user        0.003
sys         0.553

P.S. 20101226
WD10EACSetcの4台で組んだraidzで、上記と同様にペンチ取ると、2倍程度遅かったw;