I have two machines with Ubuntu 10.04.  The first machine has problems
starting some processes so I am moving my application to a new box without
those problems but it seems the new box has a problem as well.

My application checks a Windows folder every minute for the appearance of a
file.  When a file appears it is moved to the Ubuntu box and processed.

The mounting of the Windows folder is handled via a line in the /etc/fstab
file.  The first machine handles the line without a problem but the second
fails. Both boxes can see the Windows subfolders via the Nautilus GUI.  The
first box mounts a source directory several levels down in the structure.
The second box fails unless the source is immediately off the root.

Focusing on the problem machine, here are two lines from the /etc/fstab file.
The first one works and the second does not

//10.0.0.1/logic /usr/InfoBoard/DropBox/ cifs username=administrator,
password=secret,file_mode=0777,dir_mode=0777 0 0

//10.0.0.1/logic/ /usr/InfoBoard/DropBox/ cifs username=administrator,
password=secret,file_mode=0777,dir_mode=0777 0 0

(The only difference between the two is the addition of a forward slash
after the source folder name.)  With the second line in fstab, the result
from a "sudo mount -a" command is "mount: //10.0.0.1/logic/ is not a valid
block device".  The dmesg report is "  CIFS VFS: cifs_mount failed w/return
code = -6"

The fact that the old box allows me to mount the folder the way I need to
suggests that there is no problem on the Win2K side.  I'm guessing there is
either a configuration difference between the two Ubuntu boxes or there is a
problem with one of the packages on the new machine. I have Googled both the
"not a valid block" and -6 error messages but have not found any mention of
my specific condition.

Any help will be appreciated!

TIA - Joe


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to