Help mount a virtual disks for Oralce

Issues related to applications and software problems

Help mount a virtual disks for Oralce

Postby 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
Sladex
 
Posts: 17
Joined: 2011/10/24 02:38:24

Help mount a virtual disks for Oralce

Postby pschaff » 2012/02/22 18:49:04

I never heard of Oracle Grid before but google has, and it seems to consist of a whole suite of products 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 mount it without having created a filesystem within it, and the -t 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 man mount. 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 support.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: Help mount a virtual disks for Oralce

Postby 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.
Sladex
 
Posts: 17
Joined: 2011/10/24 02:38:24

Re: Help mount a virtual disks for Oralce

Postby pschaff » 2012/02/25 21:33:21

You are welcome. Please post your resolution if you find one, or ask any additional questions.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 4 guests