To mount a file system permanently on a solaris system in such a
way that it sustains a reboot is by adding the file system to a particular file that is
read by the system after a reboot/startup .
The file associated with permanent mounting is /etc/vfstab.
There are 7 fileds in /etc/vfstab.
1. Device to mount : Here we need to specify
the full path of the block special
device to mount.
for eg: /dev/dsk/c0t0d0s5
2. Device to Fsck : In this field we need to
specify the raw device name.
for eg: /dev/rdsk/c0t0d0s5
3. Mount Point : Here we need to specify the
mount point created for the device.
4. FS Type : Here we need to specify the file
system type.If it is unix file system then
ufs or zfs. If it is network file system then
nfs. If you are using veritas volume
manager then Vxfs.
5. Fsck Check : This filed checks the file
system during boot on priority basis
which is mentioned in the ufs boot tab.
for eg: 1 means to check forcefully ,
2 means second priority.
6. Auto mount : This field accepts yes or
no as a value.When set to yes the file
system will be automatically mounted
by mountall after a reboot.
7. Mount options : This field accepts a
list of comma separated options that
are used in mounting the file system.
Comments
Post a Comment