LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   autofs not unmounting partition (https://www.linuxquestions.org/questions/linux-newbie-8/autofs-not-unmounting-partition-4175447511/)

alieblice 01-28-2013 03:20 AM

autofs not unmounting partition
 
Hi
problem is that autofs not umount the partition also it remount the partition every 3 second.
here is my configs :

content of auto.master file :
Code:

+auto.master
/media/auto    /etc/ext4.auto --timeout 3

content of /etc/ext4.auto:
Code:

ext4            -fstype=ext4    :/dev/sda6
here is the log from syslog:
Code:

Jan 28 12:47:17 lp kernel: [11347.274459] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jan 28 12:47:21 lp kernel: [11351.465397] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jan 28 12:47:25 lp kernel: [11355.606366] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jan 28 12:47:30 lp kernel: [11359.764930] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jan 28 12:47:34 lp kernel: [11363.911912] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jan 28 12:47:38 lp kernel: [11368.053081] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)

i use Ubuntu 12.04

alieblice 01-30-2013 06:46 AM

Hi
I checked autofs mailing list for this problem and find out in gui based systems like ubuntu with gnome or other guis . file manager keep the mount point busy and because of that this problem happen.
I will check it on none gui system and write the results here.

alieblice 02-01-2013 02:52 AM

Hi every body
i just want to inform :
i did a test on none GUI debian and it works fine. so the problem was come from GUI file manager that keep the mount point busy and cause autofs not to unmount.


All times are GMT -5. The time now is 10:39 AM.