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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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-03-2007 03:13 AM
automount question XNOR UNIX for Dummies Questions & Answers 8 04-24-2007 08:09 PM
CD automount does not work aribault SUN Solaris 3 06-29-2006 06:26 AM
AutoMount janavenki UNIX for Advanced & Expert Users 7 09-13-2004 08:16 AM
Automount hassan2 UNIX for Advanced & Expert Users 1 05-19-2004 05:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-30-2002
hassan2 hassan2 is offline Forum Advisor  
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
  #2 (permalink)  
Old 10-30-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
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
hassan2 hassan2 is offline Forum Advisor  
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
  #5 (permalink)  
Old 10-31-2002
hassan2 hassan2 is offline Forum Advisor  
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0