Comment 82 for bug 286828

Revision history for this message
simonm (simon-mullis) wrote :

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.