Fedora Linux Support Community & Resources Center
  #1  
Old 26th May 2004, 11:05 PM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
Mount problems in FC2

When I execute a mount -t smbfs //server/share /mnt/share -o username=xxxx,password=xxxxx, the mount appears to complete, but I get a permission denied on the folder. Also an ls -l against the parent directory shows:

drwxr-xr-x 2 root root 4096 May 19 17:55 home
drwxr-xr-x 2 root root 4096 May 19 17:55 install
?--------- ? ? ? ? ? share

when I attempt a umount, i get this:

umount: /mnt/share: device is busy
umount: /mnt/share: device is busy

Any help would be greatly appreciated.

MH
Reply With Quote
  #2  
Old 27th May 2004, 12:35 AM
redhatgeek Offline
Registered User
 
Join Date: May 2004
Location: omaha
Age: 33
Posts: 27
did you create a directory /mnt/share?
__________________
Want to join a distributed computing project to aid cancer research? Try Find-a-drug We could use your unused cpu cycles. I'm the team captain of Crunchers4life Team 2121. We could use your help!
Reply With Quote
  #3  
Old 27th May 2004, 03:57 AM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
Yes.

The directory was created prior to the mount command.
Reply With Quote
  #4  
Old 28th May 2004, 09:21 AM
linuxzouk Offline
Registered User
 
Join Date: Apr 2004
Location: Malaysia
Posts: 61
did you mount it using root?
__________________
WARNING!!! I'm a 24/7 full-time novice in everything!
Reply With Quote
  #5  
Old 30th May 2004, 05:02 PM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
Yes, I did the mount as root.

I have since confirmed that another instance on RH FC2 suffers from the same problem.

I heard rumors that upgrading mount mighth help, but I have not had a chance to try.

Anyone else had to update mount?

Thanks,

MH
Reply With Quote
  #6  
Old 30th May 2004, 05:07 PM
linuxzouk Offline
Registered User
 
Join Date: Apr 2004
Location: Malaysia
Posts: 61
sorry i can't help cause i don't have that prob with my mount
__________________
WARNING!!! I'm a 24/7 full-time novice in everything!
Reply With Quote
  #7  
Old 30th May 2004, 05:16 PM
deuch Offline
Registered User
 
Join Date: Apr 2004
Location: France
Age: 34
Posts: 340
try fuser /mnt/share to see what process is using the directory ...
Reply With Quote
  #8  
Old 4th June 2004, 05:04 AM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
fuser will not return anything....

I did find out that i can mount linux shares that are shared via samba.

Weird.

Any other pointers?

Thanks,

MH
Reply With Quote
  #9  
Old 4th June 2004, 05:21 AM
ndv Offline
Registered User
 
Join Date: May 2004
Location: Italy
Posts: 82
solution

you have to specify which user group will be the owner of the share:

try this:

mount -t smbfs //server/share /mnt/mountpoint -o username=xxx,password=yyy,uid=500,gid=500


where uid ang gid are the identifiers of the users ang roup the sare you wanto to belong.

try also this command

id

in order to discover your preferite user's ID

cheers
nicola
Reply With Quote
  #10  
Old 4th June 2004, 08:43 AM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
darn... still getting the same problem:

drwxr-xr-x 2 root root 4096 May 19 17:55 home
drwxr-xr-x 2 root root 4096 May 19 17:55 install
?--------- ? ? ? ? ? waveset

used:

mount -t smbfs -o username=xxxxx,gid=500,uid=500 //server/share /mnt/share

I tried it with a few different ids...

Thanks,

MH
Reply With Quote
  #11  
Old 4th June 2004, 02:18 PM
linuxzouk Offline
Registered User
 
Join Date: Apr 2004
Location: Malaysia
Posts: 61
have you try mount it into a different folder

say

# mkdir /root/share
# mount //server/share /root/share -t smbfs -o username=xxxx
__________________
WARNING!!! I'm a 24/7 full-time novice in everything!
Reply With Quote
  #12  
Old 5th June 2004, 10:38 AM
hmathew Offline
Registered User
 
Join Date: May 2004
Posts: 9
I tried mounting a different folder...

same problem.

Thanks for the input

MH
Reply With Quote
  #13  
Old 5th June 2004, 01:01 PM
linuxzouk Offline
Registered User
 
Join Date: Apr 2004
Location: Malaysia
Posts: 61
how about trying this

http://www.fedorafaq.org/#smbmount
__________________
WARNING!!! I'm a 24/7 full-time novice in everything!
Reply With Quote
  #14  
Old 5th June 2004, 01:52 PM
kf6kmx Offline
Registered User
 
Join Date: May 2004
Location: Hanford, CA
Age: 42
Posts: 107
What OS is the windows share in (2000, XP, Server 2003, etc)?

Quote:
Originally posted by hmathew
darn... still getting the same problem:

drwxr-xr-x 2 root root 4096 May 19 17:55 home
drwxr-xr-x 2 root root 4096 May 19 17:55 install
?--------- ? ? ? ? ? waveset

used:

mount -t smbfs -o username=xxxxx,gid=500,uid=500 //server/share /mnt/share

I tried it with a few different ids...

Thanks,

MH
__________________
-Scott
Home Page: http://www.kf6kmx.net
Reply With Quote
Reply

Tags
fc2, mount, problems

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
mount problems sanjiv Using Fedora 1 1st March 2009 01:20 PM
cd mount problems !! koppole Using Fedora 2 24th March 2006 09:29 AM


Current GMT-time: 22:21 (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