2 Replies Latest reply: May 22, 2012 9:37 AM by bobthesungeek76036 RSS

    Unable to create new filesystem

    850824
      Hi all,

      I am trying to create new filesytem in solaris 9 machine(HP Proliant hardware).
      I have partitioned using format command and below is the output,

      Current partition table (unnamed):
      Total disk cylinders available: 6047 + 2 (reserved cylinders)

      Part Tag Flag Cylinders Size Blocks
      0 root wm 1 - 64 502.03MB (64/0/0) 1028160
      1 swap wu 65 - 319 1.95GB (255/0/0) 4096575
      2 backup wm 0 - 6046 46.32GB (6047/0/0) 97145055
      3 unassigned wm 320 - 321 15.69MB (2/0/0) 32130
      4 unassigned wm 322 - 832 3.91GB (511/0/0) 8209215
      5 var wm 833 - 5602 36.54GB (4770/0/0) 76630050
      6 usr wm 5603 - 5921 2.44GB (319/0/0) 5124735
      7 home wm 5922 - 6036 902.09MB (115/0/0) 1847475
      8 boot wu 0 - 0 7.84MB (1/0/0) 16065
      9 unassigned wm 0 0 (0/0/0) 0

      I have made entries in /etc/vfstab and below are the entries:


      # vi /etc/vfstab
      "/etc/vfstab" 14 lines, 720 characters
      #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/dsk/c0t0d0s1 - - swap - no -
      /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no
      -
      /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no
      -
      /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 no
      -
      /dev/dsk/c0t0d0p0:boot - /boot pcfs - no -
      /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2
      yes -
      /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /opt ufs 2 yes
      -
      swap - /tmp tmpfs - yes -
      /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /kameleon ufs 2 no
      logging

      When i try to create filesystem using newfs command, i am getting the I/O error as shown below,

      # newfs /dev/rdsk/c0t0d0s6
      /dev/rdsk/c0t0d0s6: I/O error

      Please help me to get rid of this error for creating fs.

      Regards