SSACLI  New Array

 

Start des ssacli Programs:

 

# ssacli
Smart Storage Administrator CLI 5.20.8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=>


Der Interaktive Modus ist damit gestartet.


 

Abfrage der Platten und deren Nutzung:

 

=> controller slot=0 pd all show

Smart Array P440ar in Slot 0 (Embedded)

   Array A

      physicaldrive 2I:3:5 (port 2I:box 3:bay 5, SAS HDD, 900 GB, OK)
      physicaldrive 2I:3:6 (port 2I:box 3:bay 6, SAS HDD, 900 GB, OK)

Unassigned

      physicaldrive 2I:3:7 (port 2I:box 3:bay 7, SAS HDD, 300 GB, OK)
      physicaldrive 2I:3:8 (port 2I:box 3:bay 8, SAS HDD, 300 GB, OK)

 


 

Es soll nun mit den zwei ungenutzten Platten, physicaldrive 2I:3:7 und 2I:3:8 , ein neues Array angelegt werden.

Im Array sollen zwei logische Platten (logicaldrive) angelegt werden :

Logicaldrive Setup
logicaldrive RAID Größe
1 1 50GB
2 0 100GB

 

 

 

 

1.) Anlegen des Arrays durch das erste Volume

 

Das Anlegen eines neues Arrays erfolgt automatisch mit der Erzeugung des ersten logicaldrives.

 

=> ctrl slot=0 create type=ld raid=1 size=51200 drives=2I:3:7,2I:3:8

=> controller slot=0 pd all show

Smart Array P440ar in Slot 0 (Embedded)

   Array A

      physicaldrive 2I:3:5 (port 2I:box 3:bay 5, SAS HDD, 900 GB, OK)
      physicaldrive 2I:3:6 (port 2I:box 3:bay 6, SAS HDD, 900 GB, OK)

   Array B

      physicaldrive 2I:3:7 (port 2I:box 3:bay 7, SAS HDD, 300 GB, OK)
      physicaldrive 2I:3:8 (port 2I:box 3:bay 8, SAS HDD, 300 GB, OK)


=> controller slot=0 ld all show

Smart Array P440ar in Slot 0 (Embedded)

   Array A

      logicaldrive 1 (50.00 GB, RAID 1, OK)

   Array B

      logicaldrive 2 (50.00 GB, RAID 1, OK)



2.) Anlegen des zweiten Volumes


=> ctrl slot=0 create type=ld raid=0 size=120000 drives=2I:3:7,2I:3:8


oder


=> ctrl slot=0 Array B create type=ld raid=0 size=120000


=> controller slot=0 array B ld all show

Smart Array P440ar in Slot 0 (Embedded)

   Array B

      logicaldrive 2 (50.00 GB, RAID 1, OK)
      logicaldrive 3 (117.18 GB, RAID 0, OK)

 


3.) Eigenschaften der zwei Volumes


=> controller slot=0 array B ld 2 show

Smart Array P440ar in Slot 0 (Embedded)

   Array B

      Logical Drive: 2
         Size: 50.00 GB
         Fault Tolerance: 1
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 12850
         Strip Size: 256 KB
         Full Stripe Size: 256 KB
         Status: OK
         Unrecoverable Media Errors: None
         MultiDomain Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C002BC6757BEE4B2BCBAC
         Disk Name: /dev/sdb
         Mount Points: None
         Logical Drive Label: Logical Drive 2
         Mirror Group 1:
            physicaldrive 2I:3:7 (port 2I:box 3:bay 7, SAS HDD, 300 GB, OK)
         Mirror Group 2:
            physicaldrive 2I:3:8 (port 2I:box 3:bay 8, SAS HDD, 300 GB, OK)
         Drive Type: Data
         LD Acceleration Method: Controller Cache



=> controller slot=0 array B ld 3 show

Smart Array P440ar in Slot 0 (Embedded)

   Array B

      Logical Drive: 3
         Size: 117.18 GB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 30117
         Strip Size: 256 KB
         Full Stripe Size: 512 KB
         Status: OK
         MultiDomain Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C9CF1F27029C3681545AE
         Disk Name: /dev/sdc
         Mount Points: None
         Logical Drive Label: Logical Drive 3
         Drive Type: Data
         LD Acceleration Method: Controller Cache