ATTOのRAIDカードR644をLinuxで使う場合のメモ
ATTOのRAIDカードをLinuxで使うやり方はネット上にあまり情報がない。
またマニュアルがやたらとわかりづらいので、実行したことをメモする。
1. 環境
- カード: ATTO R644
- OS: CentOS7
2. ツール・ドライバーのインストール
6Gb ExpressSAS® SAS/SATA RAID Downloadsからダウンロードできる。
種類 | ファイル名 | バージョン |
---|---|---|
Driver | lnx_drv_esasraid2_271.tgz | 2.71 |
Firmware | lnx_fls_esasraid2_171023.tgz | 2017_10_23 |
設定ツール | lnx_app_configtool_429.tgz | 4.29 |
3. インストール
3.1. Driver
tar xvf lnx_drv_esasraid2_271.tgz
をすると次のファイルが確認できる。
Makefile cli_install.sh readme.html uninstall.sh
cli install.sh src
readme.htmlの内容にしたがってinstall.sh
を実行する
install.shがcli_install.shを呼び出す構造になっている。
(知らないでcli_install.shを実行した)
実行すると次のようなログが表示される
-
/lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/scsi/esas2raid.ko
にドライバーがインストールされる - /usr/local/sbinに次のコマンドが導入される
- atflash
- atinfo
- atraidcli
- atsasnvr
./install.sh
ATTO Technology, Inc.
Linux Driver Install Script v2.64
Building and installing the ATTO ExpressSAS 6Gb RAID driver, please wait...
Successfully installed the ExpressSAS 6Gb RAID driver
Would you like to load the driver now? [Y/n]
y
Please wait a moment while the driver loads...
The esas2raid driver has been loaded
ATTO Technology, Inc.
CLI Tool Install Script v1.2
This script will install ATTO CLI tools on your system:
Are you sure you want to proceed [Y/n]?
Tool Installation Directory [/usr/local/sbin]:
A version of atflash is already installed in
/usr/local/sbin/atflash: Controller Flash Update Tool 1.10.
This package will install Controller Flash Update Tool 1.10
Are you sure you want to proceed [Y/n]?
installing atflash
A version of atinfo is already installed in
/usr/local/sbin/atinfo: Product Information Tool 1.19.
This package will install Product Information Tool 1.19
Are you sure you want to proceed [Y/n]? y
installing atinfo
A version of atraidcli is already installed in
/usr/local/sbin/atraidcli: RAID CLI Tool 1.08.
This package will install RAID CLI Tool 1.08
Are you sure you want to proceed [Y/n]? y
installing atraidcli
A version of atsasnvr is already installed in
/usr/local/sbin/atsasnvr: SAS NVRAM Tool 1.15.
This package will install SAS NVRAM Tool 1.15
Are you sure you want to proceed [Y/n]? y
installing atsasnvr
Installation of ATTO CLI tools is complete.
Press any key to finish...
#
./cli_install.shのログ
# ./cli_install.sh
ATTO Technology, Inc.
CLI Tool Install Script v1.2
This script will install ATTO CLI tools on your system:
Are you sure you want to proceed [Y/n]?
Tool Installation Directory [/usr/local/sbin]:
installing atflash
installing atinfo
installing atraidcli
installing atsasnvr
Installation of ATTO CLI tools is complete.
3.2. 設定ツール
tar xvf lnx_app_configtool_429.tgz
をすると展開されたファイルの中にConfigTool_429.bin
というファイルが見つかる
これを実行する
# ./ConfigTool_429.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Graphical installers are not supported by the VM. The console mode will be used instead...
===============================================================================
ATTO ConfigTool v4.29 (created with InstallAnywhere)
-------------------------------------------------------------------------------
Preparing CONSOLE Mode Installation...
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
4. ユーティリティの起動
4.1. GUI
/usr/bin/attoconfig/configtool
を実行すると、Xのアプリケーションが起動する
4.2. CLI
atraidcliを使う模様
5. ファームウェアのアップデート
lnx_fls_esasraid2_171023.tgz
を展開すると次のようなファイルが見つかる
中身についての説明がないので何がなんだかわからない。
-
fls_bios_esasraid2_2017_10_23
-
fls_efi32_esasraid2_2017_10_23
-
fls_efi64_esasraid2_2017_10_23
-
ReadMe.htm
-
/usr/bin/attoconfig/configtool
を起動してFirmwareタブにを開きBrowseボタンを押す。 -
上記ファイルを選択する。(
fls_bios_esasraid2_2017_10_23
) -
Updateボタンを押す
-
OSを再起動する
/usr/local/sbin/atinfo -i all
######################################################################
Channel 1: ATTO ExpressSAS R644
######################################################################
Node Address: XX:XX:XX:XX:XX:XX:XX:XX
PCI Vendor ID: 117C
PCI Device ID: 0049
PCI Subsystem Vendor ID: 117C
PCI Subsystem Device ID: 004D
PCI Location: 4.0.0
PCI Class Code: 010400
PCI Revision ID: 02
Current PCI Link Width: x4
Maximum PCI Link Width: x8
Current PCI Link Speed: 5 GT/s
Maximum PCI Link Speed: 5 GT/s
Interrupt Mode: MSI
MSI Vector Count: 1
MSI I/O Vector Count: N/A
Driver Name: esas2raid
Driver Version: 2.71
Firmware Version: 2.10
Flash Version: 02/11/2011 (BIOS)
Controller State: Operational
No devices found.
No logical units found.
/usr/local/sbin/atinfo -i all
######################################################################
Channel 1: ATTO ExpressSAS R644
######################################################################
Node Address: XX:XX:XX:XX:XX:XX:XX:XX
PCI Vendor ID: 117C
PCI Device ID: 0049
PCI Subsystem Vendor ID: 117C
PCI Subsystem Device ID: 004D
PCI Location: 4.0.0
PCI Class Code: 010400
PCI Revision ID: 02
Current PCI Link Width: x4
Maximum PCI Link Width: x8
Current PCI Link Speed: 5 GT/s
Maximum PCI Link Speed: 5 GT/s
Interrupt Mode: MSI
MSI Vector Count: 1
MSI I/O Vector Count: N/A
Driver Name: esas2raid
Driver Version: 2.71
Firmware Version: 4.43
Flash Version: 10/23/2017 (BIOS)
Controller State: Operational
B:T Port Address Node Address
----- ----------------------- -----------------------
0:0 50:01:08:60:00:51:E7:D8
0:3 N/A