LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-23-2004, 05:45 AM   #1
Dii
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
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?
 
Old 08-23-2004, 06:07 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
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
 
Old 08-23-2004, 06:43 AM   #3
Dii
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disappearing devices in /dev/ thew00t Linux - Hardware 3 04-11-2005 07:09 AM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM
Two Video Devices - /dev/video0 & /dev/video1 liguorir Linux - Software 1 07-21-2003 08:20 PM
Floppy devices in /dev Thymox Linux - Hardware 4 07-01-2003 05:03 PM
devices in /dev icel0rd Linux - Hardware 3 11-19-2002 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration