Sun 関係覚え書き

Sun CoolThred Server(Sun SPARC Enterprise T1000 や T2000 などは 標準でハードウェア RAID をサポートしている.

その設定の仕方.

構築

ハードウェア RAID の設定

1) インストール DVD やネットワークで起動する

2) RAID1 ミラーを作るときには

 # raidctl -c -r1 c0t0d0 c0t1d0                                                

とコマンドを打つ.

3) 確認は

 # raidctl -l c0t0d0
 Volume              Size   Stripe Status  Cache  RAID
        Sub                 Size                  Level 
              Disk                                                             
 ------------------------------------------------------                        
 c0t0d0              68.3G  N/A    OPTIMAL OFF    RAID1                        
              0.0.0  68.3G         GOOD                                        
              0.1.0  68.3G         GOOD                                        

古い Solaris10 だと

 # raidctl                                                                     
 RAID    Volume  RAID            RAID            Disk                          
 Volume  Type    Status          Disk            Status                        
 ------------------------------------------------------                        
 c0t2d0  IS      OK              c0t2d0          OK                            
                                 c0t3d0          OK                            
 c0t0d0  IM      RESYNCING       c0t0d0          OK                            
                                 c0t1d0          OK                            

だけで可能だったが,いろいろオプションが増えて, 前者のようになったようだ.


ディスクラベルを書き込めない

Solaris 10 10/09 において RAID 1 を構築後, ディスクラベルを書き込めない

対策は, Solaris 10 10/09 の DVD からシングルユーザモーでたち上げ, 対象ディスクに対して,SMI ラベル,EFI ラベル,SMI ラベルと いう順でラベルづけを行う.

次のような操作(例)

# format -e   (e はエキスパートモード)
Searching for disks...WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
      Corrupt label - bad geometry
      Label says 286718976 blocks; Drive says 286607360 blocks
c1t0d0: configured with capacity of 136.49GB
AVAILABLE DISK SELECTIONS:
     0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
        /pci@0/pci@0/pci@2/scsi@0/sd@0,0

Specify disk (enter its number): 0
selecting c1t0d0

Disk not labeled.  Label it now? yes
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
       Corrupt label - bad geometry

Warning: error writing VTOC.
Warning: no backup labels
Write label failed

format> label
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
       Corrupt label - bad geometry

[0] SMI Label
[1] EFI Label
Specify Label type[0]: 0
Label says 286718976 blocks; Drive says 286607360 blocks
Ready to label disk, continue? yes

Label failed.

format> label
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
       Corrupt label - bad geometry

[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Label says 286718976 blocks; Drive says 286607360 blocks
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.

format> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Auto configuration via format.dat[no]? yes

Geometry: 16 heads, 273 sectors 65535 cylinders result in 286256880
out of 286607360 blocks.
Do you want to modify the device geometry[no]? yes
Number of heads[16]:
Number of sectors per track[273]:
Number of cylinders[65535]:

Geometry: 16 heads, 273 sectors 65535 cylinders result in 286256880
out of 286607360 blocks.
Do you want to modify the device geometry[no]?

format> disk

AVAILABLE DISK SELECTIONS:
     0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
        /pci@0/pci@0/pci@2/scsi@0/sd@0,0
Specify disk (enter its number)[0]: 0
selecting c1t0d0
[disk formatted]

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-08-02 (月) 23:01:59