For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
rpm -ivh http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel4/x86/2.1.4/oracleasm-support-2.1.4-1.el4.i386.rpm rpm -ivh http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/x86/2.0.3/2.6.9-55.EL/oracleasm-2.6.9-55.ELsmp-2.0.3-1.i686.rpm rpm -ivh http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el4.i386.rpm
### find package installed rpm -qa |grep oracleasm ### Remove package rpm -e <package_name>
$ rpm -qa |grep oracleasm-2.6 oracleasm-2.6.18-194.el5debug-2.0.5-1.el5 oracleasm-2.6.18-194.el5xen-2.0.5-1.el5 oracleasm-2.6.18-194.el5-2.0.5-1.el5 oracleasm-2.6.18-194.el5PAE-2.0.5-1.el5 ### I have installed 4 package to 4 different types of kernel. ## My current kernel is : uname -r 2.6.18-194.el5 So the package configured and in use : oracleasm-2.6.18-194.el5-2.0.5-1.el5
cd /dev # ls sd* sda sda1 sda2 sdb
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 1305. 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-1305, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305): Using default value 1305 Command (m for help): p Disk /dev/sdb: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1305 10482381 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.
/usr/sbin/oracleasm createdisk VOL1 /dev/sdb1