title: asm drives dissapear after restart
body: <p>here is my story:</p>
  
  <p>I installed on VMWare Oracle Linux 6.6 and now I plan to install grid infrastructure 11.2.0.3 to test database with ASM.
  The first I did it was preparing three devices: sdd/sde/sdf. 
  I created partition on every drive then I added rule which map UUID to device:</p>
  
  <pre><code>[root@ORAHOST dev]# cat /etc/udev/rules.d/95-oracle-asmdevices.rules 
  KERNEL=="sdd1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29db07df5be78df12f25e0aa7fa", NAME="asm1", OWNER="grid", GROUP="asmadmin", MODE="0660"
  KERNEL=="sde1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29f577daa6a902849d466098de5", NAME="asm2", OWNER="grid", GROUP="asmadmin", MODE="0660"
  KERNEL=="sdf1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29d3ac6ee348f5026a9ac830a62", NAME="asm3", OWNER="grid", GROUP="asmadmin", MODE="0660"
  </code></pre>
  
  <p>and of course /sbin/start_udev restart</p>
  
  <p>Then configuration of oracleasm:</p>
  
  <pre><code>[root@ORAHOST dev]# 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 &lt;ENTER&gt; without typing an
  answer will keep that current value.  Ctrl-C will abort.
  
  Default user to own the driver interface [grid]: 
  Default group to own the driver interface [asmadmin]: 
  Start Oracle ASM library driver on boot (y/n) [y]: 
  Scan for Oracle ASM disks on boot (y/n) [y]: 
  Writing Oracle ASM library driver configuration: done
  [root@ORAHOST dev]# oracleasm init
  Loading module "oracleasm": oracleasm
  Configuring "oracleasm" to use device physical block size 
  Mounting ASMlib driver filesystem: /dev/oracleasm
  </code></pre>
  
  <p>Finally I added previously prepared devices</p>
  
  <pre><code>[root@ORAHOST dev]# oracleasm createdisk ASM1 /dev/asm1
  Writing disk header: done
  Instantiating disk: done
  [root@ORAHOST dev]# oracleasm createdisk ASM2 /dev/asm2
  Writing disk header: done
  Instantiating disk: done
  [root@ORAHOST dev]# oracleasm createdisk ASM3 /dev/asm3
  Writing disk header: done
  Instantiating disk: done
  [root@ORAHOST dev]# 
  </code></pre>
  
  <p>result was as below:</p>
  
  <pre><code>[root@ORAHOST dev]# oracleasm listdisks
  ASM1
  ASM2
  ASM3
  </code></pre>
  
  <p>so everything fine....  until I did a restart. it is enough to restart oracleasm by exit/init and all created disks dissapeares - no more disks anymore :( </p>
  
  <pre><code>[root@ORAHOST dev]# oracleasm exit
  Unmounting ASMlib driver filesystem: /dev/oracleasm
  Unloading module "oracleasm": oracleasm
  [root@ORAHOST dev]# oracleasm init
  Loading module "oracleasm": oracleasm
  Configuring "oracleasm" to use device physical block size 
  Mounting ASMlib driver filesystem: /dev/oracleasm
  [root@ORAHOST dev]# oracleasm listdisks
  [root@ORAHOST dev]#
  </code></pre>
  
  <p>All advices to such a case found by google are related to multipathing. I have no multipathing - just ordinary virtual devices.  Also permission are often the reason but I don't see any permission faults. 
  Could you give me any hints/advices/soultions . </p>
  
  <p>thanks in advance  </p>