ข่าว: ข่าวประกาศ

  • 20 เมษายน 2024, 03:09:55

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ผู้เขียน หัวข้อ: LSI SAS 9211-8i ใช้งานกับ SmartCafe Z  (อ่าน 9057 ครั้ง)

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
LSI SAS 9211-8i ใช้งานกับ SmartCafe Z
« เมื่อ: 05 สิงหาคม 2013, 20:41:42 »


เป็น RAID Card ที่เป็น HW RAID ราคาประหยัด เนื่องจากว่าจะทำได้แค่ RAID 0 และ 1 เท่านั้น (จริงๆก็มี 1Eกับ 10 ด้วย)

เพราะใช้งานจริง ๆ เราก็ใช้แต่ RAID0 เท่านั้น (ขอขอบคุณรูปภาพจาก SixColo ผู้สนับสนุน RAID Card ที่ใช้ในการทดสอบ)

ในชุดก็จะมีมาให้ครบ ทั้งตัวการ์ด สาย  เหล็กสั้นสำหรับ case แบบ Rack และก็คู่มือกับแผ่น Driver (พร้อมกับรูปหน้าคุณป้อ บนตัวกล่อง  อิอิ)

ลักษณะหน้าตาของการ์ด



ตอนติดตั้งไม่ได้ถ่ายรูปมานะครับ เนื่องจากส่งให้ลูกค้าติดตั้ง แล้วก็ Remote Config เลยไม่มีภาพตอนติดตั้งมาให้ชมกัน

ตัวอย่างที่ลูกค้าติดตั้ง

OS = HDD 250GB  (ต่อกับ SATA Onboard)
Master = SSD 256GB x 2 (ต่อผ่าน RAID Card)
COW+Snapshot = SSD 128GB x 2 (ต่อผ่าน RAID Card)

รองรับเครื่องลูกข่ายทั้งหมด 60 เครื่อง

เมื่อทำการติดตั้งการ์ดลงบน SmartCafe Z แล้ว ใช้คำสั่ง lspci จะมองเห็นเป็น

08:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

SAS2008 ก็คือ Chip ที่ใช้กับตัวการ์ด LSI 9211-8i

เสร็จแล้วก็ทำการติดตั้ง Package sas2ircu และ sas2ircu-status จากเวป

http://hwraid.le-vert.net/wiki/DebianPackages

ก็จะสามารถใช้คำสั่ง command ในการตรวจสอบสถานะของการ์ดได้

ใช้คำสั่ง sas2ircu list เช็คว่ามองเห็นการ์ด หรือยัง

# sas2ircu list
LSI Corporation SAS2 IR Configuration Utility.
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2009-2013 LSI Corporation. All rights reserved.


         Adapter      Vendor  Device                       SubSys  SubSys
 Index    Type          ID      ID    Pci Address          Ven ID  Dev ID
 -----  ------------  ------  ------  -----------------    ------  ------
   0     SAS2008     1000h    72h   00h:08h:00h:00h      1000h   3020h
SAS2IRCU: Utility Completed Successfully.

จะเห็นว่า การ์ด อยู่ในลำดับ index 0 (มีอยู่อันเดียว)

ใช้คำสั่ง sas2ircu 0 display ดูสถานะของการ์ด

# sas2ircu 0 display
LSI Corporation SAS2 IR Configuration Utility.
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2009-2013 LSI Corporation. All rights reserved.

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2008
  BIOS version                            : 7.31.00.00
  Firmware version                        : 16.00.00.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 255
  Concurrent commands supported           : 1720
  Slot                                    : 1
  Segment                                 : 0
  Bus                                     : 8
  Device                                  : 0
  Function                                : 0
  RAID Support                            : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
  Volume ID                               : 285
  Status of volume                        : Okay (OKY)
  Volume wwid                             : 03e9b3e62b0680d8
  RAID level                              : RAID0
  Size (in MB)                            : 242232
  Physical hard disks                     :
  PHY[0] Enclosure#/Slot#                 : 1:4
  PHY[1] Enclosure#/Slot#                 : 1:5
