[Linux] Losetup and raw devices

Frost Jack linux@flux.org
Tue, 1 Jan 2008 18:42:39 -0800 (PST)


Hello All,

I have a test box (Centos) which i am trying to set up
Oracle ASM using raw devices. I only have one disk so
I have created virtual disks using dd if=/dev/zero
of=/asmdisks/_file_disk1, etc, etc.. Once the file is
created I am using losetup to associate it to a
loopback device. Then lastly I am binding the files
raw devices using 'raw'. Here is my issue, after I
reboot all is lost. The raw directory is gone. So then
I tried using ASMLib which entails the steps above
except the 'raw' step. But every time I reboot
/dev/oracleasm/disks shows no contents.

Any assistance would be great.

Matt


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