Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fixing the vfstab

Status
Not open for further replies.

durban56

Technical User
Oct 10, 2006
38
0
0
US
Can anyone help me with the procedure for fixing the vfstab.


Thanks
 
I was making some changes to it [vsftab] and when I reboot the server it refuse to boot.

I know I can do:
boot cdrom -s
run fsck on cxtxdxs0
mount /dev/rdsk/cxtxdxs0 /a

...after this I'm lost.

Thanks!
 
After you mount the proper slice to /a vi /a/etc/vfstab and correct your mistakes.
 
Here is a basic vfstab. You can use it as a model and swap out your own partition layout.
You can get this info after booting from cdrom using the format command.

Rememder 7 fields on each line.

Hope this helps,


#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/c0t0d0s3 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no
-
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /var ufs 1 no
-
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2
yes -
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /opt ufs 2 yes
-
swap - /tmp tmpfs - yes -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top