View previous topic :: View next topic |
Author |
Message |
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Tue Oct 16, 2007 4:24 pm Post subject: CIFS and Samba = POS |
|
|
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 |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Tue Oct 16, 2007 9:51 pm Post subject: Re: CIFS and Samba = POS |
|
|
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 |
|
|
|