Home » RDBMS Server » Server Administration » ASM instance did not access raw devices (Oracle 10.2.0.5, Solaris Sparc)
ASM instance did not access raw devices [message #524986] Wed, 28 September 2011 03:59 Go to next message
trantuananh24hg
Messages: 603
Registered: January 2007
Location: Ha Noi, Viet Nam
Senior Member
Dear!
I've to install Oracle 10g on Solaris 10, Sparc. I prepared anything successfully, but, when I gone to create ASM instance, I found the Create new bow did not show any disks into. I take brief something:

1- Sparc & disks preparation:
# isainfo
sparcv9 sparc

# ls -lL /dev/rdsk/c4t50060E800570B715d0s6
crw-rw----   1 root     sys      336, 14 Sep 28 14:08 /dev/rdsk/c4t50060E800570B715d0s6
# ls -lL /dev/rdsk/c4t50060E800570B715d2s6
crw-r-----   1 root     sys      336, 62 Sep 28 14:09 /dev/rdsk/c4t50060E800570B715d2s6
# ls -lL /dev/rdsk/c4t50060E800570B715d3s6
crw-r-----   1 root     sys      336, 30 Sep 28 14:09 /dev/rdsk/c4t50060E800570B715d3s6
# ls -lL /dev/rdsk/c4t50060E800570B715d4s6
crw-r-----   1 root     sys      336, 78 Sep 28 14:09 /dev/rdsk/c4t50060E800570B715d4s6
# ls -lL /dev/rdsk/c4t50060E800570B715d5s6
crw-r-----   1 root     sys      336, 94 Sep 28 14:09 /dev/rdsk/c4t50060E800570B715d5s6
# ls -lL /dev/rdsk/c4t50060E800570B715d6s6
crw-r-----   1 root     sys      336, 110 Sep 28 14:09 /dev/rdsk/c4t50060E800570B715d6s6


Those 6 partitions disks above were supplied to ASM, so, I make mknod to link them.

# ls -lrt /asmdisks
total 0
crw-r--r--   1 oracle   dba      336, 110 Sep 28 15:35 disk6
crw-r--r--   1 oracle   dba      336, 94 Sep 28 15:39 disk5
crw-r--r--   1 oracle   dba      336, 78 Sep 28 15:39 disk4
crw-r--r--   1 oracle   dba      336, 30 Sep 28 15:39 disk3
crw-r--r--   1 oracle   dba      336, 14 Sep 28 15:39 disk2
crw-r--r--   1 oracle   dba      336, 62 Sep 28 15:39 disk1


Well, I go to ASM, but

./fa/9425/0/

And nothing on Available Disk Groups.

May you guide me to do some thing now?

Thank you very much!
  • Attachment: ASM1.JPG
    (Size: 97.09KB, Downloaded 355 times)
Re: ASM instance did not access raw devices [message #524996 is a reply to message #524986] Wed, 28 September 2011 04:44 Go to previous messageGo to next message
trantuananh24hg
Messages: 603
Registered: January 2007
Location: Ha Noi, Viet Nam
Senior Member
The Solaris disks has 2 links, 1 to /dev/rdsk, 1 to /devices/pseudo, and I had changed owner to oracle for 2 links

# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:b,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:b,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:c,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:c,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:d,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:d,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:e,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:e,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:f,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:f,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:g,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:g,raw
# chown oracle:oinstall /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:h,raw
# chmod 770 /devices/pseudo/dlmndrv@1/dlmfdrv@w50060e800570b715,0:h,raw


OKie, when I re-list, I found the owner was oracle (group oinstall) for 2 links. Back to ASM created box, I've found nothing on, so I make to decide clear ASM data with

dd if=/dev/zero of=/asmdisks/disk1 bs=8192 count=100
dd if=/dev/zero of=/asmdisks/disk2 bs=8192 count=100
dd if=/dev/zero of=/asmdisks/disk3 bs=8192 count=100
dd if=/dev/zero of=/asmdisks/disk4 bs=8192 count=100
dd if=/dev/zero of=/asmdisks/disk5 bs=8192 count=100
dd if=/dev/zero of=/asmdisks/disk6 bs=8192 count=100 


And I re-ran ASM create instance, however, no-rawdevices was listed on.

May you clarify me?

Thank you!
Re: ASM instance did not access raw devices [message #526089 is a reply to message #524996] Sat, 08 October 2011 02:55 Go to previous message
mkounalis
Messages: 146
Registered: October 2009
Location: Dallas, TX
Senior Member
permissions on the character rdisk devices heed to be changed to oracle:dba. Not just the links.
Previous Topic: ASM disk path issue
Next Topic: ORA-01019: unable to allocate memory in the user
Goto Forum:
  


Current Time: Thu Jul 31 21:41:02 CDT 2014

Total time taken to generate the page: 0.09290 seconds