Visit Our UNIX and Linux User Community


what is the difference between /etc/mnttab and /etc/vfstab


 
Thread Tools Search this Thread
Operating Systems Solaris what is the difference between /etc/mnttab and /etc/vfstab
# 8  
Old 06-09-2011
Shoot. I didn't use VMware much, but maybe I'll know the answer to your problems.
# 9  
Old 06-09-2011
i have set a hostname to my vmware solaris box. and i am trying to ping it from my windows xp machine. but its not working. when i try to ping using its IP its working. but when i try to ping with its hostname its not working. how to fix this? any suggestions?
# 10  
Old 06-09-2011
Add an entry for your Solaris host in the form of
Code:
ip_address hostname

to C:\WINDOWS\system32\drivers\etc\hosts on your Windows machine.
# 11  
Old 06-09-2011
On Solaris 10 at least, /etc/mnttab is now a separate filesystem unto itself. This allows the kernel to ensure that it is never out of date.

Code:
$ uname -a
SunOS geo-support1 5.10 Generic_127111-10 sun4u sparc SUNW,Sun-Blade-1000
$ df -k /etc/mnttab
Filesystem            kbytes    used   avail capacity  Mounted on
mnttab                     0       0       0     0%    /etc/mnttab
$

You can list the contents of /etc/mnttab by issuing "mount" with no arguments. Note that /etc/mnttab is included...
Code:
$
$ mount
/ on /dev/dsk/c1t1d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d80008 on Sat Apr 16 17:18:49 2011
/devices on /devices read/write/setuid/devices/dev=4e00000 on Sat Apr 16 17:18:34 2011
/system/contract on ctfs read/write/setuid/devices/dev=4e40001 on Sat Apr 16 17:18:34 2011
/proc on proc read/write/setuid/devices/dev=4e80000 on Sat Apr 16 17:18:34 2011
/etc/mnttab on mnttab read/write/setuid/devices/dev=4ec0001 on Sat Apr 16 17:18:34 2011
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4f00001 on Sat Apr 16 17:18:34 2011
/system/object on objfs read/write/setuid/devices/dev=4f40001 on Sat Apr 16 17:18:34 2011
/platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Sat Apr 16 17:18:43 2011
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Sat Apr 16 17:18:45 2011
/dev/fd on fd read/write/setuid/devices/dev=5100001 on Sat Apr 16 17:18:49 2011
/tmp on swap read/write/setuid/devices/xattr/dev=4f00002 on Sat Apr 16 17:18:52 2011
/var/run on swap read/write/setuid/devices/xattr/dev=4f00003 on Sat Apr 16 17:18:52 2011
/project on /dev/dsk/c1t1d0s4 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000c on Sat Apr 16 17:19:01 2011
/export/home on /dev/dsk/c1t1d0s3 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000b on Sat Apr 16 17:19:02 2011
$

# 12  
Old 06-09-2011
@ bartus11 .. Man your like God to me Smilie now i am able to ping the solaris host from my windows. Thanks a Ton.. was googling about the issue for more than a month but didnt get a clue. i should have joined this forum before itself. its awesome.

@perderabo ... Thanks for the tip.. thats a new thing i learn from you..

P.S : instead of googling and reading books better i can visit this forum for help. Thanks both of you again. I would be happy if i get the same support from this forum in future also. I depend on my vmware to learn things but i am new to both vmware and solaris. i hope you people will help me with it. Smilie

---------- Post updated at 10:17 AM ---------- Previous update was at 08:56 AM ----------

now i am able to ping my solaris box from windows. and i added the entry into /etc/hosts and now i am able to ping my windows from solaris box. thanks again for the tip.
now i am trying to login to solaris box through my putty installed in windows.
i am able to ssh to solaris host with help putty as any normal user but not as root user.

my doubt : how to ssh to solaris box as root user using putty. ?

---------- Post updated at 10:32 AM ---------- Previous update was at 10:17 AM ----------

Hi.. Got it fixed Smilie enable root login in sshd_config file Smilie
# 13  
Old 06-10-2011
Quote:
Originally Posted by bartus11
I think you could boot your Solaris host from CD, then mount root slice and change permissions there, then reboot. But I think you won't notice the change after reboot, as /etc/mnttab is a mountpoint for mnttab memory based filesystem (after mounting it by the system, permissions on the mountpoint change to those of the mounted FS).
How can I get my tape drive to work after deleting my etc folder?

Previous Thread | Next Thread
Test Your Knowledge in Computers #783
Difficulty: Medium
Microsoft launched its first retail version of Microsoft Windows in 1983.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/etc/mnttab empty UNIXware 7.1.3

Hi Guys New to this forum so apologies if posted in wrong place. Got a unixware 7.1.3 system (I know !). df -k produces no output which I believe is because /etc/mnttab is empty. Can /etc/mnttab be re-built ? Thanks (2 Replies)
Discussion started by: deel
2 Replies

2. Solaris

MNTTAB and NFS questions

SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise I have been asked to move all file from /CV to /EABATCH looking at our mnttab I see these two entries. wdcprodhome:/eabatch/EABATCH /EABATCH nfs nodevices,bg,intr,xattr,zone=cbp011,dev=5500010 1288539528 ... (0 Replies)
Discussion started by: Harleyrci
0 Replies

3. Solaris

My /etc/mnttab file is showing ro permission for /usr

Hi All, My current /usr utilization is 100%.As i don't have another harddisk i decided to delete some unnecessary files under /usr.But,while deleteing it is giving error "it is a readonly filesystem".I checked /etc/mnttab file it is showing the following entry /dev/lofi/1 /usr hsfs ... (3 Replies)
Discussion started by: navjotmannan
3 Replies

4. UNIX for Dummies Questions & Answers

/etc/vfstab vs /etc/mnttab

what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Discussion started by: hrist
4 Replies

5. 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

6. Linux

veritas hasf /etc/mnttab

Hi All, Where is now the /etc/mnttab if you are in veritas sfha for red hat es 4? Thanks in advance for any comments. (2 Replies)
Discussion started by: itik
2 Replies

7. UNIX for Advanced & Expert Users

/etc/mnttab is zero length - I have done a silly thing

Being the clever-clogs that I am, I have managed to clobber the contents of /etc/mnttab. It started when I tried to unmount all the volumes in a prticular veritas disk group and neglected to include a suitable grep in my command line, thus attempting to unmount _all_ the filesystems on the... (7 Replies)
Discussion started by: Smiling Dragon
7 Replies

8. HP-UX

bdf , /etc/fstab , /etc/mnttab

Hi all, Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued. An example of what I mean is, currently I see the following ... $ bdf -l Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 524288 ... (6 Replies)
Discussion started by: Cameron
6 Replies

9. UNIX for Dummies Questions & Answers

VFSTAB edit

Hello all... I have a Ultra 60 that that is used for connecting a large Xerox printer to the network. This computer takes PDF's and converts them to tiffs and sends them back to a pc :p . In order to transfer data back and forth a mount is manually performed on the UNIX box. The mount of course is... (1 Reply)
Discussion started by: xeroxguy
1 Replies

10. 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

Featured Tech Videos