Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users automount
# 1  
Old 10-30-2002

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  
Old 10-30-2002
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

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  
Old 10-30-2002
THanks RTM,

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

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_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  
Old 10-31-2002
Are you sure something hasn't mounted over the /local/files
directory ?

check with a bdf or df -k

# 5  
Old 10-31-2002
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Need help with automount.. is not working!!

When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data). I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies

2. Red Hat

Automount in RHEL

Hello experts, On my RHEL box when i mount a nfs file system using autofs, the df -t shows the file system as nfs only. For which mounts does it report the filesystem as autofs. ?? I actually want to see the filesystem getting reported as autofs instead of nfs. Pls guide me I... (1 Reply)
Discussion started by: achak01
1 Replies

3. Linux

Automount problem

Hi, Please give step by step how to do automount in linux Thanks, Mani (9 Replies)
Discussion started by: Mani_apr08
9 Replies

4. AIX

Help on Unconfiguring Automount

Hi All, Please help. I need an advise on how to Unconfigure automount please. Many Thanks. (2 Replies)
Discussion started by: EngnrRG
2 Replies

5. Solaris

Automount in Solaris 10

Hi friends I'm a newbie trying to automount a nfs shared directory. Below is the configuration I'm using FreeBSD machine as NFS server. IP Address - # cat /etc/exports /shared Solaris 10 as NFS client. IP Address - # cat... (1 Reply)
Discussion started by: pankajj
1 Replies

6. Shell Programming and Scripting

automount script

I'm attempting to take an fstab that looks something like this: /proc /proc proc rw,nosuid,nodev,noexec 0 0 /sys /sys sysfs rw,nosuid,nodev,noexec 0 0 /dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 /dev/pts /dev/pts devpts mode=0622 0 0... (6 Replies)
Discussion started by: unclecameron
6 Replies

7. UNIX for Dummies Questions & Answers

Automount issue

Folks; I'm mounting a directory on a different SUSE 10 server from my SUSE server fine. using this mount command: # mount /var/local/new this command above works fine but when i added a new line to my "/etc/fstab" to be mounted automatically every time i... (2 Replies)
Discussion started by: Katkota
2 Replies

8. UNIX for Dummies Questions & Answers

automount question

Hello, I was reading about automounting on Solaris10 and faced with the following sentence: "When the automount daemon is initialized on the server, no exported directories are mounted by the clients." What does it mean? Could you please explain? What is "exported directories" ? Thanks (8 Replies)
Discussion started by: XNOR
8 Replies

9. UNIX for Advanced & Expert Users


Hi All How do I do a auto mount to a directory in a different unix server. I am using Solaris. Please advise!! TIA Jana (7 Replies)
Discussion started by: janavenki
7 Replies

10. UNIX for Advanced & Expert Users


My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine. All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine... (1 Reply)
Discussion started by: hassan2
1 Replies
Login or Register to Ask a Question