wdfs mount: Input/output error on cd'ing to mountpoint

I’m trying to mount my box.com/box.net folder

I have the following line in /etc/fstab:
wdfs#https://www.box.net/dav/ /home/tony/box fuse allow_other,uid=root,gid=root,nonempty,username=XXXXXXXXX,umask=007,locking=simple,noauto

when I enter the following at the bash prompt :-
~> sudo mount /home/tony/box
I get prompted for my password, there is a pause, no error message, and I’m back at the prompt. This looks promising.

however, when I attempt to cd to the mountpoint:
~> cd box
bash: cd: box: Input/output error

an ls -al shows the following line for ~/box
d??? ? ? ? ? ? box

mtab shows
wdfs\040(https://www.box.net/dav/) /home/tony/box fuse rw,relatime,user_id=0,group_id=0,allow_other 0 0

So what am I doing wrong, or what have I missed?

Anyone?

It is a bit difficult to see what your story is and what is your computer text. Please use CODE tags around posted computer sessions: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

But seeing the ??? in an* ls* listing points to a complete wrong interpratation of the file system that sits there (or a corrupted one). What is the file system type supposed to be?

Reformatted as per request: you’re right hcvv: that looks much better!

I’m trying to mount my box.com/box.net folder

I have the following line in /etc/fstab:

wdfs#https://www.box.net/dav/ /home/tony/box fuse allow_other,uid=root,gid=root,nonempty,username=XXXXXXXXX,umask=007,locking=simple,noauto

when I enter the following at the bash prompt :-

 ~> sudo mount  /home/tony/box

I get prompted for my password, there is a pause, no error message, and I’m back at the prompt. This looks promising.

however, when I attempt to cd to the mountpoint:

~> cd box
bash: cd: box: Input/output error

an ls -al shows the following line for ~/box

d?????????   ? ?    ?              ?            ? box

mtab shows

wdfs\040(https://www.box.net/dav/) /home/tony/box fuse rw,relatime,user_id=0,group_id=0,allow_other 0 0

So what am I doing wrong, or what have I missed?

Anyone?

it’s afuse filesystem: being a network mount, the underlying fs on the server presumably doesn’t matter.

that is probably correct.

Can you check how it is mounted with

mount

EDIT: I recall that. I see you posted the mnttab entry allready.

Nevertheless, the underlying fs type may be important. I can not imagine how an underlying MS fs type (FAT, NTFS) can show the things it does not have. But I admit that I have not much knowledge about this type of mounts.

Here’s how to do this:
Install “davfs2” from software.opensuse.org: Zoekresultaten

Next, set the credentials for your BOX account, in the file /etc/davfs2/secrets, in this pattern:


/home/tony/box     <your_box_username>    <your_box_password>

Then, to avoid input/output errors, in /etc/davfs2/davfs2.conf change


# use_locks       1

to


use_locks      0

Next add this line to /etc/fstab


https://www.box.net/dav            /home/tony/box        davfs     defaults,uid=tony,gid=users        0 0

and invoke


mount /home/tony/box

and perform an "ls -l /home/tony/box’ to check if it works. It does on my laptop.

It works!
:slight_smile:
Thanks so much Knurpht.