This document normally stores in VirtualBox Ora11gR2.2 VM under jcchoy/Documents/oracle_linux_5.6_installation_notes.txt 2011-05-15 Sunday Oracle 11gR2 preparation for Linux 6 failed. 9:00 PM [root@olinux6 ~]# oracleasm configure -i Configuring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library driver. The following questions will determine whether the driver is loaded on boot and what permissions it will have. The current values will be shown in brackets ('[]'). Hitting without typing an answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: oracle Default group to own the driver interface []: dba Start Oracle ASM library driver on boot (y/n) [n]: y Scan for Oracle ASM disks on boot (y/n) [y]: y Writing Oracle ASM library driver configuration: done [root@olinux6 ~]# Initialize the asmlib with the oracleasm init command. This command will load the oracleasm module and also mounts the oracleasm filesystem. [root@olinux6 ~]# oracleasm init Creating /dev/oracleasm mount point: /dev/oracleasm Loading module "oracleasm": failed Unable to load module "oracleasm" [root@olinux6 ~]# yum list installed oracleasm* Loaded plugins: refresh-packagekit, rhnplugin This system is not registered with ULN. ULN support will be disabled. Installed Packages oracleasm-support.i686 2.1.5-1.el6 @/oracleasm-support-2.1.5-1.el6.i686 [root@olinux6 ~]# It seems like I am missing the oracleasm module rpm somehow. Tried to installed the oracleasm rpm from dvd host drive E: Clicked devices\cd\dvd\Host drive 'E' Clicked Places\OL6.0 i386 Disc 1 20110203 oracleasm rpm is not there, just oracle-support. Tried to download from otn. Get the system kernel information first. [root@olinux6 init.d]# uname -r (Kernel release) 2.6.32-71.el6.i686 [root@olinux6 init.d]# uname -p (processor) i686 [root@olinux6 init.d]# uname -i (hardware platform i386 [root@olinux6 init.d]# uname -s (system name) Linux Oracleasm driver for Oracle linux 6 doesn't seem to be available free to download on OTN for some reason ? It could be because it presume you registered with ULN network (Unbreakable Linux Network) which allows you to automatically download and install it with a paid account. Since Francisco showed oracleasm driver is available for Oracle Linux 5.6, can start over installing Linux 5.6 in place of Linux 6 with VirtualBox 4.0.4 instead of VirtualBox 4.0.2. 12:00 am - Download Oracle Linux 5.6 dvd iso zip file in unix - unzip it to dvd iso format in to a unix folder - doesn't work got write error - has to put to a windows xp share folder to use 7 zip to unzip. - check there is oracleasm driver before installing Linux 5.6 - mount the dvd iso format on a VM dvd drive - follow Francisco's part 2 Linux 5.6 installation on a new VM. 2011-05-16 Monday: Create a new VM, install Oracle Enterprise Linux 5.6 (OEL 5.6) which has oracleasm driver follow Francisco's part 2 of OEL 5.6 install: (http://oraclenz.com/2011/02/04/playing-with-oracle-11gr2-oel-56-and-virtualbox-402-1st-part/) New vm name: Ora11gR2.2 (same as Francisco's) - virtual hard disk 61.74 GB 2048 meg RAM (f:\VirtualBox VMs\Ora11gR2.2.vdi - don't seem to allow a hostname: input - just root pw: root/jcchoy321 Run into "not enough memory" errors during install, close a few windows xp apps and it proceed fine. Might have to reduce 2048 meg Ram later on. Ensure list of packages included Francisco's list. Ensure right click cd/dvd icon to remove thd oel5.6 iso dvd before reboot screen. Boot msgs has 1 failure sometimes : shutdown ntpd....failed (?) memory crash kernel not within permissible range. (?) disabled firewall, SElinux VM has a warning of "using more than 50% of computer's 3.24 GB, continue own risk for other host xp apps." o/s task need to find out how to the VM hostname for linux loopback setup to get past oracle pre-install error "detected primary ip address is DHCP assigned " ! 12:30 pm Continue with Oracle 11gR2 preparation part 3. - check memory and swap space size [jcchoy@localhost ~]$ su - root Password: [root@localhost ~]# grep MemTotal /proc/meminfo MemTotal: 2075068 kB (2 gb memory, fine) [root@localhost ~]# grep SwapTotal /proc/meminfo SwapTotal: 4128760 kB ( 4 gb swap space, fine) [root@localhost ~]# free total used free shared buffers cached Mem: 2075068 551788 1523280 0 28316 366232 -/+ buffers/cache: 157240 1917828 Swap: 4128760 0 4128760 [root@localhost ~]# - increase shared memory to 1240m [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 56G 2.6G 51G 5% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 1014M 0 1014M 0% /dev/shm [root@localhost ~]# mount -t tmpfs shmfs -o size=1240m /dev/shm [root@localhost ~]# df -h /dev/shm Filesystem Size Used Avail Use% Mounted on shmfs 1.3G 0 1.3G 0% /dev/shm [root@localhost ~]# cd /etc [root@localhost etc]# cp -p fstab fstab.20110516 [root@localhost etc]# gedit fstab - check and install needed software: click Device/cd/dvd devices and click the OEL iso dvd file then cd to it and run rpm as follows: [root@localhost etc]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 56G 2.6G 51G 5% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 1.3G 0 1.3G 0% /dev/shm shmfs 1.3G 0 1.3G 0% /dev/shm /dev/hda 3.0G 3.0G 0 100% /media/Oracle Linux Server dvd 20110119 [root@localhost etc]# cd /media/Oracle\ Linux\ Server\ dvd\ 20110119 [root@localhost Oracle Linux Server dvd 20110119]# cd Server [root@localhost Server]# rpm -Uvh binutils-2.* [root@localhost Server]# rpm -Uvh glibc-2.* has conflicts with file from package glibc-2.5-58.i686 (?) Most of them already installed except for the following: rpm -Uvh compat-libstdc++-33* rpm -Uvh libaio-devel-0.* rpm -Uvh numactl-devel-0.* rpm -Uvh sysstat-7.* rpm -Uvh unixODBC-2.* rpm -Uvh unixODBC-devel-2.* rpm -Uvh oracleasm-support-2.1.4-1.el.i386.rpm (not found) (look up the dvd Server folder and the name should be oracleasm-support-2.1.4-1.el5.i386.rpm) rpm -Uvh oracleasm-2.6.18-238.el5-2.0.5-1.el5.i686.rpm - so far so good ! [root@localhost Server]# cd /etc [root@localhost etc]# cp -p sysctl.conf sysctl.conf.20110516 [root@localhost etc]# gedit sysctl.conf [root@localhost etc]# sysctl -p net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_filter = 2 net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 0 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 kernel.msgmnb = 65536 kernel.msgmax = 65536 kernel.shmmax = 4294967295 kernel.shmall = 268435456 kernel.core_uses_pid = 1 fs.suid_dumpable = 1 fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048586 [root@localhost etc]# - Configure VM to reduce Idle CPU load : [root@localhost etc]# cp -p grub.conf grub.conf.20110516 [root@localhost etc]# gedit grub.conf (add divider=10) [root@localhost etc]# - Install Guest Additions have to use magic disc to mount F:virtualbox\VBOXADDITIONS_4.0.4_70112 before it finally showed up in df -h. Devices/cd/dvd or pick iso file doesn't work sometimes. Has some warnings of 3D efforts for Linux 6 only, should be fine. [root@localhost /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 56G 2.7G 51G 6% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 1.3G 0 1.3G 0% /dev/shm shmfs 1.3G 0 1.3G 0% /dev/shm [root@localhost /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 56G 2.7G 51G 6% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 1.3G 0 1.3G 0% /dev/shm shmfs 1.3G 0 1.3G 0% /dev/shm /dev/hda 37M 37M 0 100% /media/VBOXADDITIONS_4.0.4_70112 [root@localhost /]# cd /media/VBOXADDITIONS_4.0.4_70112 [root@localhost VBOXADDITIONS_4.0.4_70112]# sh ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.0.4 Guest Additions for Linux......... VirtualBox Guest Additions installer Removing existing VirtualBox DKMS kernel modules [ OK ] Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules Your guest system does not seem to have sufficient OpenGL support to enable accelerated 3D effects (this requires Linux 2.6.27 or later in the guest system). This Guest Additions feature will be disabled. Building the main Guest Additions module [ OK ] Building the shared folder support module [ OK ] Doing non-kernel setup of the Guest Additions [ OK ] Starting the VirtualBox Guest Additions [ OK ] Installing the Window System drivers Installing X.Org 7.1 modules [ OK ] Setting up the Window System to use the Guest Additions [ OK ] You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions. Installing graphics libraries and desktop services componen[ OK ] [root@localhost VBOXADDITIONS_4.0.4_70112]# - Extract the zip files with 7-zip on Windows xp in F:\Oracle11gR2 download folder to be a shared folder for OEL 5.6. Extracted the zip files to F:\Oracle11gR2 download\database, grid folders Devices\Shared Folder click + other places, folder: F:\Oracle11gR2 download folder-name Oracle_11G2.0.2 auto-mount, make Permanent - Create unix groups and users: (had to remove vboxsf group before it works) [root@localhost /]# /usr/sbin/groupadd oinstall [root@localhost /]# /usr/sbin/groupadd -g 502 dba groupadd: GID 502 is not unique [root@localhost /]# tail -10 /etc/group stapdev:x:101: stapusr:x:102: stap-server:x:155: haldaemon:x:68: avahi-autoipd:x:156: gdm:x:42: sabayon:x:86: jcchoy:x:500: vboxsf:x:501: oinstall:x:502: [root@localhost /]# groupdel vboxsf [root@localhost /]# groupdel oinstall [root@localhost /]# tail -10 /etc/group nfsnobody:x:65534: xfs:x:43: stapdev:x:101: stapusr:x:102: stap-server:x:155: haldaemon:x:68: avahi-autoipd:x:156: gdm:x:42: sabayon:x:86: jcchoy:x:500: [root@localhost /]# /usr/sbin/groupadd oinstall [root@localhost /]# /usr/sbin/groupadd -g 502 dba [root@localhost /]# /usr/sbin/groupadd -g 503 oper [root@localhost /]# /usr/sbin/groupadd -g 504 asmadmin [root@localhost /]# /usr/sbin/groupadd -g 506 asmdba [root@localhost /]# /usr/sbin/groupadd -g 505 asmoper [root@localhost /]# /usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba,oper oracle [root@localhost /]# passwd oracle Changing password for user oracle. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@localhost /]# - Install cvuqdisk* [root@localhost media]# sudo mkdir /media/sf_Oracle_11G2.0.2 [root@localhost media]# sudo mount -t vboxsf Oracle_11G2.0.2 /media/sf_Oracle_11G2.0.2 [root@localhost media]# ls -l total 0 drwxrwxrwx 1 root root 0 May 16 14:14 sf_Oracle_11G2.0.2 [root@localhost media]# cd sf_Oracle_11G2.0.2 [root@localhost sf_Oracle_11G2.0.2]# ls -l total 3185145 drwxrwxrwx 1 root root 0 May 16 14:10 database drwxrwxrwx 1 root root 0 May 16 14:14 grid -rwxrwxrwx 1 root root 1285396902 Apr 30 21:45 linux_11gR2_database_1of2.zip -rwxrwxrwx 1 root root 995359177 Apr 30 22:54 linux_11gR2_database_2of2.zip -rwxrwxrwx 1 root root 980831749 May 16 09:09 linux_11gR2_grid.zip [root@localhost sf_Oracle_11G2.0.2]# cd grid/rpm [root@localhost rpm]# ls -l total 8 -rwxrwxrwx 1 root root 7831 Jun 2 2009 cvuqdisk-1.0.7-1.rpm [root@localhost rpm]# rpm -Uvh cvuqdisk* Preparing... ########################################### [100%] Using default group oinstall to install package 1:cvuqdisk ########################################### [100%] [root@localhost rpm]# - Change /etc/security/limits.conf and /etc/pam.d/login [root@localhost /]# cd /etc/security [root@localhost security]# cp -p limits.conf limits.conf.20110516 [root@localhost security]# gedit limits.conf [root@localhost security]# cd /etc/pam.d [root@localhost pam.d]# cp -p login login.20110516 [root@localhost pam.d]# gedit login [root@localhost pam.d]# - Create Oracle directories # mkdir -p /u01/app/oracle # chown -R oracle:oinstall /u01/app/oracle # chmod -R 775 /u01/app/oracle # mkdir /u01/app/oracle/recovery_area # chown oracle:oinstall /u01/app/oracle/recovery_area # chmod 775 /u01/app/oracle/recovery_area - Change oracle .bash_profile [oracle@localhost ~]$ cp -p .bash_profile .bash_profile.20110516 [oracle@localhost ~]$ gedit .bash_profile (gedit:31980): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. (not sure what this warning is all about, it updated. - Now you need to connect as “root” and give to command: xhost + to enable X applications , than connect as “oracle” and run xclock to see if it’s working [root@localhost /]# xhost + access control disabled, clients can connect from any host [oracle@localhost ~]$ xclock Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed [oracle@localhost ~]$ xclock works in oracle and root, but oracle session has authentication rejected warnings ? These warnings disappear if I am not su - oracle but log out of jcchoy and log back in as oracle which is what I need to do to install oracle. How to configurate the non-network loop back OEL 5.6 VM ? find out hostname is not set ( has this name - localhost.localdomain ) [root@localhost sf_Oracle_11G2.0.2]# hostname localhost.localdomain [root@localhost sf_Oracle_11G2.0.2]# hostname command doesn't set it permanently, follow how I configured hostnames to loopback experience in Oracle 10gR2 Linux fedora 13 VM to edit /etc/hosts (bkup first) by adding 2 127.0.0.1 lines infront of 127.0.0.1 localhost.localdomain localhost let's assign a host name of olinux5.oraclelinux olinux5 ? I think I might be fine as long as there is a 127.0.0.1 line and let hostname default to localhost.localdomain. I will soon find out when I run through Oracle pre-install tasks. - Copy the windows xp F:\Oracle11gR2 download\database and grid folder (devices\shared folder to folder-name Oracle_11G2.0.2) to /Oracle_download on OEL 5.6 # cd /Oracle_download # cp -r /media/Oracle_11G2.0.2/database/ . # cp -r /media/Oracle_11G2.0.2/grid/ . - Add a new virtual disk (8 GB) to VM of size at least 4 GB to install Grid Infrastructure; use fdisk to create a partition (logical disk) in it. - the new disk device is named /dev/sdb which you can verify with fdisk -l command to list all disk partitions. e.g. /dev/sda disk device has 2 partitions: /dev/sda1 (boot partition) and /dev/sda2. - Linux require all disk device to have at least 1 partition to function. commands to use : # man fdisk # fdisk -l # fdisk /dev/sdb (ready new disk device /dev/sdb for linux) [jcchoy@localhost ~]$ su - root Password: [root@localhost ~]# cat /proc/partitions major minor #blocks name 8 0 64735232 sda 8 1 104391 sda1 8 2 64629495 sda2 8 16 8388608 sdb 253 0 60489728 dm-0 253 1 4128768 dm-1 [root@localhost ~]# fdisk -l Disk /dev/sda: 66.2 GB, 66288877568 bytes 255 heads, 63 sectors/track, 8059 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 8059 64629495 8e Linux LVM Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table Disk /dev/dm-0: 61.9 GB, 61941481472 bytes 255 heads, 63 sectors/track, 7530 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 4227 MB, 4227858432 bytes 255 heads, 63 sectors/track, 514 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/dm-1 doesn't contain a valid partition table [root@localhost ~]# - screw up a bit with fdisk /dev/sdb initially, hope it will work after reboot. [root@localhost ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Command (m for help): [root@localhost ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# - shutdown OEL 5.6 and VM and restart again, /dev/sdb has a partition /dev/sdb1 which looks fine.(Francisco's instructions - reboot your virtual machine to allow the new partition to be used). [jcchoy@localhost ~]$ su - root Password: [root@localhost ~]# fdisk -l /dev/sdb Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1044 8385898+ 83 Linux [root@localhost ~]# - configure the disk(s ) to be used by ASM, for this we will use the command: # oracleasm configure –i [root@localhost ~]# oracleasm configure -i Configuring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library driver. The following questions will determine whether the driver is loaded on boot and what permissions it will have. The current values will be shown in brackets ('[]'). Hitting without typing an answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: oracle Default group to own the driver interface []: dba Start Oracle ASM library driver on boot (y/n) [n]: y Scan for Oracle ASM disks on boot (y/n) [y]: y Writing Oracle ASM library driver configuration: done [root@localhost ~]# - Initialize the asmlib with the oracleasm init command. This command will load the oracleasm module and also mounts the oracleasm filesystem. [root@localhost ~]# oracleasm init Creating /dev/oracleasm mount point: /dev/oracleasm Loading module "oracleasm": oracleasm Mounting ASMlib driver filesystem: /dev/oracleasm [root@localhost ~]# - Now is time to use the oracleasm createdisk command to create the ASM disk label for each disk as follow: [root@localhost ~]# oracleasm createdisk DATA1 /dev/sdb1 Writing disk header: done Instantiating disk: done [root@localhost ~]# - To check if the disk is visible to the ASM and to see if it is mounted in the oracleasm filesystem use the following commands as below: [root@localhost ~]# oracleasm listdisk oracleasm: 'listdisk' is not an oracleasm command Usage: oracleasm [--exec-path=] [ ] oracleasm --exec-path oracleasm -h oracleasm -V The basic oracleasm commands are: configure Configure the Oracle Linux ASMLib driver init Load and initialize the ASMLib driver exit Stop the ASMLib driver scandisks Scan the system for Oracle ASMLib disks status Display the status of the Oracle ASMLib driver listdisks List known Oracle ASMLib disks querydisk Determine if a disk belongs to Oracle ASMlib createdisk Allocate a device for Oracle ASMLib use deletedisk Return a device to the operating system renamedisk Change the label of an Oracle ASMlib disk update-driver Download the latest ASMLib driver [root@localhost ~]# oracleasm listdisks DATA1 [root@localhost ~]# ls -l /dev/oracleasm/disks total 0 brw-rw---- 1 oracle dba 8, 17 May 16 21:55 DATA1 [root@localhost ~]# - Now I am ready to install the Grid Infrastructure. For the installation of Oracle 11g see http://www.oraclenz.com/ which has a tutorial of how to add new virtual disk to VM and the actual install. 2011-05-16 Monday: Status of the day 10:15 pm - Created a new VM - Installed Oracle Enterprise Linux 5.6 (OEL 5.6) which has oracleasm driver - Configured oracleasm successfully - Ready to install Grid Infrastructure upload this text file to windows xp: # sudo mount -t vboxsf Oracle_11G2.0.2 /media/sf_Oracle_11G2.0.2 # cd sf_Oracle_11G2.0.2 # cp ~jcchoy/Desktop/oracle_linux_5.6_installation_notes.txt . cp: overwrite `./oracle_linux_5.6_installation_notes.txt'? y 2011-05-23 Monday: Status before the day 1:00 pm cannot access www.oraclenz.com (website down 404 not found) Francisco seems to have only 1 ASM disk data1 only, - create 7 more SATA disk in Ora11gR2.2 VM: SATA Controller existing SATA Port 0: Ora11gR2.2.vdi.vdi (Normal, 61.74 GB) existing SATA Port 1: Ora11gR2.2 Grid.vdi.vdi (Normal, 8 GB) new SATA Port 2: ASM2.vdi (Normal, 8 GB) new SATA Port 3: ASM3.vdi (Normal, 8 GB) new SATA Port 4: ASM4.vdi (Normal, 8 GB) new SATA Port 5: ASM5.vdi (Normal, 8 GB) new SATA Port 6: ASM6.vdi (Normal, 8 GB) new SATA Port 7: ASM7.vdi (Normal, 8 GB) new SATA Port 8: ASM8.vdi (Normal, 8 GB) - log on to OEL 5.6 and run oracle asm to configure the disks [root@localhost ~]# cat /proc/partitions major minor #blocks name 8 0 64735232 sda 8 1 104391 sda1 8 2 64629495 sda2 8 16 8388608 sdb 8 17 8385898 sdb1 8 32 8388608 sdc 8 48 8388608 sdd 8 64 8388608 sde 8 80 8388608 sdf 8 96 8388608 sdg 8 112 8388608 sdh 8 128 8388608 sdi 253 0 60489728 dm-0 253 1 4128768 dm-1 [root@localhost ~]# [root@localhost ~]# fdisk /dev/sdc Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# fdisk /dev/sdd Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): clear DOS Compatibility flag is not set Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# fdisk /dev/sde Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# [root@localhost ~]# fdisk /dev/sdf Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# [root@localhost ~]# fdisk /dev/sdg Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@localhost ~]# [root@localhost ~]# fdisk /dev/sdh Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@localhost ~]# [root@localhost ~]# fdisk /dev/sdi Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1044, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): 1044 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# [root@localhost ~]# cat /proc/partitions major minor #blocks name 8 0 64735232 sda 8 1 104391 sda1 8 2 64629495 sda2 8 16 8388608 sdb 8 17 8385898 sdb1 8 32 8388608 sdc 8 33 8385898 sdc1 8 48 8388608 sdd 8 49 8385929 sdd1 8 64 8388608 sde 8 65 8385898 sde1 8 80 8388608 sdf 8 81 8385898 sdf1 8 96 8388608 sdg 8 97 8385898 sdg1 8 112 8388608 sdh 8 113 8385898 sdh1 8 128 8388608 sdi 8 129 8385898 sdi1 253 0 60489728 dm-0 253 1 4128768 dm-1 [root@localhost ~]# - shutdown OEL 5.6 and VM and restart before running oracleasm. I think Francisco is referring to Oracle downloaded files. View (part 4 Oracle 11gR2 Grid Infrastructure, ASM configuration and 11gR2 Install) http://oraclenz.com/2011/04/18/playing-with-oracle-11gr2-oel-56-and-virtualbox-402-4th-part/