Operating System - Linux
1753658 Members
5533 Online
108798 Solutions
New Discussion юеВ

Re: Disks are not getting detected on RHEL5.4

 
WW288996
Frequent Advisor

Disks are not getting detected on RHEL5.4

Hi ,

I have one HP DL580 G5 Server machine and currently there is two disk which RHEL 5.4 is installed.

I have LVM configured for this two disks and it is working fine.

But my current requirement is I have got six more same disks and I have inserted the disks in to server, but it is not showing if I type fdisk -l.

Can anyone how to make this new disks visible without restarting the RHEL.

As I cannot restart the machine, the disks should get detected to extend my LVs.

Please help me in this regard.
6 REPLIES 6
Michal Kapalka (mikap)
Honored Contributor

Re: Disks are not getting detected on RHEL5.4

hi,

you configured RHEL 5.4 on your server with LVM layout, but before you was able to install the system you configured the array ???

so the Linux installer was able to see only one disk ( logical disk from the array - mostly RAID1 - mirror )

so if you like to add more disk to the array, and you like to present it to the system you need to use ACU tools for this or reboot the server and go to ORCA - Option ROM Configuration for Arrays - press F9 key.

more information can be found at :

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00729544/c00729544.pdf


mikap
WW288996
Frequent Advisor

Re: Disks are not getting detected on RHEL5.4

I dont have any arrays configured , my requirement is if I type "fdisk -l" it should display the new hardisks as well.
Modris Bremze
Esteemed Contributor

Re: Disks are not getting detected on RHEL5.4

Matti_Kurkela
Honored Contributor

Re: Disks are not getting detected on RHEL5.4

You must use "hpacucli" or the web-based Array Configuration Utility to configure the disks to your SmartArray hardware RAID controller first. Before you do this, the disks won't be visible to the OS.

("hpacucli" and the Array Configuration Utility are included in the Proliant Support Pack, and are also downloadable from the standard http://www.hp.com/go/support location.)

After you've added the new disks to the SmartArray configuration, the devices should automatically appear in /proc/partitions and "fdisk -l" output.

If the autodetection does not work, RedHat has a nice document listing the methods that can be used to force a manual re-scan of storage devices:

https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/index.html

See chapter 9: Scanning Storage Interconnects.

MK
MK
Steven E. Protter
Exalted Contributor

Re: Disks are not getting detected on RHEL5.4

Shalom,

Install a supported version of PSP.

run hp_rescan.

This may if the disks are properly presented wake your system up and get the device files created.

Until the disk shows up on fdisk -l there is little you can do.

You may need to schedule a maintenance window to make this work.

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
Jan Soska
Honored Contributor

Re: Disks are not getting detected on RHEL5.4

Hello,
here is our step-by-step howto (working with EVA's, generaly with everything)

1. add space on storage (in EVA - CommandView, local - HP ACU)

2. rescan partitions (need kernel 2.6+)
echo 1 > /sys/bus/scsi/devices/0\:0\:0\:0/rescan
(more on Linux Journal : http://www.linuxjournal.com/article/7321 )

3. create new partition with fdisk
Fdisk /dev/sda (n,t,w)

4. tell kernel to recognize new partition !!:
partprobe

5. Create volume:
pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created

6. Extend group:
vgextend VolGroup00 /dev/sda3
Volume group "VolGroup00" successfully extended

7. check if done ok:
pvscan

8. extend LVM partition (here +30GB)
lvextend -L +30G /dev/VolGroup00/LogVol00

9. resize filesystem: resize2fs /dev/mapper/VolGroup00-LogVol00

10. done - online resize of filesystem.

I hope this HELPS

JAN