2006年3月アーカイブ

NetBSD iSCSI Target

以前、エントリした NetBSD に実装された iSCSI target は、userland で動作するとのことで、cvs から source だけ持ってきて、Solaris 10 u1 な環境にぶち込んで見ようかと。

config.h の changelog
--
Revision 1.6 / (download) - annotate - [selected], Mon Mar 27 22:26:28 2006 UTC (3 days, 11 hours ago) by agc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored)

Add changes to make the NetBSD iSCSI target compile and run on Solaris 9Ultrasparc.
--

source の持ってき方
--
$ CVSROOT=:pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot; export CVSROOT
$ cvs login
$ cvs checkout -P src/dist/iscsi
--

configure でさくっと Makefile ができる。make すると -pthread option が使えないとうるさいけど、とりあえず無視しとく。
あらら、さくっとできちゃった。
src/etc/targets をいじって /etc/iscsi/tagets に放り込む。

でもって、iscsi-target を引数なしで実行。
あらら、うごいちゃいましたよ。

iscsi-target machine (Solaris 10 u1)
--
# ./iscsi-target
Reading configuration from `/etc/iscsi/targets'
target0:rw:192.168.0.0/24
extent0:/usr/tmp/iscsi-target0:0:104857600
DISK: 1 logical units (204800 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: 100 MB disk storage for "target0"
TARGET: TargetName is iqn.1994-04.org.netbsd.iscsi-target, via Address Family IPv4 on port 3260
--

おお!なんか、それっぽい。

iscsi-initiator machine 側 (OpenSolaris 20060313) の iscsiadm で、sendtarget で target を見つけるように設定し、devfsadm -c iscsi を実行。
・・・・
なんか、応答かえってきませんねー。
dmesg を見てみる。
--
Mar 31 17:31:58 auge genunix: [ID 892060 kern.warning] WARNING: Page83 data not standards compliant NetBSD NetBSD/Intel iS 0
Mar 31 17:31:58 auge iscsi: [ID 248668 kern.warning] WARNING: iscsi driver unable to online iqn.1994-04.org.netbsd.iscsi-target:target0 lun
--
こんなメッセージが延々と出続けて、どんどん CPU を食いつくしていきました orz
syslogd がメッセージをものすごい勢いで吐き出している模様。

そんな中、なんとかiostat -En とか実行してみると
--
sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: NetBSD Product: NetBSD/Intel iS Revision: 0 Serial No: Size: 0.10GB <104857600 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd2 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: NetBSD Product: NetBSD/Intel iS Revision: 0 Serial No: Size: 0.10GB <104857600 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
--
むむ。
とりあえず、設定を解除して reboot で終了。
ちょっと、あさはかすぎましたね。


BrandZ (Solaris Containers for Linux Applications) DVD 35

| トラックバック(0)

BrandZ が含まれる Nevada b35 の DVD image が公開されてます。
もちろん、x86 のみ。
http://www.sun.com/download/products.xml?id=44247cfd

Solaris Express 3/06 Software:

| トラックバック(0)

リリースされてましたね。Nevada b34 です。
http://www.sun.com/software/solaris/solaris-express/get.jsp

New Features in Solaris Express 3/06
http://docs.sun.com/app/docs/doc/819-2183/6n4g726uc?a=view

お、non-global zone の移動と cloning がサポートされてますね。

LSI Logic SAS3442X-R PCI-X, 3Gb/s, SAS, 8-port Host Bus Adapter

| トラックバック(0)

SAS3442X の RAID 機能搭載版がやっとリリースされたようでし。
こっちでは、あらたに RAID 10E なんてものが利用できるのですか。
高そうだな・・・

http://www.lsilogic.com/products/sas_hbas/sas3442x_r.html

こんなにかんたん!BFU

| トラックバック(0)

というタイトルで、何も考えずに BFU をしてみるという資料を作ったので置いときます。
ほんと、簡単ですよ。

OpenSolaris_BFU.pdf

PSARC 2005/441 iSCSI Target Project

| トラックバック(0)

iSCSI Target を実装する project が approve されてるのですね。
早くリリースされないかなー。
http://www.opensolaris.org/os/community/arc/caselog/2005/441/

大原雄介の「Sun Ultra 20 Workstation」レポート(4)

| トラックバック(0)

4 回目。そして、最終回。
samba と OpenGL 追試って・・・
Windows で環境整えているなら、無理して代替にする方法なんて考えなくてよいのです!
代替になるなら、とっくに(ry

http://pc.watch.impress.co.jp/docs/2006/0329/ws04.htm


zfs すごいな・・・

| トラックバック(0)

String Bean が Microsoft に買収され、WinTarget 単体製品も提供しないようなので iSCSI に関しては、意気消沈気味で。
で、逃避とばかりに、SAS3442X に接続された T7K250 x2 台に zfs を作成して遊んでみる。
#Nevada b33 for SPARC

--
# zpool create -f mypool c2t8d0s0 c2t11d0s0
# cd /mypool
# ptime mkfile 1g 1g

real 11.618
user 0.019
sys 3.325
--

( ゜Д゜)ポカーン

なんですか、この速さ。


--
# zpool iostat -v
capacity operations bandwidth
pool used avail read write read write
----------- ----- ----- ----- ----- ----- -----
mypool 1.00G 463G 2 7 279K 880K
c2t8d0s0 513M 231G 1 3 137K 440K
c2t11d0s0 514M 231G 1 3 141K 440K
----------- ----- ----- ----- ----- ----- -----

create 時、特に何も指定しなければ striping みたいな構成になるのね。

Ultra 45

| トラックバック(0)

ようやく日本でも、「新しい時代が始まる」なんて、ものすごいコピー (((( ;゜Д゜)))ガクガクブルブルで Ultra 45 が発表されますた。
framebuffer が、XVR-100 (PCI) か XVR-2500 (PCI-Express) しかないっつーのが・・・


つか、今日は、さとうのお誕生日(・∀・)でもあるのですが、これは、買ってしまえ!と神様も言っているのでしょうか。
無理です。買えません orz
家に帰ったら、届いてたりしないかなー(´・ω・`)

