System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How could I make raw device in Tru64 ?

Lee Joon Moon
Occasional Advisor

How could I make raw device in Tru64 ?

Hello Everyone
I want to make raw device in Tru64, so if you know about that. Please show some example very detailly.

1.I'm wondering how could I make raw device in tru64?
2.How could I link raw device to another devcice name?
3.If I use raw device with LSM, how could I make that ?

I didn't find any exactly examples however I read the guide book of LSM.

If you give exactly examples, it helps me very much.

Have a nice day everyone.
4 REPLIES
Venkatesh BL
Honored Contributor

Re: How could I make raw device in Tru64 ?

I think you are looking for "mknod" (see manpage). If not, please give detailed information.

rgds,
bkv
Michael Schulte zur Sur
Honored Contributor

Re: How could I make raw device in Tru64 ?

Hi,

please give us some more detail.
os version and patchkit.
Are you using already lsm?

1. If you use plain advfs you have 8 partitions on a disk. Each partition can be used as a raw device.
2. man ln
3. Just create a normal logical volume and use it as raw device.

What do you need raw devices for?

greetings,

Michael
Hein van den Heuvel
Honored Contributor

Re: How could I make raw device in Tru64 ?

What eversion for Tru64?
We ask because device names changed going to V5.

1.I'm wondering how could I make raw device in tru64?

For every device, Tru64 already makes a raw device.

Check out ls /dev/disk/dsk*c versus /dev/rdisk/dsk*c

If this is for Oracle, be sure to set ownership of the raw device to Oracle!


2.How could I link raw device to another devcice name?

Why would you want to do that?
Mind you, I am all in favor of never using /dev/rdisk/dskXXX files directly.
Either use LSM as an insulation layer, or use something in the application.
For example. I might setup a systme with a directory /oracle_datafiles.
And in that directory I would have a softlink 'system.dbf' --> /dev/rdisk/dskXXX

3.If I use raw device with LSM, how could I make that ?

Ditto. You get it 'for free'.
Check out /dev/vol/* versus /dev/rvol/*

Again, for oracle, be sure to set the ownership.
This time, be sure to set the ownership through LSM.
Do not set ownership manually on the device files as LSM will reset that on reboot.

example: voledit set user=oracle group=dba mode=0600


... try to search some more.
This stuff has been described.

Cheers,
Hein.


Ralf Puchner
Honored Contributor

Re: How could I make raw device in Tru64 ?

this is all well documented within the Tru64 guides on the documentation CD.

Why not simple read the docs? Btw. the Oracle documentation also points to the right commands and setup steps.
Help() { FirstReadManual(urgently); Go_to_it;; }