IR volume 2
  Volume ID                               : 286
  Status of volume                        : Okay (OKY)
  Volume wwid                             : 006889a5bf87d6c1
  RAID level                              : RAID0
  Size (in MB)                            : 486372
  Physical hard disks                     :
  PHY[0] Enclosure#/Slot#                 : 1:0
  PHY[1] Enclosure#/Slot#                 : 1:1
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 0
  SAS Address                             : 4433221-1-0300-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 244198/500118191
  Manufacturer                            : ATA
  Model Number                            : PLEXTOR PX-256M5
  Firmware Revision                       : 1.03
  Serial No                               : P02313119383
  GUID                                    : N/A
  Protocol                                : SATA
  Drive Type                              : SATA_SSD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 1
  SAS Address                             : 4433221-1-0200-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 244198/500118191
  Manufacturer                            : ATA
  Model Number                            : PLEXTOR PX-256M5
  Firmware Revision                       : 1.03
  Serial No                               : P02313119658
  GUID                                    : N/A
  Protocol                                : SATA
  Drive Type                              : SATA_SSD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 4
  SAS Address                             : 4433221-1-0700-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 122104/250069679
  Manufacturer                            : ATA
  Model Number                            : PLEXTOR PX-128M5
  Firmware Revision                       : 1.04
  Serial No                               : P02319100615
  GUID                                    : 0000000000000000
  Protocol                                : SATA
  Drive Type                              : SATA_SSD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 5
  SAS Address                             : 4433221-1-0600-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 122104/250069679
  Manufacturer                            : ATA
  Model Number                            : PLEXTOR PX-128M5
  Firmware Revision                       : 1.04
  Serial No                               : P02318102891
  GUID                                    : 0000000000000000
  Protocol                                : SATA
  Drive Type                              : SATA_SSD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 500605b0:04f5f370
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

ก็จะแสดงรายละเอียดทั้งหมดออกมา

เราสามารถสร้าง RAID จาก Command Line ก็ได้ หรือจะสร้างจาก BIOS ก็ได้ (แนะนำสร้างจาก BIOS ดีกว่า ง่ายกว่า)

เมื่อสร้าง Volume RAID0 เสร็จแล้ว ตัว SmartCafe Z ก็จะมองเห็นเป็นเสมือน HDD ลูกนึง

เมื่อใช้คำสั่ง fdisk -l ก็จะได้

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d6c45

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   471621631   235809792   83  Linux
/dev/sda2       471623678   488396799     8386561    5  Extended
/dev/sda5       471623680   488396799     8386560   82  Linux swap / Solaris

Disk /dev/sdb: 254.0 GB, 253998661632 bytes
63 heads, 30 sectors/track, 262482 cylinders, total 496091136 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x7f31b4d4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   496091135   248044544   83  Linux

Disk /dev/sdc: 510.0 GB, 509998006272 bytes
186 heads, 6 sectors/track, 892553 cylinders, total 996089856 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x32334174

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048   996089855   498043904   83  Linux

ก็สามารถ format ใช้งาน raid เหมือนเป็น hdd ปกติลูกนึงได้เลย

/dev/sdb  เป็น  ssd  128GB x 2
/dev/sdc   เป็น  ssd  256GB x 2

ทดสอบความเร็ว

# hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 2504 MB in  3.00 seconds = 834.01 MB/sec


# hdparm -t /dev/sdc

/dev/sdc:
 Timing buffered disk reads: 2516 MB in  3.00 seconds = 838.29 MB/sec

ได้ความเร็วประมาณ 830MB/s  สำหรับ RAID0 SSD SATA3

ทำการ zimgcopy.sh ตัวต้นฉบับ Master ที่เป็น HDD 500GB ลง RAID0 Master (ข้อมูลประมาณ 300GB)

ใช้เวลา 1 ชม ก็เสร็จเรียบร้อย
« แก้ไขครั้งสุดท้าย: 05 สิงหาคม 2013, 22:37:31 โดย admin »
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

ramjj

  • Customer Lv.4
  • Sr. Member
  • *****
  • กระทู้: 325
    • ดูรายละเอียด
Re: LSI SAS 9211-8i ใช้งานกับ SmartCafe Z
« ตอบกลับ #1 เมื่อ: 15 กันยายน 2013, 09:28:00 »
hdparm -Tt /dev/md0

/dev/md0:
 Timing cached reads:   26918 MB in  2.00 seconds = 13473.52 MB/sec
 Timing buffered disk reads: 5090 MB in  3.00 seconds = 1696.40 MB/sec
 
ทดสอบ LSI SAS 9211-8i firmware IT Ver.17
mdadm raid0 4xssd 

ตัวการ์ดร้อนมากครับ ใครจะซื้อมาใช้เตรียมพัดลมไว้ด้วย  ;D