System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

SOLVED
Go to solution
razi_1
Advisor

need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

hello,

initially my server only used 1 scsi hdd and now i inserted one more on the slot above it.

i notice the smart array configuration has assigned the second disk to another raid 0 without me doing anything.

so after boot to OS CentOS 4.5 (RHEL-4.5) which i think comes with smart array driver as default, i cant see the drive being mapped by running command df-h. i only see 1 hdd.

what i want is to have JBOD where this 2 disk combined as one.any step i missed?

as addition here is what i get when running df -h via putty .

seems like it only detect 1 disk

/dev/mapper/VolGroup00-LogVol00
65G 22G 40G 36% /
/dev/cciss/c0d0p1 97M 20M 72M 22% /boot
none 506M 0 506M 0% /dev/shm
/usr/tmpDSK 485M 33M 427M 8% /tmp
/tmp 485M 33M 427M 8% /var/tmp

Please help me. my 1st disk is almost full.

thank you
13 REPLIES
Rob Leadbeater
Honored Contributor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

Hi,

df -h will show you filesystems rather than disk devices.

To find the name of the second disk device, take a look at the output of the command dmesg.

# dmesg | grep cciss

If it's the second disk then it will probably be called /dev/cciss/c0d1

Once you've got that you'll need to add it in to your LVM configuration. Unfortunately I've never used LVM so I'll leave the details of that to someone else !

Cheers,

Rob
razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

hello,

you are great.

know i know t existed at least.

i got this names:

c0d0 c0d0p1 c0d0p2 c0d1 c0d1p1 c0d1p2

so i assume there is 2 disks.

so anyone can help me on the LVM part?

thanks
Rob Leadbeater
Honored Contributor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

Hi,

Yes you have two logical disks.

c = controller
d = disk
p = partition

So c0d0p1 is partition 1 on disk 0 on controller 0.

Cheers,

Rob
Rob Leadbeater
Honored Contributor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

hello,

thanks for that. i read it but it seems for server fresh install. now my server is running and i need to add new disk.

is this correct for me?:

http://tldp.org/HOWTO/LVM-HOWTO/recipeadddisk.html
razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

and im not sure after reading the link:

which between c0d1 c0d1p1 c0d1p2

i need to fdisk?

and is it correct to format it to have only / and extend current / to it?

thanks
Rob Leadbeater
Honored Contributor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

Hi,

You fdisk the disk, so

# fdisk /dev/cciss/c0d1

Although if it's newly inserted disk, it's a bit strange that there's some partitions on it already ....

Cheers,

Rob
Sac_3
Frequent Advisor
Solution

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

Here is a good link to learn lot about LVM

http://tldp.org/HOWTO/LVM-HOWTO/

If u have enough space on 2nd disk then u can create new partitions and add them to existing LVM Volume group, leaving the other partitions untouched.

Hope this Helps u..

Regards,
SaC
razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

hello,

i read http://tldp.org/HOWTO/LVM-HOWTO/recipeadddisk.html but i stuck at:


# export E2FSADM_RESIZE_CMD=ext2resize
# e2fsadm /dev/ops/batch -L+500M


it said e2fsadm cannot be found something like this.

can you help me?

thanks
Sac_3
Frequent Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

Hi Razi,

I think e2fsadm is available with Redhat 3 and not in Redhat 4.

I dont have an idea about Cent OS. However, as you said that the OS is CentOS 4.5 (RHEL-4.5) i presume that it is equal to RHEL4. In RHEL 4 u shud have a utility called "ext2online" installed. If so, please refer to the below link to extend your filesystem on to the 2nd disk (HOPE u have added the 2nd disk into the existing Volume Group)

http://www.redhat.com/magazine/009jul05/features/lvm2/

Regards,
SaC

P.S: Best way to thank in this forum is to assign points
razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

hello guys,

thanks a lot. i have successfully extended my file system.

appreciate your helps.
Sac_3
Frequent Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

cool!

Best way to thank in this forum is to assign points....... :o)
razi_1
Advisor

Re: need help on HP Proliant DL 380 G4 - smart array scsi hdd issue

forgive my ignorance, still new in here. will submit some points now.