From the solaris man page, the /etc/vfstab is essentially a table of file system defaults. File systems placed in this file will be mounted at boot time. It is often very handy to place any nfs mount entries in here as well. It works very similarly to the unix fstab file, except in solaris it is vfstab. Once one adds an entry to this file they can try mounting it using the “mount -a” option. This will mount all file systems, but won’t try to remount ones that are already mounted, although it will generally give an error or warning if something odd happens. This is a good way to test that a machine will actually continue to boot instead of hanging in single user mode because of a vfstab error
An example of the /etc/vfstab file is:
root@solaris:~# cat /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # /devices - /devices devfs - no - /proc - /proc proc - no - ctfs - /system/contract ctfs - no - objfs - /system/object objfs - no - sharefs - /etc/dfs/sharetab sharefs - no - fd - /dev/fd fd - no - swap - /tmp tmpfs - yes - /dev/zvol/dsk/rpool/swap - - swap - no -
Leave a Reply
You must be logged in to post a comment.