Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2009, 05:16 PM
basketcase basketcase is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default smbfs/cifs unable to mount shares
So a little history. Dell Dimension 8400 P4 2GHz, 1GB RAM. Was running Ubuntu 8.10, I was able to mount shares editing /etc/fstab and it worked sort of...but it would completely lock up the system when browsing them, and I'd just have to turn the box off.

So off went Ubuntu and on went PC-BSD 7.0.2. Now I can't even mount the shares!

/etc/fstab looks like this:

Code:
cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0    
/dev/ad0s1a             /               ufs     rw              1       1    
linprocfs       /compat/linux/proc      linprocfs rw    0  0                 
proc    /proc   procfs rw       0  0                                         
#HomeDirectory                                                               
//server.domain.tld/~share /usr/home/basketcase/HomeDirectory cifs credentials=/etc/cifspw 0 0
#SystemsShare                                                                                            
//server.domain.tld/share$/directory /usr/home/basketcase/SystemsShare cifs credentials=/etc/cifspw 0 0
I try and run mount -a and I get this:

Code:
mount -a
fstab: /etc/fstab:7: Inappropriate file type or format
fstab: /etc/fstab:9: Inappropriate file type or format
I've tried replacing cifs with smbfs. Same behavior.

When I try and manually mount the share:

Code:
mount_smbfs -I 10.10.9.42 //basketcase@10.10.9.42/~basketcase /usr/home/basketcase/HomeDirectory/
It asks for credentials and I get this:

Code:
mount_smbfs: unable to open connection: syserr = Connection reset by peer
What am I missing? Why was I able to mount these shares in Ubuntu, but not PC-BSD?

Any and all help would be greatly appreciated!

Thanks!
Reply With Quote
  #2  
Old 01-07-2009, 06:21 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: smbfs/cifs unable to mount shares
In regards to your fstab, *switches to drill sergeants voice* BSD IS NOT LINUX, so like any other unix based system; exactly what can go in fstab is slightly different per operating system.


If you check Daemonforums.org, there was recently a thread on mounting SMB/CIFS shares on startup via /etc/fstab. Also note well, you may want to check the Services Manger and disable any firewalling (pf) entries for testing.
Reply With Quote
  #3  
Old 01-07-2009, 03:16 PM
basketcase basketcase is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: smbfs/cifs unable to mount shares
Originally Posted by TerryP
In regards to your fstab, *switches to drill sergeants voice* BSD IS NOT LINUX, so like any other unix based system; exactly what can go in fstab is slightly different per operating system.


If you check Daemonforums.org, there was recently a thread on mounting SMB/CIFS shares on startup via /etc/fstab. Also note well, you may want to check the Services Manger and disable any firewalling (pf) entries for testing.
Thanks for the reply...I'll look into your suggestions further. Greatly appreciated.
Reply With Quote
  #4  
Old 01-08-2009, 03:03 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: smbfs/cifs unable to mount shares
and actually, http://www.daemonforums.org/showthread. ... ount_smbfs
Reply With Quote
Reply

Thread Tools
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
Unable to mount audio CD bradleyjpb Sound and Multimedia 1 12-06-2009 11:35 AM
Unable to mount USB stick Doc Drives 11 03-31-2008 03:29 AM
Unable to Mount CDs following update! rodonn Usage Bug Reports 0 10-02-2007 08:36 AM
Unable to mount ext3 & ntfs ... void_man() General Questions 5 09-15-2007 09:54 PM
Unable to access samba shares ronjoor General Questions 5 03-22-2007 10:51 AM


All times are GMT. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.