cancel
Showing results for 
Search instead for 
Did you mean: 

Create raw devices in /asm

SOLVED
Go to solution
Fernando Jose P de Souz
Regular Advisor

Create raw devices in /asm

Hi,

 

2 servers itanium HP-UX 11.31

 

storage EVA6100

Create LUNs and present to 2 servers.

 

Create raw devices by mknod in /asm

Is there a problem whit this creation?

 

Oracle recommends to create in /dev but is in prod.

 

Wait.

4 REPLIES
Duncan Edmonstone
Honored Contributor

Re: Create raw devices in /asm

No, there's no problem with that - as long as ASM_DISKSTRING is set appropriately the device files can be anywhere.

 

It's simply convention that they liv somewhere under /dev

 

What I wouldn't do is ever have the in anything but the root (/) filesystem.


HTH

Duncan
Fernando Jose P de Souz
Regular Advisor

Re: Create raw devices in /asm

Hi Duncan,

 

Thanks for your replay.

 

Do you have a HP or Oracle Doc explain about this?

 

 

Duncan Edmonstone
Honored Contributor
Solution

Re: Create raw devices in /asm

Fernando,

 

No I'm afraid I don't - as "convention" says that devices go under /dev, 99 times out of 100 that's what people do. But the system does support putting device special files elsewhere if you want to.

 

For example the mksf command (which is often used for creating tape device files) provides a "-D" option:

 

           -D directory   Override the default device installation directory
                          /dev and install the special files in directory
                          instead.  directory must exist; otherwise, mksf
                          displays an error message and exits.  See
                          WARNINGS.

 

And of course the WARNINGS section of mksf says:

 

 WARNINGS
      Many commands and subsystems assume their device files are in /dev;
      therefore, the use of the -D option is discouraged.

 

And I ceratinly wouldn't go creating tape DSFs anywhere but under /dev (as there are assumptions in commands about where the DSFs are). But in the case of Oracle ASM, only ASM needs to access the DSFs, and that is fully controlable using ASM_DISKSTRING.

 

Oracle support article  1313687.1 clearly shows DSFs being created outside /dev, but it doesn't explicitly state that this is for HP-UX (it mentions "Linux and Unix", so to me that includes HP-UX)


HTH

Duncan
Fernando Jose P de Souz
Regular Advisor

Re: Create raw devices in /asm

Thanks Duncan, this doc that i was need.