aacraid style monitoring for megaraid2, use DELL_megaraid2.monitoring.tar.gz

Matt Domsch Matt_Domsch at dell.com
Thu Jul 6 15:21:00 CDT 2006


On Thu, Jul 06, 2006 at 01:41:05PM -0400, David Hubbard wrote:
> This is what happens when I try to run dellmgr on
> a linux system as a regular user:
> 
> rm: cannot unlink `/dev/megadev0': Permission denied
> mknod: `/dev/megadev0': Operation not permitted
> 
> 
>         Error: Permission Denied
>         Only superuser is allowed to run this utility
> 
> So it tries to remove something before checking who I
> am.  And that's just a simple raid controller management
> executable, not something huge like OMSA.

That's because dellmgr doesn't expect udev to exist to create the
device node for you properly, and it can't expect the current device
node is correct as the driver requests a dynamic major number, so it
can change from driver load to driver load (most often boot to boot).

So yes, the script could be a little smarter, but it need not be too
smart...  it's only trying to get /dev/megaraid0 created properly, and
only root can do that.

-- 
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com



More information about the Linux-PowerEdge mailing list