Oracle ASM Advanced Tranning 1 —— Configuration of Devices for ASM
Part 1 : Configure devices for ASM using file system files and loop devices
Check the amount of space available on file system
[root@vasm ~]# df -THFilesystem Type Size Used Avail Use% Mounted on/dev/sda3 ext3 46G 6.3G 38G 15% //dev/sda1 ext3 200M 23M 167M 12% /boottmpfs tmpfs 2.1G 0 2.1G 0% /dev/shm/dev/sr0 iso9660 3.9G 3.9G 0 100% /media/disk
Create a directory to hold the files to be used as ASM devices
[oracle@vasm ~]$ chmod 660 /u01/app/asm_filesystem_devices/*[oracle@vasm ~]$ ls -ltrh /u01/app/asm_filesystem_devices/total 2.0G-rw-rw---- 1 oracle oinstall 500M Feb 20 09:50 asm_filesystem_dsk1-rw-rw---- 1 oracle oinstall 500M Feb 20 09:51 asm_filesystem_dsk2-rw-rw---- 1 oracle oinstall 500M Feb 20 09:51 asm_filesystem_dsk3-rw-rw---- 1 oracle oinstall 500M Feb 20 09:51 asm_filesystem_dsk4