0 Replies Latest reply: Jul 12, 2013 3:25 AM by 1013575 RSS

    /dev/rdsk/c5t2d0s0 cannot be changed the owner to grid user with group asmdba

    1013575

      Hi Everyone!

       

      I have just implement Oracle RAC using Grid infrastructure 12cr1 on Solaris 11, and I use openfiler as the share iscsi storage.

       

      After, I discovered the devices from storage already. I execute some commands to check the shared disks:

       

      # format

      AVAILABLE DISK SELECTIONS:

             0. c4t0d0 <VMware,-VMware Virtual S-1.0 cyl 13051 alt 2 hd 255 sec 63>

                /pci@0,0/pci15ad,1976@10/sd@0,0

             1. c5t2d0 <OPNFILER-VIRTUAL-DISK-0 cyl 2608 alt 2 hd 255 sec 63>

                /iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,0

             2. c5t3d0 <OPNFILER-VIRTUAL-DISK-0 cyl 2608 alt 2 hd 255 sec 63>

                /iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,1

             3. c5t4d0 <OPNFILER-VIRTUAL-DISK-0 cyl 2608 alt 2 hd 255 sec 63>

                /iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,2

       

      From the output above, there is 3 shared disk discovered. Then I format and create 1 partition each.

      I try to change to permission of these shared disks to grid with group asmadmin, but Those disks remain belonging to root user and group root

       

      # chown grid:asmadmin /dev/rdsk/c5t2d0s0

      # chown grid:asmadmin /dev/rdsk/c5t3d0s0

      # chown grid:asmadmin /dev/rdsk/c5t4d0s0

      # chmod 660 /dev/rdsk/c5t2d0s0

      # chmod 660 /dev/rdsk/c5t3d0s0

      # chmod 660 /dev/rdsk/c5t4d0s0

       

      # ls -la /dev/rdsk/c5t2d0s0

      lrwxrwxrwx   1 root     root          77 Jul 12 11:48 /dev/rdsk/c5t2d0s0 -> ../../devices/iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,0:a,raw

       

      # ls -la /dev/rdsk/c5t3d0s0

      lrwxrwxrwx   1 root     root          77 Jul 12 11:48 /dev/rdsk/c5t3d0s0 -> ../../devices/iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,1:a,raw


      # ls -la /dev/rdsk/c5t4d0s0

      lrwxrwxrwx   1 root     root          77 Jul 12 11:48 /dev/rdsk/c5t4d0s0 -> ../../devices/iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.disk0001,2:a,raw


      Please, anyone guide me on how to change the permission on to grid user with asmadmin.

      Regards,

      Dara