LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2004, 10:05 PM   #1
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
samba unmounting problems


Hey all,

I have written a script that is run that gathers a file off all Windows machines via Samba and copies them to the Linux machine. The command I use to mount the shares is mount -t smbfs -o username=bob,password=yesbob $backpath /mnt (the backpath bit is the Windows directories) This seems to work fine, however I believe I'm having troubles when it comes to unmounting each share. They don't all seem to unmount properly and when they don't mounts start pilling up and errors occur; my unmount command is umount -r -f /mnt is this where my problem lies? My mount just seem to not listen to me and even as root I have trouble unmounting shares.
 
Old 08-05-2004, 03:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What errors do you get?

Make sure that nothing is accessing the partition when it is being unmounted.
 
Old 08-11-2004, 02:03 AM   #3
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Original Poster
Rep: Reputation: 15
Yeh, sorry that I havent replied quicker, the error is like access denied, device is busy (cant really remember properly) And sometimes after a while I can unmount it, other times I just have to reboot.
 
  


Reply


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Problems mounting/unmounting flash USB drive LordSurvivoR Linux - Hardware 1 07-13-2005 12:19 AM
problems mounting and unmounting iso images. Snerkel Linux - Software 5 08-21-2004 07:57 PM
power down and unmounting cd problems mmail75 Fedora 5 12-08-2003 05:33 AM
unmounting cdrom / I already mounted my cd rom rpm problems jamaso Linux - General 3 03-24-2002 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 PM.

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