How to check oracleasm config

yyp2009發表於2014-08-23
  uname -a
  cat /etc/*release
  rpm -qa |grep oracleasm
 /etc/init.d/oracleasm status
  lsmod |grep -i asm
 cat /proc/filesystems |grep -i asm
 ls -l /usr/sbin/oracleasm-discover
  /etc/init.d/oracleasm listdisks
  /etc/init.d/oracleasm listdisks | xargs /etc/init.d/oracleasm querydisk -p
 ls -l /dev/oracleasm/disks/*
 cat /proc/partitions
  cat /etc/sysconfig/oracleasm
 ls -l /etc/sysconfig/oracleasm*
  ps -ef|grep pmon
  ls -l /bin/oracle ## This is the home from where Grid Infra Home is running
  ls -l /u01/app/11.2.0/grid/
 ls -l /u01/app/11.2.0/grid/bin/oracle
 su - grid
 df -ha
 /usr/sbin/oracleasm-discover
  /usr/sbin/oracleasm-discover 'ORCL:*'
  /usr/sbin/oracleasm-discover '/dev/oracleasm/disks/*'
 cd /u01/app/11.2.0/grid/crs/bin
 ls
 ./kfod asm_diskstring='/dev/oracleasm/disks/*' disks=all
 cd bin
 ./kfod asm_diskstring='/dev/oracleasm/disks/*' disks=all
/etc/init.d/oracleasm listdisks | xargs /etc/init.d/oracleasm querydisk -p
ls -l /dev/oracleasm/disks/*

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13750068/viewspace-1256544/,如需轉載,請註明出處,否則將追究法律責任。

相關文章