Skip to contentSkip to conversation

Mylex DAC vs RAM disk in 2.4.2 devfs

DISCUSSION Russell Coker 4 participants 4 messages Apr 17, 2001 – Apr 18, 2001

lore
Share & tools
lore
#0 lore raw

I have just upgraded a machine with a Mylex DAC hardware RAID controller to kernel 2.4.2 with devfs.

It seems that /dev/rd is used by both the RAM disk in the kernel and the Mylex controller!

This is wrong of course, there are two problems, one is the situation of what happens if you need both Mylex RAID and a RAM disk. The other is the problem that Mylex devices get treated as ram disks by devfsd which cause an upgrade to break (the compatibility sym-links are not created correctly). I believe that the RAM disk should be changed as /dev/rd has been used by Mylex controllers for a long time. I am willing to submit patches to the kernel and to devfsd if this suggestion is accepted and someone can suggest a good directory name for ram-disks (I don't want to have the same problem again).

Signature · 4 lines
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page
#1 lore raw

Hi,

Quoted 4 lines · Russell Coker

Mylex controllers for a long time. I am willing to submit patches to the kernel and to devfsd if this suggestion is accepted and someone can suggest a good directory name for ram-disks (I don't want to have the same problem again).

What about simply "ramdisk"? ;-)

Andreas

Signature · 2 lines
"How do you pronounce SunOS?"  "Just like you hear it, with a big SOS"
	-- dedicated to Roland Kaltefleiter
#2 lore raw
In reply to Russell Coker
Followup to:  <[email protected]>
By author:    Andreas Ferber <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 12 lines

Hi,

Quoted 4 lines · Russell Coker

Mylex controllers for a long time. I am willing to submit patches to the kernel and to devfsd if this suggestion is accepted and someone can suggest a good directory name for ram-disks (I don't want to have the same problem again).

What about simply "ramdisk"? ;-)

The standard name is /dev/ramX. If you want it directorized I suggest /dev/ram/X.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
#3 lore raw
In reply to Russell Coker
Quoted 6 lines · Russell Coker

I have just upgraded a machine with a Mylex DAC hardware RAID controller to kernel 2.4.2 with devfs.

It seems that /dev/rd is used by both the RAM disk in the kernel and the Mylex controller!

Quoted 9 lines

This is wrong of course, there are two problems, one is the situation of what happens if you need both Mylex RAID and a RAM disk. The other is the problem that Mylex devices get treated as ram disks by devfsd which cause an upgrade to break (the compatibility sym-links are not created correctly). I believe that the RAM disk should be changed as /dev/rd has been used by Mylex controllers for a long time. I am willing to submit patches to the kernel and to devfsd if this suggestion is accepted and someone can suggest a good directory name for ram-disks (I don't want to have the same problem again).

Leonard and I are discussing the issue. We started at the kernel summit, but didn't have time to continue. I've sent him an email.

				Regards,

					Richard....
Permanent: [email protected]
Current:   [email protected]