Oracle on RHEL4 with ASM problem

Lunt, Nick Nick.Lunt at wesleyan.co.uk
Mon May 8 12:28:59 UTC 2006



> -----Original Message-----
> From: Jack Challen [mailto:jack_challen at ocsl.co.uk]
> 
> Lunt, Nick wrote:
> > 
> > --
> > $ ll /dev/raw
> > total 0
> > crw-rw----  1 root disk 162, 1 May  8 13:02 raw1
> > 
> > $ service rawdevices restart
> > Assigning devices:
> >            /dev/raw/raw1  -->   /dev/sdp1
> > /dev/raw/raw1:  bound to major 8, minor 241
> > done
> > 
> > $ /etc/init.d/oracleasm createdisk VOL14 /dev/raw/raw1
> > Marking disk "/dev/raw/raw1" as an ASM disk: asmtool: 
> Unable to open device "/dev/raw/raw1": Block device required [FAILED]
> > 
> > $ ls -ld /dev/raw
> > drwxr-xr-x  2 root root 60 May  8 13:04 /dev/raw
> > 
> > 
> > I get the same error if I change /dev/raw/raw1 to 
> oracle:oinstall after restarting rawdevices then run 
> oracleasm createdisk.
> > Also tried chmodding /dev/raw to 777 (to test) and we still 
> get the same error.
> 
> 
> Interesting.... in that case, try this:
> 
> ==
> service rawdevices stop
> #remove the partition from /dev/sdp (should be done by the next step 
> #anyway).
> #Change the /etc/sysconfig/rawdevices entry to be /dev/sdp (no "1" 
> #partition indicator).
> service rawdevices start
> chown oracle:oinstall /dev/raw/raw1
> /etc/init.d/oracleasm createdisk VOL14 /dev/raw/raw1
> ==

I get the same error Jack, Block device required. 

$ service rawdevice status
/dev/raw/raw1:  bound to major 8, minor 240

$ ll /dev/raw
crw-rw----  1 oracle oinstall 162, 1 May  8 13:23 raw1

$ cat /etc/sysconfig/rawdevices
/dev/raw/raw1   /dev/sdp


Cheers,
Nick .

Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes.

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment.

Delivered using mail2.wesleyan.co.uk





More information about the redhat-list mailing list