Operating System - Linux
1846632 Members
1833 Online
110256 Solutions
New Discussion

Recognize and mount a new hot-swap disk (DL360+RH8)

 
Cedric_8
Advisor

Recognize and mount a new hot-swap disk (DL360+RH8)

Hello,

I have a DL360 running redhat 8.0 with one scsi disk.
I have plugged a second hot-swap disk drive into it but now I don't know what to do to format it and mount it on a new partition without having to reboot it.
I can use fdisk for instance but the issue is that I know nothing about the hardware path where the disk can be found.
For info here is the output of the df command:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ida/c0d0p7 1007928 167920 788808 18% /
/dev/ida/c0d0p1 98747 19532 74116 21% /boot
/dev/ida/c0d0p8 582260 165596 387088 30% /home
none 515460 0 515460 0% /dev/shm
/dev/ida/c0d0p5 1007928 18516 938212 2% /tmp
/dev/ida/c0d0p2 2517952 1502560 887484 63% /usr
/dev/ida/c0d0p3 1509936 245380 1187852 18% /var

Thanks for any help here.

Best regards,
Cedric.
3 REPLIES 3
Yong_7
Frequent Advisor

Re: Recognize and mount a new hot-swap disk (DL360+RH8)

Hi,

few hints FYI. looks the question is picking up new disk and identify its path.

assume before you put new disk in, all file systems were mounted, you can also confirm this by comparing "df" command and fstab file, then "cdrecord -scanbus" and "dmesg" will tell you the new path.

another alternative to find the new path name is looing at file /proc/scsi/scsi

Cheers !


YJ

Stuart Browne
Honored Contributor

Re: Recognize and mount a new hot-swap disk (DL360+RH8)

Looking at the device names (ida), it looks like you don't have the hot-swap backplane attached to a RAID controller (could be wrong, haven't used a DL360 before).

I would assume then that the new disk would be '/dev/ida/c0d1'.

You should be able to use fdisk or sfdisk to partition it as required, then mkfs the filesystems upon the new partitions.
One long-haired git at your service...
Cedric_8
Advisor

Re: Recognize and mount a new hot-swap disk (DL360+RH8)

Hello,

I've done some progresses since last post.
I've installed cpqacuxe rpm (smart array configuration tool found on HP site).
Hopefully install was successfull and I managed to create a new raid array containing my new non-assigned disk configured in RAID 0 (default). Then I was able to find a new entry ida/c0d1 in /proc/driver/cpqarray/ida0 :
ida0: Compaq Integrated Array Controller
Board ID: 0x40400e11
Firmware Revision: 1.50
Controller Sig: 0xa00bed0b
Memory Address: 0xf8850000
I/O Port: 0x2000
IRQ: 3
Logical drives: 2
Highest Logical ID: 1
Physical drives: 1

Current Q depth: 0
Max Q depth since init: 128

Logical Drive Info:
ida/c0d0: blksz=512 nr_blks=17756160
ida/c0d1: blksz=512 nr_blks=17756160
nr_allocs = 10138439
nr_frees = 10138439

Then I was able to play with fdisk and so on with /dev/ida/c0d1 and create partitions ...

For info, /proc/scsi/scsi contains :
Attached devices: none

Also for info, after installing cpqacuxe-6.0-6.0.i386.rpm and run /usr/sbin/cpqacuxe -R by hand, it told me my drivers ccssi were too old but I was able to connect to my machine on port 2381 with Internet Explorer and configure the controller with new RAID ARRAY.

Now my next issue is that I have to do the same but on a redhat 9 and unfortunately, even if cpqacuxe-6.0-6.0.i386.rpm can be installed on my RH9 (even if it's supported only on RH8), I am able to launch to server and connect to it with IE but the session ends abnormaly quick so maybe something is wrong with this version on RH9.

To summarize a litlle: How can I do the same I did on RH8 but on RH9 ?

Thanks for your help anyway.
Cedric.