HP Smart Array CLI commands on ESXi | Kalle’s playground

Show configuration

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config

Controller status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show status

Show detailed controller information for all controllers

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show detail

Show detailed controller information for controller in slot 0

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 show detail

Rescan for New Devices

/opt/smartstorageadmin/ssacli/bin/ssacli rescan

Physical disk status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show status

Show detailed physical disk information

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show detail

Logical disk status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld all show status

View Detailed Logical Drive Status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 show

(more…)

How to extract substring in Bash – nixCraft

Extract substring in Bash

The syntax is:

 
## syntax ##
${parameter:offset:length}

The substring expansion is a bash feature. It expands to up to length characters of the value of parameter starting at the character specified by offset. For example, $u defined as follows:

 
## define var named u ##
u="this is a test"

The following substring parameter expansion performs substring extraction:

 
var="${u:10:4}"
echo "${var}"
var="${u:10:4}"
echo "${var}"

Sample outputs:

 
test

Where numbers represents,
10 : The offset
4 : The length

(more…)

Quiet ML350 G6 – It is possible

I recently purchased a used ML350-G6 from eBay, to replace the aging server I run that currently hosts Microsoft SBS2011 I bought this machine because it met a number of criteria, reasonably powerf…

Source: Quiet ML350 G6 – It is possible

 

(more…)

Bad Behavior has blocked 4 access attempts in the last 7 days.