Thanks for your help!
I now have a /dev/rsd/c0d0p7 device:
[root@linuxdev1 rsd]# cat /proc/partitions
major minor #blocks name
72 0 71126640 ida/c0d0
72 1 36704 ida/c0d0p1
72 2 1052640 ida/c0d0p2
72 3 1 ida/c0d0p3
72 5 10240784 ida/c0d0p5
72 6 2097104 ida/c0d0p6
72 7 2101184 ida/c0d0p7
3 0 1073741823 hda
[root@linuxdev1 rsd]# ls -l
total 0
crw-rw---- 1 root root 72, 7 Jun 21 11:01 c0d0p7
Shouldn't I be able to do something like:
cat </dev/rsd/c0d0p7
...or will I not be able to access the raw device through the command line?
Basically I've been told to setup Oracle 8i on a Linux box, and to get the
DB on a RAW device if possible. Part 1 is done, and I'm learning about how
to do Part 2...
Thanks for any more information/education.
Corey
> -----Original Message-----
> From: nelsond@xxxxxxxxxxxxxxxxxxxx
> [mailto:nelsond@xxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, June 20, 2000 5:40 PM
> To: Corey Thompson
> Subject: Re: Using the RAW I/O enhancements
>
>
> Corey,
>
> > I have compiled a 2.2.13 kernel patched with the sgi+straw
> patch applied. I
> > am able to do a ls on /dev/raw. My question is "now what?"
> How do I map
> > the devices so I can get the raw i/o speeds?
>
>
> You need to create the character devices using mknod. Here
> is a small example
> of what you will need to do. Make sure that the major and
> minor numbers of the
> character devices correspond to the major and minor numbers found in
> /proc/partitions.
>
> [very helpful info munched]
>
> When you want to do raw io, do it to the character devices
> that you just
> created.
>
> I hope this helps.
>
> doug
>
|