Hajime Akashi's Weblog
なんとなく core dump
アーカイブ
« 7月 2006 »
      
1
2
3
4
5
6
7
8
9
10
11
13
14
15
16
17
18
19
20
22
23
24
25
26
27
28
29
30
31
     
今日
XML
Search

リンク

The requested Bookmark Folder does not exist: Blogroll

 
The requested Bookmark Folder does not exist: Links
 

Today's Page Hits: 215

    
« 前の日(Jul月 10日, 2006年) | 日付別メイン | 次の日(Jul月 12日, 2006年) »
20060712 2006年 7月 12日 水曜日
LAN Free Backup (1)

こんにちは、あかぴんです。

1 筐体のストレージに Windows NTFS の領域と SPARC/Solaris UFS 領域を
作成し、その Snap Shot Volume (RV) を SPARC/Solaris マシンでバック
アップできるか試してみました。

イメージしている構成は以下のような感じです。

fig
Google さんに問い合わせたところ、「 SPARC Solarisでx86 HDDを使う」に Solaris の LABEL や X86 系の MBR についての詳しい解説があり、これを読むとほぼ NG ということは 判ったのですが、ひょっとすると Solaris 10 6/06 で何とかなってないかなぁ という甘い期待をもとに検証してみました。 今回の検証では、Snap Shot 機能を持ったストレージ、テープライブラリを 用意する事ができなかったので、以下の環境で NTFS のデータが SPARC/Solaris で読めるかを確認しました。 o バックアップサーバ Sun Fire T2000 + Solaris 10 1/06 + Recommended Patch (Jun/28/06) o NTFS RV   Sun Fire X4100 の内蔵ディスクに対して Windows Server 2003 をインストールし、   このディスクを T2000 のディスクスロットに挿入。 Windows Server 2003 のディスクを作るのに、ちょっと苦労したのですが、 一通り揃ったので検証開始。 今回、サーバに対するディスクの抜き差しは、電源を落として実施しました。 まず、T2000 に Windows がインストールされた SAS のディスクをセットします。 この状態で、Solaris を起動してみたところ以下のメッセージが出力されました。
Jul  5 09:45:44 aki06 genunix: [ID 936769 kern.info] sd5 is /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0
Jul  5 09:45:44 aki06 pseudo: [ID 129642 kern.info] pseudo-device: lockstat0
Jul  5 09:45:44 aki06 genunix: [ID 936769 kern.info] lockstat0 is /pseudo/lockstat@0
Jul  5 09:45:44 aki06 scsi: [ID 107833 kern.warning] WARNING: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0 (sd5):
Jul  5 09:45:44 aki06     Corrupt label; wrong magic number
NTFS のディスクには、Solaris が認識できる Label 情報がないので 「Corrupt label; wrong magic number」というメッセージが出力され ています。 この状態で devfsadm してみると、slice デバイスだけが作成されました。
# ls -al c1t3*
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s0 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:a,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s1 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:b,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s2 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:c,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s3 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:d,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s4 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:e,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s5 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:f,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s6 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:g,raw
lrwxrwxrwx   1 root     root          69 Jul  5 10:38 c1t3d0s7 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0:h,raw
fdisk Partition デバイスができていないので、ヤな感じはしていたのですが、 とりあえずデバイスが作成できたので、dd で /dev/rdsk/c1t2d0s2 にアクセス。 結果は、情報通り I/O エラー発生。
# dd if=/dev/rdsk/c1t3d0s2 of=/dev/null
dd: /dev/rdsk/c1t3d0s2: open: I/O error
label がないので sd ドライバがディスクのどこにアクセスしてよいのか判らない のが原因です。(というか label が読めないので I/O エラー) SPARC/Solaris 稼働マシンの内蔵ディスクに対しては、fdisk も出来ないと man に書いてあり、これも試したところ、悲しい結果に終わりました。
# fdisk /dev/rdsk/c1t3d0s2
Error in ioctl DKIOCGMBOOT: Invalid argument
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.

Please answer with "y" or "n": y
fdisk: Error in ioctl DKIOCSMBOOT on /dev/rdsk/c1t3d0s2.
今回のような構成では、以下のイメージのように、NTFS 領域のバックアップ用に Windows マシン、SPARC/Solaris UFS 領域のバックアップ用に SPARC/Solaris マシンを用意する必要があります。これに加え、テープライブラリの制御に NetBackup 等がとなります。
fig
NTFS 領域のバックアップには X86/Linux マシンでも良いという情報もありますが、 こちらについては私のほうでは検証できていません。 次回は、SPARC/Solaris ではなく x86/Solaris だった場合について書いてみたいと思います。 それでは。

7月 12日 2006年, 07:16:46 午前 JST Permalink 投稿されたコメント [0]