[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

simonm simon at mullis.co.uk
Sat Jan 10 15:16:22 GMT 2009


Symptom: When mounting remote CIFS shares from my Apple Time Capsule
(either by /etc/fstab or mount command) I would only see around 150 of
the 5000 directories in my "Media" folder.

Also, redirection from stdout to a file would work when the file was
created, but appending would not work.

so:
% pwd
/remote/mount/
%  echo "1 2 3" >> test_file
% cat  test_file
1 2 3
% echo "4 5 6" >> test_file
% cat  test_file
1 2 3
cat: test_file: Input/output error

I updated to 2.6.27-11-generic (via Intrepid-proposed) and added the
"nodfs" option to my /etc/fstab entry.

Now, I see all directories as expected.

However, stdout redirection to a file still seems to be misbehaving...
% uname -a
Linux freya 2.6.27-11-generic #1 SMP Thu Jan 8 08:38:33 UTC 2009 i686 GNU/Linux
% pwd
/remote/mount/
% echo "1 2 3" >> test_file
% cat test_file
1 2 3
% echo "4 5 6" >> test_file
% cat test_file 
1 2 3
cat: test_file: Input/output error

Additional info:
% mount | egrep -e '(cifs|smb)'
//192.168.0.2/storage on /media/storage type cifs (rw,mand)

% grep cifs /etc/fstab 
//192.168.0.2/storage  /media/storage     cifs    credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0664,dir_mode=0775,uid=simonm,gid=audio,nodfs 0 0

So, still having some issues with appending to files. Creating /
deleting seems fine.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list