On 19/08/13 21:31, Albretch Mueller wrote:
  I am unsuccessfully trying to mount a Windows Network share which (on
windows) advertises itself as using the following path
~
  \\315wcclassdc.wcclasses.local\users$\class1
~
  but this is what I am getting:

$ sudo mkdir -p /media/cifs

$ sudo mount -t cifs \\315wcclassdc.wcclasses.local\users$\class1 -o
username=class1,password=12345 /media/cifs
mount.cifs: bad UNC (\315wcclassdc.wcclasses.localusers$class1)

That failed, obviously

$ sudo mount -t cifs //315wcclassdc.wcclasses.local/users$/class1 -o
username=class1,password=12345 /media/cifs
unable to add mount entry to mtab
error 22 detected on close of mtab
unable to add mount entry to mtab

I think that is the correct format, and it actually succeeded in mounting the share, but for some reason it has been unable to update the mtab file - which is a symlink to /proc/mounts, which is a symlink to /proc/self/mounts.

$ sudo mount -t cifs "//315wcclassdc.wcclasses.local/users$/class1" -o
username=class1,password=12345 /media/cifs
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

That one failed because the previous command worked (sort of) and the share is now mounted.

  How do I troubleshoot that problem?
~
  How do you probe a Windows FS from within Linux?

I think the issue is "Why couldn't it update /proc/self/mounts?"
~
$ uname -a
Linux Microknoppix 3.3.7 #38 SMP PREEMPT Tue May 22 06:21:01 CEST 2012
i686 GNU/Linux

Hmm, not Debian then. The /etc/mtab links or permissions may be different.

--
Dom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5212c2dd.90...@rpdom.net

Reply via email to