COMPANY SERVICE STAFF BLOG NEWS CONTACT

STAFF BLOG

スタッフブログ

TECHNICAL

テクログ

2013.01.16

Fusion-io ioDrive

テクログ

ioDrive 付きの検証機2週間提供(ID,パスワードのみの提供)頂いた時の確認結果を報告させて頂きます。

さくらインターネットは ioDrive申込み多く、しばらく検証機提供難しいと返答ありました。

検証機貸出でなくお申込みであれば、ioDriveが搭載したモデル
でも即納が可能なプランもございます。

▼エクスプレスG2シリーズ
http://server.sakura.ad.jp/dedicated/expressg2.html

検証機貸出可能かどうか、速度(ベンチマークテスト結果)、値段などは日々変化していますので
各担当営業の方にお問合わせお願いします。

貸出頂いた「専用サーバ フレックスモデル」と他サービスとの違いは下記URLをご参照ください。
http://server.sakura.ad.jp/plans.html

さくら専用サーバには、あらかじめ ioDriveのセットアップに必要なパッケージ等がインストール済みです。
管理画面の操作がとても分り易く、フォーマット+マウントするだけで、すぐに使い始める事ができました。
スムーズに ioDriveマウントの方法など理解が深まり感謝しております。
さくらインターネットの皆様ありがとうございました。

これより下は実行したコマンドを記載します。

(1) ioDriveの接続を確認
# lspci | grep -i fusion
05:00.0 Mass storage controller: Fusion-io ioDimm3 (rev 01)

(2) ioDriveのRPMパッケージを確認
# rpm -qa | grep “iomemory”
# rpm -qa | grep “fio”

(3) ioDrive 320GB のデバイス認識確認
# fio-status

Found 1 ioDrive in this system
Fusion-io driver version: 2.3.10 build 110

Adapter: ioDrive
??????? HP 320GB MLC PCIe ioDrive for ProLiant Servers, Product Number:600279-B21 SN:32926
??????? External Power: NOT connected
??????? PCIE Power limit threshold: 24.75W
??????? Sufficient power available: Unknown
??????? Connected ioDimm module:
????????? fct0: HP 320GB MLC PCIe ioDrive for ProLiant Servers, Product Number:600279-B21 SN:32926

fct0??? Attached as “fioa” (block device)
??????? HP 320GB MLC PCIe ioDrive for ProLiant Servers, Product Number:600279-B21 SN:32926
??????? Located in slot 0 Upper of ioDrive SN:32926
??????? PCI:05:00.0
??????? Firmware v5.0.7, rev 107053
??????? 322.55 GBytes block device size, 396 GBytes physical device size
??????? Sufficient power available: Unknown
??????? Internal temperature: 47.2 degC, max 47.7 degC
??????? Media status: Healthy; Reserves: 100.00%, warn at 10.00%

(4) ディスクのパーティションを確認
# /sbin/fdisk -l

Disk /dev/sda: 198.9 GB, 198910672896 bytes
255 heads, 63 sectors/track, 24182 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000010f9

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sda1?? *?????????? 1????????? 32????? 256000?? 83? Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2????????????? 32??????? 1052???? 8192000?? 82? Linux swap / Solaris
/dev/sda3??????????? 1052?????? 24183?? 185799680?? 83? Linux

Disk /dev/sdc: 478.9 GB, 478888853504 bytes
255 heads, 63 sectors/track, 58221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb: 1199.1 GB, 1199101181952 bytes
255 heads, 63 sectors/track, 145782 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/fioa: 322.6 GB, 322553184256 bytes
255 heads, 63 sectors/track, 39214 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Disk identifier: 0x00000000

(5) ディスクのパーティション作成
# fdisk /dev/fioa
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x70ee9e17.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won”t be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It”s strongly recommended to
???????? switch off the mode (command “c”) and change display units to
???????? sectors (command “u”).

Command (m for help): n
Command action
?? e?? extended
?? p?? primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-39214, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-39214, default 39214):
Using default value 39214

Command (m for help): p

Disk /dev/fioa: 322.6 GB, 322553184256 bytes
255 heads, 63 sectors/track, 39214 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Disk identifier: 0x70ee9e17

??? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/fioa1?????????????? 1?????? 39214?? 314986423+? 83? Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

(6) ディスクのパーティション確認
# cat /proc/partitions
major minor? #blocks? name

?? 8??????? 0? 194248704 sda
?? 8??????? 1???? 256000 sda1
?? 8??????? 2??? 8192000 sda2
?? 8??????? 3? 185799680 sda3
?? 8?????? 32? 467664896 sdc
?? 8?????? 16 1170997248 sdb
?252??????? 0? 314993344 fioa
?252??????? 1? 314986423 fioa1

(7) ioDriveをフォーマット【 mkfs.ext4 】コマンド
# /sbin/mkfs.ext4 /dev/fioa1

(8) マウント実施
(例)/home/www を ioDrive に割当の場合

<マウントコマンド># mount /dev/fioa1 /home/www

<マウント前確認># df -Th
Filesystem??? Type??? Size? Used Avail Use% Mounted on
/dev/sda3???? ext4??? 175G? 2.5G? 164G?? 2% /
tmpfs??????? tmpfs???? 32G???? 0?? 32G?? 0% /dev/shm
/dev/sda1???? ext4??? 243M?? 49M? 181M? 22% /boot

<マウント後確認># df -Th
Filesystem??? Type??? Size? Used Avail Use% Mounted on
/dev/sda3???? ext4??? 175G? 2.5G? 164G?? 2% /
tmpfs??????? tmpfs???? 32G???? 0?? 32G?? 0% /dev/shm
/dev/sda1???? ext4??? 243M?? 49M? 181M? 22% /boot
/dev/fioa1??? ext4??? 296G? 195M? 281G?? 1% /home/www

<マウント前確認># mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

<マウント後確認># mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/fioa1 on /home/www type ext4 (rw)

この記事を書いた人

core-corp

入社年

出身地

業務内容

特技・趣味

テクログに関する記事一覧

TOP