Help mount a virtual disks for Oralce

Issues related to applications and software problems
Post Reply
Sladex
Posts: 17
Joined: 2011/10/24 02:38:24

Help mount a virtual disks for Oralce

Post by Sladex » 2012/02/22 04:03:07

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

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Help mount a virtual disks for Oralce

Post by pschaff » 2012/02/22 18:49:04

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].

Sladex
Posts: 17
Joined: 2011/10/24 02:38:24

Re: Help mount a virtual disks for Oralce

Post by Sladex » 2012/02/25 19:16:28

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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Help mount a virtual disks for Oralce

Post by pschaff » 2012/02/25 21:33:21

You are welcome. Please post your resolution if you find one, or ask any additional questions.

Post Reply