|
|
Re: How can use the LV to create a ASM disk [message #562065 is a reply to message #562064] |
Fri, 27 July 2012 11:25 |
andy huang
Messages: 498 Registered: July 2011
|
Senior Member |
|
|
Thanks,
BlackSwan,i have created the Lv,but i can not using it to create the ASM disk.
[oracle@hxl ~]$ ls -al /dev/mapper/myvg-lv01
brw-rw---- 1 oracle oinstall 253, 0 Jul 27 23:50 /dev/mapper/myvg-lv01
[oracle@hxl ~]$ /etc/init.d/oracleasm createdisk VOL5 /dev/mapper/myvg-lv01
Marking disk "VOL5" as an ASM disk: /etc/init.d/oracleasm: line 242: /var/log/oracleasm: Permission denied
[FAILED]
|
|
|
Re: How can use the LV to create a ASM disk [message #562091 is a reply to message #562065] |
Fri, 27 July 2012 20:42 |
andy huang
Messages: 498 Registered: July 2011
|
Senior Member |
|
|
hi,
I have created the VOL5,but i can not find it in v$asm_disk,why?
#/etc/init.d/oracleasm createdisk VOL5 /dev/mapper/myvg-lv01
[oracle@hxl ~]$ /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
VOL5
Select Name,Path From v$asm_disk;
---------------------------------
NAME PATH
VOL1 ORCL:VOL1
VOL2 ORCL:VOL2
VOL3 ORCL:VOL3
|
|
|