http://jp.sun.com/products/desktop/ws/ultra45/specs.html

NetBSD iSCSI Status and HOWTOs

| トラックバック(0)

NetBSD も iSCSI Target と Initiator を実装したらすぃ。
Solaris の Software Target はまだでつか?

http://www.netbsd.org/Changes/#iscsi-target

ガッデム!
Software な iSCSI Target を色々と試している中、一番具合のよかったのが
String Bean Software 社の WinTarget でし。
これをネタに、某記事を書いていたのですが・・・
あれ?デモ版が落とせなくなってますよ・・・

トップページを見ると
--
String Bean Software's WinTargetTM acquired by Microsoft Corporation. For more information, visit www.microsoft.com/storage.
--

ウワァァァァァァヽ(`Д´)ノァァァァァァン!

Microsoft め!
なかなか、見所ありますねw

さて、どうなることでしょうか(´・ω・`)
個人的には、WinTarget を販売し続けてほしいなと。
#Ultra 20(Windows) <--> Blade 1000 (e1000g) な環境で、ptime mkfile 1g 1g が 34秒弱でした。
  ディスクが、Seagate の 80G なんだけど、これをT7K250 とかに変えたらもうちょっと早くなる
  悪寒。ちなみに、Jumbo Frame 9k でし。

GCC For SPARC(tm) Systems 4.0.2

| トラックバック(0)

Sun から、2 つのパッケージがリリースされました。

  GCC For SPARC(tm) Systems 4.0.2
  Sun Code Generator For SPARC Systems

GCC 4.0.2 は、source も一緒に配布されているので、Sun が手を入れているのかな?まだみてないです。
Sun Code Generator は、binary を解析、オプティマイズできるツールのようでし。

--
$ ./gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: /export/home/bldmstr/nightly/20060207_gcc2ir.s10.opt.tarbuild/src/configure --prefix=/opt/gcc --enable-languages=c,c++
Thread model: posix
gcc version 4.0.2 (gccfss)
--

  http://www.sun.com/download/products.xml?id=43fb4c75

Solaris 10 1/06 Installation Guide

| トラックバック(0)

中の人から、Solaris 10 1/06 Installation Guide が公開されました。
現在、さとうが知る中で

最強のインストールガイド

です(`・ω・´)シャキーン

http://blogs.sun.com/roller/page/sasanuma/20060301

Solaris の iSCSI Initiator

| トラックバック(0)

Solaris 10 1/06 から(正確には、Solaris 10 HW2 から) iSCSI initiator がサポート
されました。
Solaris が iSCSI target になって欲しいところですが、そんなもん簡単に手に入るわけもなく・・・
Windwos 上で iSCSI Target を実現する software を使ってみることにしました。

というわけで、まずは、DataCore SoftwareSANmelody を試してみました。
SANmelody は、iSCSI Host Bus Adapter がなくても、iSCSI 環境を構築できる
software target です。
売り物ですが、お試し版もあります。
SANmelody Lite なんかは、US $199 なので、動いたら買ってみてもいいかなとか思ったり・・・
つか、Solaris の Alternate Passing に対応しているんでつね。

で、結果ですが、敗北です。auto discovery で、target name は見つけてこれるのですが
SANmelody 側に、Solaris の initiator を登録することができません(´・ω・`)
SANmelody は、アクセス(logon?)してきた initiator を自動的に見つけて、その initiator
を登録してあげることで Volume を割り当てることができるのですが、Solaris で logon?
する方法がわかりませんですた orz

また、Microsoft は、Windows に initiator 機能を実装する iSCSI Software Initiator v2.0
提供しています。
試しに、これを使ってみたところ、サクッと接続できてしまいました。
#Initiator 側からは、物理的に接続しているディスクとして見えます。

Winterget と StarWind も試してみたいところでし。

メモ:Going Enterprise - setup your FC4 iSCSI target in 5 minutes
http://fedoranews.org/mediawiki/index.php/Going_Enterprise_-_setup_your_FC4_iSCSI_target_in_5_minutes

メモ: Nevada の iscsiadm が enhance されてるらしい。man が pdf で公開されている。
http://blogs.sun.com/roller/page/dweibel

: Twitter Updates

    follow me on Twitter

    ウェブページ

    タグクラウド

    Techonrati

    Technorati search

    » リンクしているブログ

    Powered by Movable Type 4.23-ja