Find us on Google+ Google+

November 19, 2011

oracleasm utility

Oracle ASM library (ASMLib) driver

#/etc/init.d/oracleasm start

#/etc/init.d/oracleasm stop

#/etc/init.d/oracleasm restart

#/etc/init.d/oracleasm status



#/etc/init.d/oracleasm enable

#/etc/init.d/oracleasm disable




#/etc/init.d/oracleasm configure

#/etc/init.d/oracleasm createdisk DISK_NAME PARTITION_NAME
#/etc/init.d/oracleasm createdisk VOL3 /dev/sdd1
#/etc/init.d/oracleasm createdisk ASM_DATA /dev/cciss/c0d1p1

#/etc/init.d/oracleasm scandisks

#/etc/init.d/oracleasm listdisks

#/etc/init.d/oracleasm querydisk DISK_NAME
#/etc/init.d/oracleasm querydisk -d LABEL
#/etc/init.d/oracleasm querydisk /dev/sdc6
#/etc/init.d/oracleasm querydisk -d VOL6
#/etc/init.d/oracleasm querydisk -p VOL1

#/etc/init.d/oracleasm renamedisk PARTITION_NAME DISK_NAME
#/etc/init.d/oracleasm renamedisk /dev/sdc1 VOL2

#/etc/init.d/oracleasm deletedisk DISK_NAME
#/etc/init.d/oracleasm deletedisk /dev/sdc9


/etc/sysconfig/oracleasm  -- Oracle ASMLib configuration file