2011/08/25

Adding a physical disk as RAID 0 using hpacucli in Debian GNU/Linux and HP DL380 G7

This webpage shows hpacucli in Linux.

To install hpacucli in Debian GNU/Linux you may add the HP's repository for the distro in /etc/apt/sources.list:

deb http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/ lucid current/non-free

Yes, I know it means Ubuntu, but it worked for me.

apt-get update
apt-get install hpacucli

Run hpacucli:

# hpacucli
HP Array Configuration Utility CLI 8.60-8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.


=>

The current situation:

=> ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 50014380102A5090)

   array A (SAS, Unused Space: 0 MB)


      logicaldrive 1 (558.9 GB, RAID 0, OK)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 600 GB, OK)

   unassigned

      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 600 GB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 600 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 600 GB, OK)
      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 600 GB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 600 GB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 50014380102A509F)

=>

I need each disk installed individualy, not mixed in arrays.

To add one physical disk as RAID 0:

=> ctrl slot=0 create type=ld drives=1I:1:2 raid=0

Then, the result is what I expected:

=> ctrl all show config                           

Smart Array P410i in Slot 0 (Embedded)    (sn: 50014380102A5090)

   array A (SAS, Unused Space: 0 MB)


      logicaldrive 1 (558.9 GB, RAID 0, OK)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 600 GB, OK)

   array B (SAS, Unused Space: 0 MB)


      logicaldrive 2 (558.9 GB, RAID 0, OK)

      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 600 GB, OK)

   unassigned

      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 600 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 600 GB, OK)
      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 600 GB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 600 GB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 50014380102A509F)

=>  
After that, you may setup LVM in minutes as this site suggests.

Nice, what powerful the console is!

No comments:

Post a Comment