4 Replies Latest reply: Oct 24, 2013 5:25 AM by 904696 RSS

    Unable to create any files under '/' and /export/home as root user

    904696

      Dear Forum,

      Please help me on this problem.

      In my server I cant create any files under / and /export/home . But I can save files under /var, /tmp ,/opt



      #cd /

      #touch tempfile

      touch: tempfile cannot create

       

      #cd /export/

      # ls -lp

      total 2

      drwxr-xr-x   9 root     root         512 Oct 20 11:09 home/

       

      # cd home

      # touch testfile

      touch: testfile cannot create

       

      # id

      uid=0(root) gid=0(root)

       

      # df -kh

      Filesystem             size   used  avail capacity  Mounted on

      /dev/md/dsk/d0         9.9G   5.5G   4.2G    57%    /

      /devices                 0K     0K     0K     0%    /devices

      ctfs                     0K     0K     0K     0%    /system/contract

      proc                     0K     0K     0K     0%    /proc

      mnttab                   0K     0K     0K     0%    /etc/mnttab

      swap                    22G   1.2M    22G     1%    /etc/svc/volatile

      objfs                    0K     0K     0K     0%    /system/object

      /dev/md/dsk/d3         9.9G   6.8G   3.0G    70%    /usr

      /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1

                             9.9G   5.5G   4.2G    57%    /platform/sun4u-us3/lib/libc_psr.so.1

      /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1

                             9.9G   5.5G   4.2G    57%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

      fd                       0K     0K     0K     0%    /dev/fd

      /dev/md/dsk/d5         7.9G   2.5G   5.3G    33%    /var

      swap                    22G   400K    22G     1%    /tmp

      swap                    22G    48K    22G     1%    /var/run

      /dev/md/dsk/d4          20G   4.7G    15G    25%    /opt

      /dev/md/dsk/d6          63G    36G    26G    58%    /data

       

       

       

      # more /etc/vfstab

      #device         device          mount           FS      fsck    mount   mount

      #to mount       to fsck         point           type    pass    at boot options

      #

      fd      -       /dev/fd fd      -       no      -

      /proc   -       /proc   proc    -       no      -

      /dev/md/dsk/d1  -       -       swap    -       no      -

      /dev/md/dsk/d0  /dev/md/rdsk/d0 /       ufs     1       no      -

      /dev/md/dsk/d3  /dev/md/rdsk/d3 /usr    ufs     1       no      -

      /dev/md/dsk/d5  /dev/md/rdsk/d5 /var    ufs     1       no      -

      /dev/md/dsk/d6  /dev/md/rdsk/d6 /data   ufs     2       yes     -

      /dev/md/dsk/d4  /dev/md/rdsk/d4 /opt    ufs     2       yes     -

      #10.183.103.11:/backup  -       /backup nfs     -       yes     rw

      /devices        -       /devices        devfs   -       no      -

      ctfs    -       /system/contract        ctfs    -       no      -

      objfs   -       /system/object  objfs   -       no      -

      swap    -       /tmp    tmpfs   -       yes     -

      10.183.103.11:/nfs_backup/NCMDB1 - /rman_backup nfs 0 yes rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768

       

       

      Regards,

        • 2. Re: Unable to create any files under '/' and /export/home as root user
          904696

          I guess it is not for / permission. But still I checked and found below

           

          # cd /

          # ls -ld
          drwxr-xr-x 36 root root 1024 Aug 13 15:47

          • 3. Re: Unable to create any files under '/' and /export/home as root user
            Pascal Kreyer-Oracle

            What is the output of /etc/mnttab ?

            • 4. Re: Unable to create any files under '/' and /export/home as root user
              904696

              Please have the output of /etc/mnttab

               

              /dev/md/dsk/d0  / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540000 1382602314

              /devices /devices        devfs dev=5400000     1382602306

              ctfs /system/contract ctfs    dev=5440001     1382602306

              proc    /proc proc    dev=5480000     1382602306

              mnttab  /etc/mnttab mntfs   dev=54c0001     1382602306

              swap /etc/svc/volatile       tmpfs xattr,dev=5500001       1382602306

              objfs   /system/object  objfs dev=5540001     1382602306

              /dev/md/dsk/d3  /usr ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540003 1382602315

              /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1 /platform/sun4u-us3/lib/libc_psr.so.1   lofs dev=1540000     1382602313

              /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1 /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 lofs    dev=1540000     1382602313

              fd      /dev/fd fd      rw,dev=5700001  1382602315

              /dev/md/dsk/d5  /var ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540005 1382602315

              swap    /tmp tmpfs   xattr,dev=5500002 1382602315

              swap /var/run        tmpfs xattr,dev=5500003       1382602315

              /dev/md/dsk/d4  /opt ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540004 1382602318

              /dev/md/dsk/d6  /data ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540006 1382602318

              -hosts  /net    autofs nosuid,indirect,ignore,nobrowse,dev=57c0001     1382602321

              auto_home /home   autofs  indirect,ignore,nobrowse,dev=57c0002 1382602321

              NCM1:vold(pid393) /vol    nfs ignore,noquota,dev=5780001      1382602322