APPENDIX CScripts and Tips
Leveraging Unix Files as ASM
There may be cases where you need to use standard Linux files as an ASM disk. For example, you might be performing basic functional testing on a system that does not have any external storage devices. Such testing will not work for Real Application Cluster (RAC) environments.
NOTEThis practice is not recommended in a production environment; it is shown here simply for illustration.
1. Generate the files that will be used as disk devices for ASM. The Oracle user can be used to execute the dd command to generate these disk files.
$ dd if=/dev/zero of=asm_file_disk1 bs=1k count=1000000 $ dd ...
Get Oracle Automatic Storage Management: Under-the-Hood & Practical Deployment Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.