Table des matières

Smart Storage Administrator CLI

ssacli is commandline-based disk configuration program that helps you configure, manage, diagnose, and monitor HPE ProLiant Smart Array Controllers and now other storage devices as well, such as host bus adapters (HBAs), HPE Storage controllers, and future devices such as SCSI Express drives, and SAS switch devices

Install ssacli

On CentOS

[mcp]
name=Management Component Pack
baseurl=http://downloads.linux.hpe.com/repo/mcp/centps/7.4Server/x86_64/current
enabled=1
gpgcheck=1

Utilisation ssacli

Note: il est possible d'utiliser un shell ssacli (en appelant simplement ssacli) ou d'envoyer des commandes au shell ssacli directement (ssacli <command>).

Les disques physiques (physicaldisk ou pd) sont organisé en disques logiques (logicaldisk ou ld) au sein d'array dans un controller (ou ctrl).

Un controler peut être identifié par un numéro de slot (ctrl slot=0)

ssacli controller slot=<controller-number> physicaldrive all show

Remove disks

As we do not use the RAID array, each array contains a single disk. So to remove the physical disk, we remove the logical disk from an array. This will delete the array the disk belongs to.

:!: You remove a physical disk and you delete a logical disk.

# List the logical disks
ctrl slot=0 ld all show

# Delete the logical disk
ctrl slot=0 ld 3 delete