Return to Solaris Home Page.


Sample /etc/vfstab File - (Solaris)

by Jeffrey Hunter, Sr. Database Administrator


There are many times that I need a sample /etc/vfstab around just as a reference when configuring a new Solaris machine - and here is one:

#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      -
#
# ---------------------------------------------------------
# DEFINE THE swap PARTITION
# ---------------------------------------------------------
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
#
# ---------------------------------------------------------
# MOUNT THE root PARTITION
# ---------------------------------------------------------
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no      -
#
# ---------------------------------------------------------
# MOUNT THE swap PARTITION
# ---------------------------------------------------------
swap    -       /tmp    tmpfs   -       yes     -
#
# ---------------------------------------------------------
# MOUNT /cartman VIA NFS
# ---------------------------------------------------------
cartman:/share2         -                       /cartman        nfs     -       yes     rw,soft
#
# ---------------------------------------------------------
# MOUNT /u01
# ---------------------------------------------------------
/dev/dsk/c0t2d0s7       /dev/rdsk/c0t2d0s7      /u01            ufs     2       yes     -
#
# ---------------------------------------------------------
# CONTROL 1  /  REDO G1 M1  /  REDO G2 M1  /  REDO G3 M1
#
# metainit d0 1 1 c1t0d0s7 -i 32k
# ---------------------------------------------------------
/dev/md/dsk/d0          /dev/md/rdsk/d0         /u03            ufs     2       yes     -
#
# ---------------------------------------------------------
# CONTROL 2  /  REDO G1 M2  /  REDO G2 M2  /   REDO G3 M2
#
# metainit d1 1 1 c2t0d0s7 -i 32k
# ---------------------------------------------------------
/dev/md/dsk/d1          /dev/md/rdsk/d1         /u04            ufs     2       yes     -
#
# ---------------------------------------------------------
# CONTROL 3  /  REDO G1 M3  /  REDO G2 M3  /  REDO G3 M3
#
# metainit d2 1 1 c1t1d0s7 -i 32k
# ---------------------------------------------------------
/dev/md/dsk/d2          /dev/md/rdsk/d2         /u05            ufs     2       yes     -
#
# ---------------------------------------------------------
# ALL ORACLE DATA FILES
#
# metainit d3 1 9 c2t1d0s7 c1t2d0s7 c1t3d0s7 c1t4d0s7 c1t5d0s7 c2t2d0s7 c2t3d0s7 c2t4d0s7 c2t5d0s7 -i 32k
# ---------------------------------------------------------
/dev/md/dsk/d3          /dev/md/rdsk/d3         /u06            ufs     2       yes     -
#



Last modified on: Saturday, 18-Sep-2010 18:23:38 EDT
Page Count: 81264