maindavfs2 - Support: sr #110137, How to manually synchronize a...

 
 

sr #110137: How to manually synchronize a mounted webdav folder?

Submitter:  eugene <woodsy>
Submitted:  Wed 27 Nov 2019 05:30:44 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 May 2021 02:16:45 PM UTC, comment #3: 


> You can't.
> You should not try to force an upload by unmounting. To avoid being killed by shutdown davfs2 may terminate without uploading


This is really disappointing. And it seems to contradict the umount.davfs description: "Its purpose is to prevent the umount command from returning unless mount.davfs has synchronized all its cached files with the webdav server. ... Depending on the amount of data and the quality of the connection, unmounting a davfs2 file system may take some seconds up to some hours."

Then what should we do before turning off the PC and going home, to ensure all changes are uploaded and can bee seen from elsewhere? Is there a way to at least check the current upload status?

Could you please consider adding some "force sync" or "graceful unmount" facility, with some indication if it failed (e.g. no network)?

George <gmk57>
Wed 27 Nov 2019 05:41:37 PM UTC, comment #2: 

This does not look like a bug report.

"How can I force a sync via command line without unmounting the directory?"

You can't.
davfs2 will try to upload the file delay_upload seconds after it was closed. Default is 10 seconds. You can change this value in your davfs2.conf file. If you change this to 0 then davfs2 will try to upload immediately after the file is closed.

But it alwas depends on the qualitiy of the connection. And other file system actions may delay the upload (except in case of "delay_upload 0").

You should not try to force an upload by unmounting. To avoid being killed by shutdown davfs2 may terminate without uploading (trying instead when you mount the file system the next time).

Werner

- <_71007>
Wed 27 Nov 2019 05:30:44 PM UTC, comment #1: 

This item has been reassigned from the project davfs2 bugs tracker to your tracker.

The original report is still available at bugs #57314

Following are the information included in the original report:

[field #0]                  Item ID: 57314

[field #1]                 Group ID: 10199

[field #2]              Open/Closed: Open

[field #3]                 Severity: 3 - Normal

[field #4]                  Privacy: Public

[field #8]                         : Unknown bugs Field Display Type

[field #9]                 Category: None

[field #10]             Submitted by: woodsy

[field #11]              Assigned to: None

[field #12]             Submitted on: Wed 27 Nov 2019 01:29:17 PM UTC

[field #13]                  Summary: How to manually synchronize a mounted webdav folder?

[field #14]      Original Submission: I have mounted a webdav directory with davfs2 via:
sudo mount -t davfs https://server/folder /home/mountpoint/

How can I force a sync via command line without unmounting the directory?

[field #16]               Item Group: None

[field #17]                   Status: None

[field #18]        Component Version: None

[field #19]         Operating System: None

[field #20]          Reproducibility: None

[field #21]               Size (loc): None

[field #22]            Fixed Release: None

[field #23]          Planned Release: None

[field #24]                   Effort: 0.00

[field #28]                 Priority: 5 - Normal

[field #31]         Percent Complete: 0%

[field #33]                  Release: None

[field #58]     Custom Select Box #1: None

[field #59]     Custom Select Box #2: None

[field #60]     Custom Select Box #3: None

[field #61]     Custom Select Box #4: None

[field #62]     Custom Select Box #5: None

[field #63]     Custom Select Box #6: None

[field #64]     Custom Select Box #7: None

[field #65]     Custom Select Box #8: None

[field #66]     Custom Select Box #9: None

[field #67]    Custom Select Box #10: None


- <_71007>
Wed 27 Nov 2019 05:30:44 PM UTC, original submission:  

I have mounted a webdav directory with davfs2 via:
sudo mount -t davfs https://server/folder /home/mountpoint/

How can I force a sync via command line without unmounting the directory?

eugene <woodsy>

 

(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 gmk57 (Posted a comment)
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by woodsy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-27 _71007 StatusNone Done
        Assigned toNone _71007
    2019-11-27 _71007 Reassign itemdavfs2, bug #57314 davfs2, sr #110137

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code