helpdavfs2 - 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.

Submitted by:  Murali <chakry1234>
Submitted on:  Thu 15 Sep 2016 06:46:31 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 5 - BlockerStatus: Done
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Open/Closed: OpenOperating System: None

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 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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by chakry1234 (Submitted the item)
  • -unavailable- added by chakry1234 (ISO mouting)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Oct 2016 04:38:01 PM UTCwbaumannStatusIn Progress=>Done
    Fri 16 Sep 2016 09:43:36 AM UTCwbaumannStatusNone=>In Progress
      Assigned toNone=>wbaumann
    Thu 15 Sep 2016 06:46:31 PM UTCchakry1234Carbon-Copy-=>Added chakry1234

    Back to the top


    Powered by Savane 3.1-cleanup1