<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11356004\x26blogName\x3dxception\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://openrent.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://openrent.blogspot.com/\x26vt\x3d-4655156434419967503', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Creating logical drives on HP servers at the CLI

Here's is how you create new logical drives on an HP server from the Linux command-line. The "Hpacucli" tool is installed as part of the HP PSP.
1) Show all controllers on the server:
$ hpacucli controller all show

Smart Array 6i in Slot 0

2) Show the status of the controller:
$ hpacucli controller all show status

Smart Array 6i in Slot 0
Controller Status: OK
Cache Status: OK

3) Show all physical drives:
$ hpacucli ctrl slot=0 pd all show

Smart Array 6i in Slot 0

array A
physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 36.4 GB, OK)

unassigned
physicaldrive 2:2 (port 2:id 2 , Parallel SCSI, 300 GB, OK)
physicaldrive 2:3 (port 2:id 3 , Parallel SCSI, 300 GB, OK)

4) Create a new RAID1 logical drive on the unassigned physical drives.
$ hpacucli ctrl slot=0 create type=ld drives=2:2,2:3 raid=1+0

[Note: All usable drive space will be used by default.]


5) Show the status of all logical drives:
$ hpacucli ctrl slot=0 logicaldrive all show status

logicaldrive 1 (33.9 GB, 1+0): Ok
logicaldrive 2 (279 GB, 1+0): Ok

6) Show all defined arrays:
$ hpacucli ctrl slot=0 logicaldrive all show

Smart Array 6i in Slot 0

array A
logicaldrive 1 (33.9 GB, RAID 1+0, OK)

array B
logicaldrive 2 (279 GB, RAID 1+0, OK)