Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-13-2012, 10:54 PM   #1
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with (still off the hook)
Posts: 284

Rep: Reputation: 33
autofs problem

Hello everyone,

Here is something that is driving me crazy.
I have a Xen VM running CentOS 5.8, on that VM I have 2 mount points that I want manage by autofs, there is a block-attach device(external drive) mapped to the VM and the VM sees it just as expected, as a matter of fact I have created a partition table and format it by hand.
Now since the device will not always be connected to the VM, and to prevent it from hanging on reboot, I want to manage this device with autofs

I have added the mount points into the auto.master as:
/media     /etc/
/backups /etc/auto.backups
And the file looks like this:
media   -fstype=ext3,noatime,sync,umask=002   :/dev/xvdb1
* -fstype=nfs,rw,wsize=32768,wsize=32768,intr,bg,soft server:/backups

When I restart autofs this is what I get on the log over and over again:
Jun 13 20:07:25 mirrors automount[1512]: st_ready: st_ready(): state = 2 path /media
Jun 13 20:07:28 mirrors automount[1512]: st_expire: state 1 path /media
Jun 13 20:07:28 mirrors automount[1512]: expire_proc: exp_proc = 3065531280 path /media
Jun 13 20:07:28 mirrors automount[1512]: expire_cleanup: got thid 3065531280 path /media stat 0
Jun 13 20:07:28 mirrors automount[1512]: expire_cleanup: sigchld: exp 3065531280 finished, switching from 2 to 1
Same for the backups one

Oddly enough, I know that autofs is doing something because when is up, I cannot write anything inside /media or /backups but there is no lost+found either, besides the directories are created by autofs and they are gone when I stop it.

Any help will be more than welcome.


Max L


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofs problem kingston Linux - Newbie 2 01-17-2011 12:24 AM
autofs problem on SuSe 10 sunilvadranapu SUSE / openSUSE 2 01-06-2009 07:31 AM
AUTOFS problem in Centos 5 sm0king_ac3 Linux - Newbie 1 08-10-2008 02:54 AM
autofs mounting problem vm_devadas Linux - Networking 2 12-21-2007 05:25 AM
autofs problem with hierarchical david1274 Linux - Enterprise 1 05-29-2004 12:33 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration