I can confirm I'm dealing with the same problem on Ubuntu 9.10

$ uname -a
Linux dog 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 
GNU/Linux

trying to mount NAS disk from command line. I use simple OEM NAS enclosure 
(Chipset: RDC-S3282) with 1TB disk
(purchased from 
http://www.smalldrives.com/network-external-drives-31/lan-server-drive-1000gb-147.html)

Everything works well if I connect using Nautilus and ~/.gvfs. I can
also access files using smbclient:

mlos...@dog:/mnt$ smbclient //browarekhd/mloskot -U mloskot
Enter mloskot's password: 
Domain=[R] OS=[R] Server=[R]
smb: \> ls 
  .                                   D        0  Wed Dec 23 22:38:02 2009
  ..                                  D        0  Wed Dec 23 22:38:02 2009
  README.txt                          A       65  Sat Dec 26 17:01:40 2009
  doc                                 D        0  Thu Dec 24 10:47:42 2009
  workshop                            D        0  Thu Dec 24 10:55:58 2009
  dev                                 D        0  Thu Dec 24 11:08:08 2009
  software                            D        0  Fri Dec 25 17:06:34 2009
  Videos                              D        0  Sat Dec 26 12:48:12 2009
  mgr                                 D        0  Sat Dec 26 16:56:52 2009
  Music                               D        0  Sat Dec 26 12:49:58 2009
  Documents                           D        0  Sat Dec 26 16:56:12 2009
  xbackup                             D        0  Sat Dec 26 19:33:44 2009
  Pictures                            D        0  Sat Dec 26 21:51:42 2009
  x.txt                                        0  Sun Dec 27 16:52:38 2009

                59602 blocks of size 16777216. 53403 blocks available
smb: \> 

If I try to use mount command, I can mount the share but directories and
files are not visible, though I can enter known directory or list known
file.

Following suggestions given by Chuck Short, I've attached log with dmesg 
outputs - attached in 3 separate files:
- after moun
- after ls against known directory
- after ls against known file

I'm not really an expert of Samba implementation, but as far as I can
decode the output, it indicates there are some problems.

I'd be thankful for any fix to this issue.
-- Mat

** Attachment added: "Package with 3 log files with dmesg output"
   http://launchpadlibrarian.net/37232638/smb-mount-dmesg.tar.gz

-- 
2.6.31 - Can't see files in CIFS-mounted directories
https://bugs.launchpad.net/bugs/406466
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to