clothingkerop.blogg.se

Centos hp cciss
Centos hp cciss








fdisk will list (-l option) all drives detected in the system. To verify that the new logical drive was detected by Linux, execute the following command. The 2 TB logical drive is only 1,8 TiB as the raid controller shows. This means that 1 TB is calculated by the decimal “1.000.000.000.000 bytes” while TiB as the operating system is calculating it is calculated binary by 1024 and contains “1.099.511.627.776 bytes”. As RAID 5 loses the capacity of one disc in the logical drive size, the result of 3 drives with 1 TB results in a logical drive with 2 TB capacity.Īs disk manufacturers specify the drive size in TB while most operating system calculate in TiB.

#Centos hp cciss full size#

$ hpacucli controller slot=1 show configĪs the output shows the RAID 5 has been created with the full size of the 3 drives. To verify the new raid, the configuration can be shown with the following command. $ hpacucli controller slot=1 create type=ld drives=1:4,1:5,1:6 raid=5 size=max $ hpacucli controller slot=1 create type=ld drives=allunassigned raid=5 size=max The first one addresses all unassigned drives while the second one is addressing them directly but the result will be the same. With the 3 unassigned drives, a RAID 5 with their full capacity can be created with one of the following commands. The size is in MB but it is also possible to specify it as “max” which will use the maximum size possible for the raid type and the drives used. The size of the logical drive to be created. The possible raid levels depends on the number of disks as the different raid levels need a different minimum number of disks. This can either be a list in the format “:,:,…” or “drives=allunassigned” which takes all unassigned disks for the raid to be created. The drives which need to be passed as a list of drives. The type of device to be created “type=ld” where ld stands for “logical drive” The create command needs additional parameters. The command “create” will instruct hpacucli to create a new raid. The command contains as usual the command “controller” and the slot of the controller. The RAID I will create on those disks will be a RAID 5. The documentation shown with “$ hpacucli help create” will assist in the creation of the RAID using the 3 unassigned disks. Physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SATA, 1 TB, OK) Physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SATA, 1 TB, OK) Physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SATA, 1 TB, OK) Physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK) Physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK) $ hpacucli controller slot=1 physicaldrive all show The output also shows the unassigned drives, as well as the drives assigned to a raid configuration. To list the physical drives connected to the controller, the command below will address the controller at “slot 1” and show “all” connected physical drives (“physicaldrive”). Smart Array P400 in Slot 1 (sn: BSLKM0I6SR74RS) The result is a list of controllers and their “slot”. This command will address “all” controllers and show their status. This can be done using the following command. To address a specific controller to create the raid, the controller “slot” needs to be determined.

centos hp cciss

Instead, the help command needs to be executed step by step to go through the documentation.

centos hp cciss

The file /opt/compaq/hpacucli/bld/hpacucli-9.40-12.0.x86_64.txt fitting the description does not contain any helpful information either. In this directory a file matching this description exists. The man page fails to state that the “VERSION” in the file name need to be replaced with the version of the utility. The man page is very short and refers to a text file at /opt/compaq/hpacucli/bld/ for documentation. HP’s utility is called “ hpacucli” which stands for the “HP Command Line Array Configuration Utility”. The following shows how this tool can be used to create a new raid. HP provides a small command line tool for this job. Configuring a new hardware raid on a HP server can be done comfortably from the Linux command line without restarting the server.








Centos hp cciss