vfstab entries not automounting


 
Thread Tools Search this Thread
Operating Systems Solaris vfstab entries not automounting
# 1  
Old 05-06-2011
vfstab entries not automounting

Please see my vfstab entries below..

Code:
#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      -       -
/proc   -       /www1/proc      proc    -       no      -       yes     -
/proc   -       /www2/proc      proc    -       no      -       yes     -
/dev/zvol/dsk/rpool/swap        -       -       swap    -       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
swap    -       /www1/tmp       tmpfs   -       yes     -
swap    -       /www2/tmp       tmpfs   -       yes     -

The lines marked in red is the problem area. Please find the o/p of df -k below.

Code:
Filesystem            kbytes    used   avail capacity  Mounted on
rpool/ROOT/s10s_u8wos_08a
                     70189056 28422929 38613360    43%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 8585640     384 8585256     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                     67036289 28422929 38613360    43%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                     67036289 28422929 38613360    43%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
swap                 8585376     120 8585256     1%    /tmp
swap                 8585288      32 8585256     1%    /var/run
swap                 8585256       0 8585256     0%    /www1/tmp
swap                 8585256       0 8585256     0%    /www2/tmp
rpool/export         70189056      23 38613360     1%    /export
rpool/export/home    70189056      21 38613360     1%    /export/home
rpool                70189056      97 38613360     1%    /rpool

Here only /proc is mounting not the others mentioned in vfstab. I tried manually mounting this and got the following warning/error.

Code:
 bash-3.00$ /usr/local/bin/sudo /usr/sbin/mount /proc /www1/proc
  Password:
  mount: Warning: Line for "/proc" in vfstab has too many entries
  mount: Warning: Line for "/proc" in vfstab has too many entries
  mount: Warning: Line for "/proc" in vfstab has too many entries
  mount: /proc not a block device

Can anybody help in troubleshooting this?

p.s: I removed some lines about a few NFS mounts from the vfstab just to save some space.
# 2  
Old 05-06-2011
The error is pretty descriptive. You have 2 columns too many in those additional /proc mount entries. Try:
Code:
#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      -       -
/proc   -       /www1/proc      proc    -       yes     -
/proc   -       /www2/proc      proc    -       yes     -
/dev/zvol/dsk/rpool/swap        -       -       swap    -       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
swap    -       /www1/tmp       tmpfs   -       yes     -
swap    -       /www2/tmp       tmpfs   -       yes     -

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 05-06-2011
You saved me.. Thanks a lot.... That worked.. i didn't notice that....
# 4  
Old 05-06-2011
You also have one extra (last) column in the first /proc entry.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

NFS mounts not automounting on boot

I have several Solaris 11.2 zones. when I reboot them I have to go in and do mountall to mount the NFS mounts. any ideas where to troubleshoot why they are not automounting? (2 Replies)
Discussion started by: os2mac
2 Replies

2. Solaris

etc/vfstab

Hi Everyone, How to find the wrong entry in etc/vfstab or wrong mount point in etc/vfstab ? Thanks & Regards Padmaja. (4 Replies)
Discussion started by: padmaja
4 Replies

3. Filesystems, Disks and Memory

automounting cifs folder

Hello, I have searched the forum but I can't find what I need. I have to mount an NTFS folder onto 2 redhat OS based servers, from an auto table set on an AIX 4.3.3 NIS server. I have the auto.xxx table set with some other UNIX share folders, for example : toto unixsrv:/fold1/& I'd... (0 Replies)
Discussion started by: davchris
0 Replies

4. Shell Programming and Scripting

question about vfstab

Hi all, I have been trying to figure out a way to mount swap on /tmp at a stage early than the default script that does it... If anyone knows how it can be done pls pls help me!!!!! I have been struggling a lot for it Secondly, continuing with the same issue... I wanted to know if the... (4 Replies)
Discussion started by: wrapster
4 Replies

5. Solaris

mount in vfstab

In the end of /etc/vfstab file : /dev/md/dsk/d30 /dev/md/dsk/d30 /odb0 ufs no no - /dev/md/dsk/d40 /dev/md/dsk/d40 /odb1 ufs no no - After boot filesystems /odb0 and /odb1 don't mount. Also they don't mount after comand mount -a But if i'm enter... (1 Reply)
Discussion started by: jess_t03
1 Replies

6. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

Hi all, First of all, i am so sorry about my bad level in English writing. I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me. I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies

7. HP-UX

how to configure automounting in HPUX

Hi, could any one help me by giving the steps to configure automount on HPUX? i have tried as below but it is not working. Pls tell me where i went wrong? automount configuration: 1. vi /etc/auto_master /sunil /etc/auto.sunil vi /etc/auto.sunil tedata ... (0 Replies)
Discussion started by: sunilvadranapu
0 Replies

8. UNIX for Dummies Questions & Answers

/etc/vfstab

If i wish to make a mount permanent, is it /etc/vfstab that i have to the entry add to? If so does anybody know the syntax, ie. is it tab or space delimited ? etc etc any help would be greatly appreciated (3 Replies)
Discussion started by: hcclnoodles
3 Replies
Login or Register to Ask a Question