Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CIFS and Samba = POS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Tue Oct 16, 2007 4:24 pm    Post subject: CIFS and Samba = POS Reply with quote

It seems that samba and cifs are randomly unstable... here is the situation, for some computers this works fine, but sometimes samba likes to corrupt my file system =) Yes its real cute.

So here is what happens:

Try to mount a share using samba: mount -t cifs -o user=username //XXX.XXX.XXX.XXX/shared /mnt/samba/test
CIFS returns: mount error 20 = Not a directory (Yes it is a folder.)

Try to mount via samba: mount -t samba -o user=username //XXX.XXX.XXX.XXX/shared /mnt/samba/test
Samba Poops all over my file system: d????????? ? ? ? ? ? shared

umount -f /mnt/samba/test && tune2fs -C 60 /dev/sda3 seems to work well as a pooper scooper but its a but frustrating.

I noticed a similar issue when samba was not using the correct iso char set but this this particular share it does not matter what char set i use i get the same results.

Thanks
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Tue Oct 16, 2007 9:51 pm    Post subject: Re: CIFS and Samba = POS Reply with quote

KWhat wrote:
Try to mount a share using samba: mount -t cifs -o user=username //XXX.XXX.XXX.XXX/shared /mnt/samba/test
CIFS returns: mount error 20 = Not a directory (Yes it is a folder.)

Are you attempting to mount as user or as root?
KWhat wrote:
Try to mount via samba: mount -t samba -o user=username //XXX.XXX.XXX.XXX/shared /mnt/samba/test
Samba Poops all over my file system: d????????? ? ? ? ? ? shared

There is no file system type called "samba", so "mount -t samba" is invalid.

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum