Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th April 2006, 11:01 PM
nikosapi Offline
Registered User
 
Join Date: Dec 2005
Posts: 14
KDE mount Daemon error each time I plug in a device

I just started using nfs on my home media/storage server in my home, I have several hard disks in it and am sharing several directories (5 to be exact) using nfs.
On the client side (running FC5, with the latest updates) I am able to painlessly mount all the nfs shares, but as soon as I plug in an iPod or a camera (or put in a data-cd) I get the following error (from kde):
Code:
mount: 192.168.0.101:/mnt/nfs/Games already mounted or /home/nikosapi/nfs/Games busy
mount: according to mtab, 192.168.0.101:/mnt/nfs/Games is already mounted on /home/nikosapi/nfs/Games
I have no idea what could be causing this, can someone help?

This is my fstab:
Code:
LABEL=/                 /                       ext3    defaults        1 1
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
192.168.0.101:/mnt/nfs/Games    /home/nikosapi/nfs/Games        nfs     ro,hard,intr,user,async,auto    0       0
192.168.0.101:/mnt/nfs/Music    /home/nikosapi/nfs/Music        nfs     ro,hard,intr,user,async,auto    0       0
192.168.0.101:/mnt/nfs/Other    /home/nikosapi/nfs/Other        nfs     rw,suid,hard,intr,user,async,auto    0       0
192.168.0.101:/mnt/nfs/Software    /home/nikosapi/nfs/Software        nfs     ro,hard,intr,user,async,auto    0       0
192.168.0.101:/mnt/nfs/Video    /home/nikosapi/nfs/Video        nfs     ro,hard,intr,user,async,auto    0       0
And this is the output of mount:
Code:
[nikosapi@localhost nfs]$ mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.0.101:/mnt/nfs/Games on /home/nikosapi/nfs/Games type nfs (ro,noexec,nosuid,nodev,hard,intr,addr=192.168.0.101)
192.168.0.101:/mnt/nfs/Other on /home/nikosapi/nfs/Other type nfs (rw,noexec,nosuid,nodev,hard,intr,addr=192.168.0.101)
192.168.0.101:/mnt/nfs/Software on /home/nikosapi/nfs/Software type nfs (ro,noexec,nosuid,nodev,hard,intr,addr=192.168.0.101)
192.168.0.101:/mnt/nfs/Video on /home/nikosapi/nfs/Video type nfs (ro,noexec,nosuid,nodev,hard,intr,addr=192.168.0.101)
automount(pid1914) on /net type autofs (rw,fd=4,pgrp=1914,minproto=2,maxproto=4)
192.168.0.101:/mnt/nfs/Music on /home/nikosapi/nfs/Music type nfs (ro,noexec,nosuid,nodev,hard,intr,addr=192.168.0.101,user=nikosapi)
thanks in advance.

P.S. I am able to mount all the external media by right clicking on their icons and selecting "mount" after clicking "ok" on the error message.
Reply With Quote
  #2  
Old 25th April 2006, 11:38 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Not sure what it is myself but here are a few ideas.
1. leave out the hard and intr options
2. change the auto option to noauto and then in /etc/rc.local file add the mount command lines there.
3. do the first part of option 2 but not the rc.local part. Then add icons to the desktop for the network mount links and when needed to click on them to mount them.

Brian1
Reply With Quote
  #3  
Old 26th April 2006, 12:05 AM
nikosapi Offline
Registered User
 
Join Date: Dec 2005
Posts: 14
Neat, it works, kinda...
I tried all 3 options and the only one that worked is number 2.
Whenever I plug in any kind of media it seems to try and run the first of the 5 mount commands from fstab, the minute I unmount all the nfs shares, comment out all 5 mount commands from fstab, remount all the nfs shares one mount at a time (ex. mount -t nfs 192.168.0.101:/mnt/nfs/Software /home/nikosapi/nfs/Software -o ro,hard,intr,user,async
) THEN I can plug in my iPod and it works!!! (I've since added the mount commands to /etc/rc.local)
It would be nice to be able to have the mount commands in /etc/fstab so it's easier to mount and unmount the shares, but if this is the only way I'll have to live with it.

thanks!
Reply With Quote
  #4  
Old 26th April 2006, 12:22 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Glad to be of help. Never seen that before except if one uses the managed option which is more trouble than it is worth.

Are you using KDE or Gnome. In KDE you can create drive icons on the desktop by right click on the desktop and select Create New > Link to Device > NFS. Then under General give it a name you want then under Device select the line that matches what mount point you defined in fstab. Then you can right click on the icon and select umount.

No ideas under Gnome since not a big fan of it.

Brian1
Reply With Quote
  #5  
Old 26th April 2006, 01:13 AM
nikosapi Offline
Registered User
 
Join Date: Dec 2005
Posts: 14
Sadly that won't work because it still requires me to add a mount line to /etc/fstab which just recreates my original problem because even if the share is unmounted when I plug in a device it attempts to mount my first listed nfs share.
Odd eh?

thank you very much,

nikosapi
Reply With Quote
  #6  
Old 26th April 2006, 01:22 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
No idea why it would if the auto option is noauto. Only thought it might be kudzu as the issue. Kudzu is a tool that helps detect new hardware and auto config it to work. Try as root the command to turn of kudzu ' service kudzu stop '. If this helps and don't seem to need it then to stop it from startup is to issue this command as root ' chkconfig --level 345 kudzu off '.

Brian1
Reply With Quote
  #7  
Old 26th April 2006, 02:04 AM
nikosapi Offline
Registered User
 
Join Date: Dec 2005
Posts: 14
Nope, same error.
If someone is using nfs could you try reproducing the error?

thanks again,

nikosapi
Reply With Quote
  #8  
Old 27th April 2006, 11:19 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Tried using many of your options and could not reproduce your issue. I have no other ideas.

Brian1
Reply With Quote
Reply

Tags
daemon, device, error, kde, mount, plug, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error mounting device hda5 as video: mount: - Upgrading from Fedora 6 to 10 Joe Gwinn Using Fedora 2 18th January 2009 09:51 PM
Intel P965 ICH8: mount: error mounting /dev/root on /sysroot as auto: No such device lemaymd Hardware & Laptops 6 14th November 2007 10:19 PM
problem with Network plug daemon sivaram_swdw Servers & Networking 3 23rd May 2005 05:40 AM
How to specify OPTIONs for HAL Daemon to mount device? wizegg Using Fedora 1 12th November 2004 06:13 PM


Current GMT-time: 19:20 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat