etc/vfstab

Hi Everyone,
How to find the wrong entry in etc/vfstab or wrong mount point in etc/vfstab ?

Thanks & Regards
Padmaja.

Sorry if I sound arrogant but are you serious?

  1. Ask yourself what makes you know that an entry is wrong.
  2. Use that gained knowledge to proceed.
  3. Identify the filesystem name / mount point that you are missing or which is reported in an error message and retrieve it's name. Write it down or copy it in your buffer for later copy&paste.
  4. Use the grep command on your /etc/vfstab to find the pattern for it; maybe escape slashes or leave them out and just use a small somewhat unique portion of the name.
  5. If grep does not work for some reason, do it manually by using the tools pg, more or less or your favourite editor.

iam new to solaris,if we doesnt know wrong mount point ,so how can we find wrong mounpoint in etc/vfstab.

easy

in terminal enter

 
mountall 

and Solaris wll tell you what entry is wrong , and if don`t mistake it even reportes on boot when says "Mounting file systems" :smiley:

If you reboot the system and you have no errors, system coming up fine, means that your /etc/vfstab is clean.. this is also another method