helpdavfs2 - Support: sr #109609, no symlinks in davfs webdav...

 
 

sr #109609: no symlinks in davfs webdav partition, even via posixovl

Submitted by:  None
Submitted on:  Sat 29 Dec 2018 07:23:59 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  Werner Baumann <wbaumann>
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Wed 16 Jan 2019 07:34:24 PM UTC, comment #11: 

There should be a directory /var/log/ that contains log files. Log files may end with ".log" but they are not required to.

If your system uses systemd (probably) you may use journalctl to find log entries. See "man journalctl" for details.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Sun 13 Jan 2019 05:18:13 PM UTC, comment #10: 

Mega (mega.nz) is a very interesting cloud (50 gb free).
But it's slow also with webdav protocol, and is slow also 4shared. So I think the problem not is davfs, but the clouds.

Duns <duns>
Sun 13 Jan 2019 05:16:19 PM UTC, comment #9: 

Thank you. Done. But I don't see any "mount.davfs" in *.log files (searched in /home/duns, and /var and /tmp). Where should I search?

Duns <duns>
Wed 09 Jan 2019 05:15:48 PM UTC, comment #8: 
  • is slow the same as extreme slowness?
  • never heard of "Mega". Some more information?

"is slow also the command line (rsync)": rsync is a very powerful tool with a lot of options and one call to rsync may result in hundreds of file system calls. So this is no good choice for testing. What I have in mind are tools like echo, cat, cp and ls.

To test what is slow and for what reason I want you to do this test:

  • prepare some file of about 10 MB; content does not matter
  • set option "debug most" in your davfs2.conf file
  • make sure that no graphical file manager is running
  • mount the davfs2 file system
  • run command "echo test > /media/[user]/webdav-schede/test1"
  • wait about 15 seconds
  • run command "cp [your 10 MB file] /media/[user]/webdav-schede/test2"
  • wait another 15 seconds
  • unmount the file system
  • do not do any other file system operations on your davfs2 file system (no "simple view")
  • search your log files for messages from mount.davfs. There should be lots of them. Copy them into some textfile and attach it to this item.

These log message will probably show whether all commands ar done properly and how long they take. It might even show some file systems operations that you are not aware of, because they run in the background.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Mon 07 Jan 2019 02:02:47 PM UTC, comment #7: 

Thank you

 
  • also the davfs is slow
  • any operations, even simple view
  • Mega
  • is slow also the command line (rsync)
Duns <duns>
Mon 07 Jan 2019 09:13:21 AM UTC, comment #6: 

Please don't call a davfs2 file system a partition. It isn't.

extreme slowness:

  • Is it only extreme slow with posixovl or is the davfs2 file system without any overlay extreme slow?
  • What operations are slow? Read, write, directory listing, only opening many files, only opening big files?
  • What brand of server do you connect to?
  • Do you use any graphical file manager? If you close that graphical file manager and only use command line tools does that affect the speed?

I can't see any problems with the fstab entry.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Sun 06 Jan 2019 01:19:01 PM UTC, comment #5: 

It's possible create symlinks on davfs webdav partition with posixovl, but the partition so created it is practically useless, because of the extreme slowness that characterizes it (almost freezes). 
It's something wrong in the fstab file? Here is the line 

http://127.0.0.1:4443/[remote-id/schede/] /media/[user]/webdav-schede davfs _netdev,noauto,rw,user,uid=1000,gid=1000,file_mode=0777,dir_mode=0777 0 0

Thank you

Duns <duns>
Sat 05 Jan 2019 12:48:22 PM UTC, comment #4: 
  • yes I can copy a hidden file (.file)
  • Incredible: today I am able to create a symlink!

I'll do a bit more testing, thank you

Duns <duns>
Fri 04 Jan 2019 02:58:54 PM UTC, comment #3: 

"of davfs, which does not let posixovl create the small hidden files"
Of course davfs2 lets you (or your posixovl) create files, that is what it is for. So why doesn't it work?

  • Did you test davfs2 and your WebDAV server without posixovl? You can create files and they are stored on the server? You can create hidden files (files whose name start with a ".")?
  • Permissions: by default all files in a davfs2 file system belong to the mounting user and this is the only user (except root) that is allowed to write to the file system. You can change this with mount options. Please see "man mount.davfs2" for this.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Fri 04 Jan 2019 08:03:14 AM UTC, comment #2: 

I mean that
 1.symlinks are very useful
 2. in local posixovl can create symlinks even in fat32, ntfs file systems
 3. in remote (mounted via davfs) posixovl cannot create symlinks 

I wondered if the fault was posixovl or, as I believe, of davfs, which does not let posixovl create the small hidden files that are then seen as symlinks.
That's all.
It would be nice if davfs allowed posixovl to create symlinks (actually small hidden files then seen as symlinks).
Unless you say the problem is in the cloud, whose filesystem does not allow symlinks. So why in local posixovl can create (apparent) symlinks on non-unix partitions?
Thank you

Duns <duns>
Thu 03 Jan 2019 03:53:55 PM UTC, comment #1: 

davfs2 does not support symbolic links.

But I don't know what youwant to achieve by applying posixovl on a davfs2 file system. What is the problem?

What is "and no some files" and what kind of permission problems do you have?

So my question: "What is wrong?" (Some messages by posixovl does not mean that there is something wrong with dabfs2.)

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Sat 29 Dec 2018 07:23:59 PM UTC, original submission:  

Installed davfs2 on Kubuntu 18.04: mounted a webdav (Mega) in /media/user/webdav successfully;
used <b>posixovl</b>: with local partitions all OK, with that webdav partition no symlinks (and no some files): permission problem ("check permissions" message).
What is wrong?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by duns (Posted a comment)
  • -email is unavailable- added by wbaumann (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-07 wbaumann StatusNeed Info => In Progress
    2019-01-03 wbaumann StatusNone => Need Info
        Assigned toNone => wbaumann

    Back to the top


    Powered by Savane 3.5