Try New Technology

Using /bin/mknod to keep PERC 3/Di devices loaded after reboot (afacli)

by on May.08, 2013, under Techie

Mostly tossing this up here for my own use in referring back. Below is what needs done to ensure afacli can be ran correctly from script after a reboot. The issue is the PERC 3/Di card software for CentOS/Fedora Linux doesn’t rebuild the /dev/ files correctly and so when we run an internal raid check script it errors out with the following output:

/usr/sbin/afacli: line 13: /dev/MAKEDEV.afa: No such file or directory

The solution to this is to first run

cat /proc/devices

which will give you the Device ID for the “aac” (PERC 3/Di). Example:

Character devices:
1 mem
196 dahdi
253 aac
254 pcmcia

Next you want to add the following line(s) into /etc/rc.local (as many times as needed, so in my case with 7 errors I need to have afa0-afa6):

/bin/mknod /dev/afa0 c DEVICE_ID 0


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!