1825509 Members
1835 Online
109681 Solutions
New Discussion юеВ

Re: raw device

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

raw device

If my disk assignments are sda and sdb.
How do I find out the raw device for these disks.
UNIX IS GOOD
5 REPLIES 5
Claudio Cilloni
Honored Contributor

Re: raw device

they should be /dev/sda and /dev/sdb.

ciao
Claudio
Nobody's Hero
Valued Contributor

Re: raw device

In HPUX for sda, the raw device would be rsda.
I see a /dev/raw directory with devices listed in it.

so for disk /dev/sda, the raw device is the same?
UNIX IS GOOD
Claudio Cilloni
Honored Contributor
Solution

Re: raw device

the /dev/raw directory only lists raw* devices. mmmh... I don't what they are used for. And I never used them.

/dev/sda and /dev/sdb are the block devices for your hard disks (this is shown by the leftmost 'b' in the output of 'ls -l /dev/sd*'). If you are looking for the character devices, I don't know if they exist for scsi disks. Linux has a different management of raw/character devices than hpux.

I always used the block devices of my IDE drive partitions. Try with /dev/sda and /dev/sdb, I think they will work.

hth
Claudio
Caesar_3
Esteemed Contributor

Re: raw device

Hello!

I'm not shure that you have the raw devices
for sda & sdb, why you need them in linux?

Caesar
Charles Holland
Trusted Contributor

Re: raw device

Robert,
Running SuSE in my shop. In /etc there is a file called raw which contains a list of how the raw device driver knows where to access the information in our Informix database.

Example out of that file...
# sample configuration to bind raw devices
# to block devices
# The format of this file is:
# raw:
# example:
# ---------
# raw1:hdb1
#
# this means: bind /dev/raw1 to /dev/hdb1
raw1:vg02/PD10lvol01

Under /informix/SMS/sapdata/physdev10 we have a link data01 -> /dev/raw1

Don't know if this will help.... maybe point you in the right direction
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein