LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems in /dev: not enough md devices (https://www.linuxquestions.org/questions/slackware-14/problems-in-dev-not-enough-md-devices-221230/)

Dii 08-23-2004 05:45 AM

Problems in /dev: not enough md devices
 
I don't know what's going on.
I have to build a soft raid system on a computer, I have the following problem:
In the /dev there is only one md0 nod, and no more (md1,2... etc)
It's only in the new slackware 10, with the same kernel, on my old slackware 9.1 system I have a lot of /dev entries, from md0 to md9.

My best guess is, that the new slackware has got some function, to remove the unused entries in the /dev... other devices (hda, sda... ) has also only a few entries, in the 9.1 I have dozen of them (hda1...19, etc). Maybe somehing to do with the udev?

Can anyone please help me?

rjlee 08-23-2004 06:07 AM

If you're not running devfs, then you can create more devices using the MAKEDEV script, which is usually installed in /dev/. Firstly, find it with:
Code:

locate MAKEDEV
Then you should be able to do
Code:

cd /dev; ./MAKEDEV md1
etc. to make the other raid devices. (You may need to read the MAKEDEV man-page or the script itself to find the best commands to use).

Hope that helps,

— Robert J. Lee

Dii 08-23-2004 06:43 AM

Thank you for the help, it was a good starting point.
I did the following (if anyone will suffer from this):
- There was no MAKEDEV at all, though I had the devfs package, the reinstall of the package will help
- I have disabled the udev startup (rc.udev), and a lot of entries in /dev was there.
- I wanted to try the makedev anyway, it seemed to be more elegant, so I re-enabled the rc.udev script.
- But the entries remained there.
So you can do two thing:
- use the makedev as it was described by rjlee above
- disable the rc.udev script for one boot. (yet it needs more check if it will remain in this state)


All times are GMT -5. The time now is 04:53 PM.