Operating System - Linux
1828863 Members
2379 Online
109985 Solutions
New Discussion

RedHat 4.0 / udev / SAN disks

 
TJ Toedebusch
Occasional Advisor

RedHat 4.0 / udev / SAN disks

working with RedHat 4.0, I have noticed a few differences with the way SAN storage reporting works compared to RH 3.0. We use the EMC tool inq and the HP supplied lssd from the fibreutils rpm to do some reporting on SAN storage. I have noticed, that after rebooting, the makedev's we run to allow inq/lssd to see and report on the SAN storage does not work. I believe it is just a udev issue, but being unfamiliar with udev, I am at a loss as to how to proceed. Any info on how to make udev devices for SAN storage?

Thanks
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: RedHat 4.0 / udev / SAN disks

Shalom TJ,

This is probably the reporting utility being broken.

Is the storage available to the RH 4 system?

If not, its perhaps a more serious RH 4 bug.

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
Bharath_Pingali
Trusted Contributor

Re: RedHat 4.0 / udev / SAN disks

TJ Toedebusch
Occasional Advisor

Re: RedHat 4.0 / udev / SAN disks

I think I found the issue. the inq utility requires the /dev/sgXX links be made and this is normally done by running MAKEDEV sg against the /dev directory... but with udev, the /dev directory get rebuilt after reboot. I think if I just make those links and mknodes under /etc/udev/devices, I will be OK. Haven't tried yet, but this the path I am going down.

Thanks.
Florian Heigl (new acc)
Honored Contributor

Re: RedHat 4.0 / udev / SAN disks

We had a small linux workshop with HP a few weeks ago. I couldn't test any of what we were showed (powerpoint, not a real workshop, actually), but from what I recall they were very aware of that issue, and I think there ought to be a configuration mechanism in udev that will automatically create the symlinks for You.

In general, if You have a devfs/devmapper/udev controller /dev filesystem, don't manually edit in there.

(rant: this is where enterprise distributions get us. 'supported' is outdated and doesn't work, making it work is unsupported, horray!)
yesterday I stood at the edge. Today I'm one step ahead.
TJ Toedebusch
Occasional Advisor

Re: RedHat 4.0 / udev / SAN disks

Figured out how to dynamically populate the /dev dir after reboots using udev.