Operating System - HP-UX
1834935 Members
2364 Online
110071 Solutions
New Discussion

Re: How to forbid the creation of disk device ?

 

How to forbid the creation of disk device ?

Hi,
I've got a cluster consisting of 2 class L3000 and 2 disks cabinets hsv EVA3000. The OS is HPUX 11i.
If one of the computer boots without the disks cabinets running, at the next boot of this computer and with the disk cabinets running, it recreates new disk device associated to the disks cabinets.
At this point the cluster doesn't run anymore because it was declared with the previous devices.
I can erase the new devices and recreate the old but I would prefer that it doesn't create new devices.
Why this behaviour and is there a configuration to stop it from creating disk devices and use the previous one ?
Thanks for your help
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: How to forbid the creation of disk device ?

Hi Lorenzo,

I dont' see any reason why the disk device files will get recreated unless

1. There is some configuration change happening on the EVAs.
2. Make sure your /etc/ioconfig is getting changed/corrupted so when the system reboots next time, it's recreating the device files.

Also good practice is to shutdown the system first and then the storage. Bring up the storage, wait for sometime and then bring up the systems. Try it and see if the device files get created automatically.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Cheryl Griffin
Honored Contributor

Re: How to forbid the creation of disk device ?

How are you removing the old devices? rm vs rmsf? I recall a case where rm was being used. Once we used rmsf, the devices did not come back.
"Downtime is a Crime."

Re: How to forbid the creation of disk device ?

Thanks for your reply.
I confirm that the configuration hasn't changed and the disk devices have been
automatically recreated with new instance numbers (if a previous boot has been done without the disks bay).

To map with the old devices, I use the following commands :
rmsf the old and new devices
remove the /etc/ioconfig and /stand/ioconfig files
reboot in single user
ionit -i
remove the /dev/swsppCtl special file
mknod /dev/swsppCtl c 63 0x000000
spinit stop
spinit start

May be if I inhibate the spinit command at the boot, it does not recreate the device files ?
Or the spinit command is also used to map the devices ?
Thanks.