The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with automount in Aix sriram.s AIX 6 05-02-2007 11:13 PM
automount question XNOR UNIX for Dummies Questions & Answers 8 04-24-2007 04:09 PM
CD automount does not work aribault SUN Solaris 3 06-29-2006 02:26 AM
AutoMount janavenki UNIX for Advanced & Expert Users 7 09-13-2004 04:16 AM
Automount hassan2 UNIX for Advanced & Expert Users 1 05-19-2004 01:12 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-30-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
automount

I install an external disk on my sun solaris 8
this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local

then 6 hours later

files under /local/files was 1 byte in size

at the same time I received the following

error message in /var/adm/messages

automountd[7070]: [ID 155600 daemon.error] Mount of /local/files on /local/files would result in deadlock, aborted

the funny thing is the that /local/files is mount
in vfstab and not automount.

the only thing the uses automountd is the home directory automatically to mount home directory from nfs server.

last command shows that I was the only one logged
in at the time.

can you help? please
Forum Sponsor
  #2 (permalink)  
Old 10-30-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
The error is caused when a loopback mount is attempted.

Check that NIS or NIS+ does not have an entry for mounting /local or /local/files (where do your home directories mount?) /home ?).

Since this is a new disk, you could either try to find the problem and fix it, or just mount the new disk on a different name, /anyothername. (You could also do this to try to find what was trying to mount up on /local...)

If you do find that something is trying to mount up on /local or /local/files, then you can vi /etc/auto_master and tell it not to mount that file system

# Master map for automounter
/local/filesl -null
+auto_master

This tells the automount to not use the /local/files map entry which will
allow you to use a local /local/files directory on the host.
  #3 (permalink)  
Old 10-30-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
THanks RTM,

I forgot to mention that files and subdirectory under /local/files
disappeared.

the size of the /local/files directory is now 1 byte from 5mb
I have no logical explaination for this.

I have never see or heard of files disppearing unless someone delete the file.

the /local/files directory is mounted locally and not through automount.

my auto_master configuration is like

+auto_master
/- auto_home rw,nosuid,browse

I have stopped and restarted automount daemon several times
but still receiving error message.

is they any explaination for this.
  #4 (permalink)  
Old 10-31-2002
kie kie is offline
Registered User
 

Join Date: Oct 2002
Location: England
Posts: 34
Are you sure something hasn't mounted over the /local/files
directory ?

check with a bdf or df -k

Kie
__________________
Kie
Unix bod
  #5 (permalink)  
Old 10-31-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
thanks everyone. problem solved.

I issued automount -v

and this drametically solved the problem with files under /local/files back to it normal size.

the server now understand /local as a locally
mounted in vfstab and not automount


Thanks again
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0