cancel
Showing results for 
Search instead for 
Did you mean: 

hpacucli

webdirector
Advisor

hpacucli

Hi I need help

I am new to the hp proliant DL380 G3 ( i got it cheap and want to use it as a server at home)

I have 4 HD in Raid 1 all are 72GB HD.

But I only see 72GB available as disk space. Is it correct when I assume I need to install hpacucli to add the HD or partitions ?

I was able to install hpacucli software and it looks like it is running OK. But I have not figured oiut how to add the HD ?

if I go into /dev/cciss/ I see " c0d0 c0d0p1 c0p0p2 c0p0p5 c0p1"

so what do I need to do to be able to use the c0p1. I tried with fdisk but I am unable to add it. I believe I have to use hpacucli to add the HD with but I have no idea how ? I read the "help" and the "add help" but I still do not understand

please help

I do not know if this can help:

if I do cat /proc/driver/cciss/cciss0 iget this :

cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array 5i Controller
Board ID: 0x40800e11
Firmware Version: 2.66
IRQ: 30
Logical drives: 2
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 8
Max # commands on controller since init: 21
Max SG entries since init: 31
Sequential access devices: 0

cciss/c0d0: 72.83GB RAID 1(1+0)
cciss/c0d1: 72.83GB RAID 1(1+0)


some more info:

hpacucli ctrl slot=0 physicaldrive all show

Smart Array 5i in Slot 0

array A

physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 72.8 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 72.8 GB, OK)

array B

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

Please help
16 REPLIES
webdirector
Advisor

Re: hpacucli

some more info :

when I do in hpacucli " ctrl all show config" iget :
ctrl all show config

Smart Array 5i in Slot 0 ()

array A (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 1 (67.8 GB, RAID 1+0, OK)

physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 72.8 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 72.8 GB, OK)

array B (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 2 (67.8 GB, RAID 1+0, Failed)

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

array B as logical drive failed ??
Danny Petterson - DK
Trusted Contributor

Re: hpacucli

Hi Web!

First of all - hpacucli is ONLY for making LUN's, these are done BEFORE installing the OS. Its the LUN's you see in /dev/ccis. You don't need to do anything more in here to use the disks in Linux.

Except... as you state, you have some kind of failure on Array B - but as it is a RAID-Array it should still work. A bit funny though, as both physical drives look ok. Maybe you should check it some more:

set target ctrl slot=0
ld all show
pd all show

...just to see if some more informaton is coming up.

That aside, before you continue with making any filesystems on the logical drives, check what is already used with df -h

Kind regards
Danny
webdirector
Advisor

Re: hpacucli

When I do df -h I only get this :

root@server1:/tmp# df -h
Dateisystem Gröà e Benut Verf Ben% Eingehängt auf
/dev/mapper/server1-root
64G 3,9G 57G 7% /
udev 1,9G 176K 1,9G 1% /dev
none 1,9G 0 1,9G 0% /dev/shm
none 1,9G 96K 1,9G 1% /var/run
none 1,9G 0 1,9G 0% /var/lock
none 1,9G 0 1,9G 0% /lib/init/rw
/dev/cciss/c0d0p5 228M 40M 176M 19% /boot
webdirector
Advisor

Re: hpacucli

On the system homepage I get " Logical Drive 2 - Mirroring" in status failed.

but both drives show OK

So I guess my question is how can I use the second drives ?

Thanks
Danny Petterson - DK
Trusted Contributor

Re: hpacucli

Maybe you should try to delete LD2 and create a new on.....

set target ctrl slot=0
ld 2 delete
array b create type=ld raid=1

I SUPPOSE these commands will work, this is just on the top of my head....

What Linux-dist are you using?

Steven E. Protter
Exalted Contributor

Re: hpacucli

Shalom,

I recommend installing the full version of PSP, and using the discovery tools to identify LUNS. Then the disk partitioning software built into the PSP/Insight web interface will be able to do this configuration for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
webdirector
Advisor

Re: hpacucli

Danny,

I am using Ubuntu 9.10

The "ld 2 delete" command is not working.

Steven,

I do not understand PSP what is that ?

if yu meen th "HP System Management Homepage" I have that installed but I see nowere in there where I can format the array B

could please be more specific ( remember I am new to this HP server )

Thanks
wobbe
Respected Contributor

Re: hpacucli

Hoi,

I don't think you can install the HP PSP on Ubuntu/Debian based systems. (You yould try CentOS) But if your intentions are to reconfigure the raid controlller then I suggest you try the HP Smartstart cdrom. This cd is bootable and has the array configuration utility on it. You can also hit F8 at boot time and configure the Raid tough the controllers bios. But some functions/options are not availabe trough the bios.

WB
webdirector
Advisor

Re: hpacucli

Basicaly all I want to be able to do is o use the second array of disks. I can only access array A and can not access array B.

like I said above when I am in /dev/cciss/ i see array A ( c0d0 c0d0p1 c0p0p2 c0p0p5 ) and array B ( c0d1 ) I belive I am missing the partition on array B

so I guess my question is how do I creat a partition with hpacucli ?

Thanks
wobbe
Respected Contributor

Re: hpacucli

Then forget about hpacucli, if I remember correctly it is a .rpm installer, and those are no good for Ubuntu.
webdirector
Advisor

Re: hpacucli

Ther is a debian version of it . I have it installed and it is running OK.

all I need is the command to partition it with hpacucli
Danny Petterson - DK
Trusted Contributor

Re: hpacucli

Sorry, I don't remember the exact syntax - but check with the document attached, it has it all, I think....

Hope it works.

Yours
Danny
webdirector
Advisor

Re: hpacucli

well as I explained above I have two arrays one array A and a second array B. all That is created as In your attached document.

But my problem is that in the document I can not find a way to make a partition on array B so I can use the space from array B ? do I need to partition array B ? if yes how do I go about doing that ? or if I do not have to Partition what do I have to do to gain access on the Array B drive ?

hope thid makes my question clearer

Thanks for the help
webdirector
Advisor

Re: hpacucli

when I do "vgdisplay" I get this :

/dev/cciss/c0d1: read failed after 0 of 4096 at 0: Input/output error
--- Volume group ---
VG Name server1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 67,59 GB
PE Size 4,00 MB
Total PE 17302
Alloc PE / Size 17302 / 67,59 GB
Free PE / Size 0 / 0
VG UUID 3FrQbu-KOgb-abdh-Kr6d-TLEU-2Chi-lWwpS6
webdirector
Advisor

Re: hpacucli

OK I got it !

I deleted array B and created it again and now all is working

Thanks for support
webdirector
Advisor

Re: hpacucli

closed