Sponsored Content
Top Forums UNIX for Advanced & Expert Users /etc/mnttab is zero length - I have done a silly thing Post 302149118 by porter on Wednesday 5th of December 2007 01:21:33 AM
Old 12-05-2007
Quote:
Originally Posted by Perderabo
I understand that /etc/mnttab is actually implemented as a screwy filesystem itself on Solaris.
On Solaris 7 (I think) it behaved as just a file, where the mount/umount programs adjusted it, but the umount system call didn't touch it.

You could use the tried and tested Windows solution,..... reboot it.
 

10 More Discussions You Might Find Interesting

1. Solaris

Silly question

Are GNOME or javadsktop supported of the box on Solaris 10 on Ultra (SUNBlade 1500) ? I'could switch desktops to KDE at CDE logon. But when I tried to use the JavaDesktop it simply returns me back to the log on screen of CDE. How do I conigure to the latest GNOME and.or JavaDesktop if... (3 Replies)
Discussion started by: miket
3 Replies

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

3. UNIX for Dummies Questions & Answers

silly question

How do I go about finding the number of unique words in a file. (3 Replies)
Discussion started by: EECSDAVE
3 Replies

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

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

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

7. Solaris

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

what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly. (12 Replies)
Discussion started by: chidori
12 Replies

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

9. Post Here to Contact Site Administrators and Moderators

Might be silly question

Hi Team, In case if i want to delete one of my posting thread.. can i delete that? Just asking to know.. (5 Replies)
Discussion started by: darling
5 Replies

10. 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
mountdtab(4)						     Kernel Interfaces Manual						      mountdtab(4)

NAME
mountdtab - Table of local file systems mounted by remote NFS clients SYNOPSIS
/etc/mountdtab DESCRIPTION
The mountdtab file resides in the /etc directory and contains a list of all remote hosts that have mounted local file systems using the NFS protocols. Whenever a client performs a remote mount, the server machine's mount daemon makes an entry in the server machine's mountdtab file. The umount command instructs the server's mount daemon to remove the entry. The umount -b command broadcasts to all servers and informs them that they should remove all entries from mountdtab created by the sender of the broadcast message. By placing an umount -b command in a system startup file, mountdtab tables on NFS servers can be purged of entries made by a crashed client, who, upon rebooting, did not remount the same file systems that it had before the system crashed. Tru64 UNIX systems automatically call umount -b at system startup The format for entries in the mountdtab file is as follows: hostname:directory Rather than rewrite the mountdtab file on each umount request, the mount daemon comments out unmounted entries by placing a number sign (#) in the first character position of the appropriate line. The mount daemon rewrites the entire file, without commented out entries, no more frequently than every 30 minutes. The frequency depends on the occurrence of umount requests. The mountdtab table is used only to preserve information between crashes and is read only by the mountd daemon when it starts up. The mountd daemon keeps an in-core table, which it uses to handle requests from programs like showmount and shutdown. RESTRICTIONS
Although the mountdtab table is close to the truth, it may contain erroneous information if NFS client machines fail to execute a umount -a command when they reboot. RELATED INFORMATION
mount(8), umount(8), mountd(8), showmount(8), shutdown(8) delim off mountdtab(4)
All times are GMT -4. The time now is 05:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy