Page 1 of 1

Help mount a virtual disks for Oralce

Posted: 2012/02/22 04:03:07
by Sladex
Hi

I am trying to mount virtual disks for Oracle Grid and it worked perfect with Solaris so I think it should be similar on Centos but I cant make the Grid recognizes that virtual files. I created 2Gb files inside my HDD as virtual disks using the following:

dd if=/dev/zero of=/free/asmdisks/_file_disk_01 bs=1k count=2359296
mount -t /free/asmdisks/_file_disk_01
mknod /free/asmdisks/vdisk1 c 147 1

Of course I created directories and changed permisions and ownerships. So if anyone knows what I am doing wrong or what it is missing please tell before I decide to test VMware or small partitions on my HDD.

_________________
Sladex

Help mount a virtual disks for Oralce

Posted: 2012/02/22 18:49:04
by pschaff
I never heard of [url=http://www.oracle.com/us/technologies/grid/index.html]Oracle Grid[/url] before but google has, and it seems to consist of a whole [url=http://www.oracle.com/us/technologies/grid/products-066446.html]suite of products[/url] and have to do with database and private clouds. What it has to do with CentOS is unclear. Solaris is a *nix operating system created by Sun Microsystems, before they were taken over by Oracle, but is rather different from Linux.

The sequence of commands you showed makes no syntactic nor logical sense to me. The first will create an empty file, but the second attempts to [b]mount[/b] it without having created a filesystem within it, and the [b]-t[/b] switch should take a filesystem type as an argument and mount a device with filesystem on it (in this case presumably a loopback device) on a mountpoint, which should be an existing directory. See [b]man mount[/b]. Device nodes are normally created in /dev automatically by udev. /free does not exist by default on a CentOS system.

If you are using Oracle products you should use their [url=https://support.oracle.com/CSP/ui/flash.html]support[/url].

Re: Help mount a virtual disks for Oralce

Posted: 2012/02/25 19:16:28
by Sladex
hmm it seems I will have to do it in a different way, I will try to do virtual disks with some software. Thx for your answer.

Re: Help mount a virtual disks for Oralce

Posted: 2012/02/25 21:33:21
by pschaff
You are welcome. Please post your resolution if you find one, or ask any additional questions.