http://blogs.oracle.com/simonthorpe/2009/06/configuring_oracle_asm_disks_i.html
I was then able to mark my disks for ASM use, except I had already mounted these disks as part of my testing from earlier.
[root@database modules]# oracleasm createdisk DATADISK1 /dev/sdc1
Unable to open device "/dev/sdc1": Device or resource busy
Duh, I quickly removed the references in /etc/fstab and unmounted the drives. This time I could run my command;
[root@database modules]# oracleasm createdisk DATADISK1 /dev/sdc1
Writing disk header: done
Instantiating disk: done
[root@database modules]# oracleasm createdisk DATADISK2 /dev/sdd1
Writing disk header: done
Instantiating disk: done
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23135684/viewspace-628164/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23135684/viewspace-628164/