maindavfs2 - Support: sr #109141, Unable to mount the ISO of size...

 
 

sr #109141: Unable to mount the ISO of size more than 5GB hosted on the webdav file systems.

Submitter:  Murali <chakry1234>
Submitted:  Thu 15 Sep 2016 06:46:31 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  5 - Blocker Status:  Done
Privacy:  Public Assigned to:  _71007
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 24 Oct 2016 04:38:01 PM UTC, comment #7: 

You may want to read the README file (/usr/share/doc/davfs2/README or /usr/local/share/doc/davfs2/README), especially
1.1 WHAT DAVFS2 IS INTENDED FOR
and
1.2 WHAT DAVFS2 IS NOT INTENDED FOR

- <_71007>
Fri 21 Oct 2016 07:39:39 AM UTC, comment #6: 

Is it possible to disable the cache in davfs2 ?

When ever I open a file, it makes a local copy of it. My disk space is limited and that is main reason I have an external web server serving this files to me.

If there is local copy of all the files, I don't think there is a value add.

Is there any solution for this ?

Thanks
Murali

Murali <chakry1234>
Wed 19 Oct 2016 12:16:27 PM UTC, comment #5: 

I figured that out that by /var partition doesnt have more than 4GB hence while mounting the SPP mount.davfs command is trying to make a local copy of the 5.1 GB iso file and finally it fails !!.

I thought mount.davfs will do a byte range HTTP get instead of copying the whole file like (HTTPFS2).

But looks like it makes a copy of the file to local file system and does a normal mount.


Is my understanding correct ?

Thanks
Muarli

Murali <chakry1234>
Wed 21 Sep 2016 06:53:04 PM UTC, comment #4: 

davfs2 uses the C-Library function syslog with facility LOG_DAEMON and priority LOG_DEBUG. Where this log messages are stored and whether they are written to a file at all depends ond the log facility of your system and how it is configured.

I am not familiar with CentOS and therefore can't give you direct advise.

Some hints:
If your system uses rsyslogd then there should be file /etc/rsyslogd.conf. "man rsyslogd.conf" should help to configure it.

If your system uses systemd it will have journalctl to search for log messages. On my Debian system command "journalctl /usr/local/sbin/mount.davfs" shows all messages from davfs2 since the system has been started. You need to be root to do this and it might be "journalctl /usr/sbin/mount.davfs" on your system. "man journalctl" will help.

Werner

- <_71007>
Tue 20 Sep 2016 01:50:39 PM UTC, comment #3: 

I'm unable to generate any logs with

"debug most" in davfs2.conf.

After enabling this I'm looking at /var/log/messages as I'm running on CentOS.

Any help how to get the logs.

I can only see two basic logs while mounting the webdav Uri.

I cant find any debug logs.


Thanks
Murali




Murali <chakry1234>
Fri 16 Sep 2016 04:38:38 PM UTC, comment #2: 

Hello Werner,

Thanks for the quick response.

I did a quick check if the copy is getting through.

Even the copy is failing with  Input/output error.

I will enable debug most and post you the logs soon.

Murali



Murali <chakry1234>
Fri 16 Sep 2016 09:43:36 AM UTC, comment #1: 

Are you able to copy an iso-file from your davfs2 file system to some other place?

To get more information about what is going on:

  • While the davfs2 file system is not mounted add option "debug most" to your davfs2.conf file.
  • Mount the file system.
  • Do just the one action that failes (either cp or loopback mount).
  • Unmount the file system.
  • Search your log files for messages from mount.davfs and send tham as attachment to this item.


Werner

- <_71007>
Thu 15 Sep 2016 06:46:31 PM UTC, original submission:  

Hello,

I'm using hosting ISO mot of them of size more than 5GB on a webserver where I have enabled webdav.

I'm using davfs2 to mount the remote web server uri, which it successfully mounted.


Once the URI is mounted, I'm able to see all the ISO's that exist.

However, I'm not able to mount them locally as a loop device.

I'm getting the following error.

[root@ repo]# mount -o loop -t iso9660 test.iso /home/spp/
/home/repo/test.iso: Input/output error

I tried increase the buf_size in davfs2.conf, but have not suceeded in mounting the iso's.

Any help would be appreciated.

Let me know if you need any logs or if you want to enable debug logs etc.

I'm running davfs2 on CentOS .

Please suggest.

Thanks
Murali

Murali <chakry1234>

 

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

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-26 _71007 Open/ClosedOpen Closed
    2016-10-24 _71007 StatusIn Progress Done
    2016-09-16 _71007 StatusNone In Progress
        Assigned toNone _71007
    2016-09-15 chakry1234 Carbon-Copy- Added chakry1234

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code