Operating System - HP-UX
1826790 Members
1598 Online
109702 Solutions
New Discussion

Re: can't detect new hard disk

 
SOLVED
Go to solution
Kenneth_42
Advisor

can't detect new hard disk

I have a rx4640 server that has only one internal disk in it's two-slot disk bay. When I inserted a new disk into the empty slot and even issued insf -e, the OS still could not detect the newly inserted disk.

ioscan -funC disk does not list the new disk. I got around this by rebooting the server.

My question, is what command must I use or is there a way for the OS to detect the new disk without restarting the server.

Thanks in advance!
Kenneth
6 REPLIES 6
Ranjith_5
Honored Contributor
Solution

Re: can't detect new hard disk

Hi Kennath,

do the following in order.

#ioscan -f
#ioscan -fnCdisk
#insf -e


Regards,
Syam
Sudeesh
Respected Contributor

Re: can't detect new hard disk

Hi,
ioscan -funC disk will take the list from memory and will not probe the scsi devices. This caused the system not to detect the new disk. You should use "ioscan -fnC disk". On the other hand if you know the hardware path of new disk use, "ioscan -H ".

Once the disk is claimed, you can go ahead and do insf -e.

Hope this helps.

Sudeesh
The most predictable thing in life is its unpredictability
Rajeev  Shukla
Honored Contributor

Re: can't detect new hard disk

Thats right,
Both the commands
ioscan -fnkCdisk and
ioscan -fnuCdisk will scan the usable IO devices from the kernel (from memory) insteading of probing the hardware.
The best is to use ioscan -fnCdisk and see if it appears as claimed
once it appears and doesn't have any device files associated with it you can then run insf -e to build the device files.
You dont need to reboot the system for this
Kenneth_42
Advisor

Re: can't detect new hard disk

Thanks guys. I knew I was missing something.
Kenneth_42
Advisor

Re: can't detect new hard disk

Thread closed. Thanks for the wondeful advice!
Mahesh Kumar Malik
Honored Contributor

Re: can't detect new hard disk

Hi Kenneth

Following steps will detect the new hard drive without rebooting the server

#insf -e
#ioscan -fnC disk

Regards
Mahesh