Jump to content
  • [6.5.3] unRaid trying to move a file of 107GB from cache to a disk with 106GB free


    FlorinB
    • Annoyance

    Bug or just something configured wrong on my unRaid 6.5.3?

     

    Copied some folders with files from an external disk, one of the files is a VirtualBox VDI disk image of 107GB on my array.

    Case 1. Use cache disk:No - Failed - Trying to write a file on a disk from the array with insufficient space.

    Case 2. Use cache disk:Yes - Partially Failed - Copied successfully to the cache disk, but the mover is not able to choose a disk with sufficient free space.

     

    See below screenshots and the diagnostic.

    746696537_Screenshot-29_6_201821_57_10.thumb.png.98666812eaeed066bda65b95c6d23fe0.png

    1715744337_Screenshot-29_6_201821_59_24.thumb.png.c31a16de3b6a170c531b4c210f5e22ea.png

     

    node804-diagnostics-20180629-2255.zip

     

    Thank you in advance for your help and quick support.

    image.png




    User Feedback

    Recommended Comments

    You need to have the Minimum Free Space value for the share to be larger than the largest file you will be copying.    That stops a disk with less than that amount of free space from being selected as the target by mover.

    Link to comment
    10 minutes ago, itimpi said:

    Minimum Free Space value for the share

     

    I will try your suggestion. Thanks.

     

     

    Edited by FlorinB
    Link to comment

    Did it, my biggest file is 200GB, however now the mover is not moving any kind of file from cache to the array as there is no disk into array with such amount of free space. 1276764423_Screenshot-29_6_201823_31_58.thumb.png.d66c2d5fcea1a08bb11622dd77597597.png

    I understand that for unRaid it is not possibile to know how big is a file when it is copied over network, however from cache to array it should be able to decide what to do with each file copied.

     

    Link to comment

    Unfortunately that is not how unRAID currently works.     If non of your disks have enough free space for the file then you have a problem as unRAID will never split a file across disks.

    Link to comment
    2 minutes ago, itimpi said:

    If non of your disks have enough free space for the file then you have a problem as unRAID will never split a file across disks.

    I am aware of this, but it is not my situation. There is enough free space (107GB) for the file on 2 disks (see the green highlights) from array, nevertheless Mover is trying to copy the file to a disk where it is not enough space.

    image.thumb.png.3dbe3fe32c1bb77f27d83b7fa6744661.png

    Link to comment

    What value do you have for Minimum Free Space?    It needs to be larger than the file you are trying to copy.  That is the only way you will get mover to select the correct disk.   The problem is that is not mover that selects the disk (and can thus take into account the file size) but the underlying unRAID disk handler.

    Link to comment
    45 minutes ago, itimpi said:

    You need to have the Minimum Free Space value for the share to be larger than the largest file you will be copying.

    The largest file that I will be copying is 200GB.

    3 minutes ago, Squid said:

    But the minimum free space that you set was 200GB, and no disk has 200GB available on it.

    At this moment one of the large files is 107GB. I see no point to adjust the settings on Minimum Free Space for the share everytime I am copying a different file size. 

    Link to comment
    6 minutes ago, itimpi said:

    What value do you have for Minimum Free Space?    It needs to be larger than the file you are trying to copy.

    Right: 200GB > 107GB

    6 minutes ago, itimpi said:

    That is the only way you will get mover to select the correct disk.

    Does the Minimum Free Space mean that I should have at least that amont of space free to move any file there? Because just this happened earlier.

    6 minutes ago, itimpi said:

    The problem is that is not mover that selects the disk (and can thus take into account the file size) but the underlying unRAID disk handler.

    For this reason I have raised the bug report. renamed the topic from Mover... to unRaid...

    Edited by FlorinB
    Link to comment

    It is not a bug in unRAID but the way it is designed to work.   The problem is that once the free space disk drops below the value then unRAID stops copying new files to the drive.    

     

    i think you are probably going to have to manually copy these very large files directly to the target disk (which bypasses the Minimum Free Space setting) or you are going to have to add a lot more disk space.

    Link to comment
    41 minutes ago, itimpi said:

    The problem is that once the free space disk drops below the value then unRAID stops copying new files to the drive.    

    True and expected to behave like that. I am also aware that unRaid is not RAID, therefore I cannot copy a file bigger that the biggest disk from array (assuming that is empty)

    41 minutes ago, itimpi said:

    i think you are probably going to have to manually copy these very large files directly to the target disk

    This is a no go as long as there is free space on more than one disk into array. I am expecting that unRaid is smart enough to know what to do with the available resources.

     

    Quote

    Allocation Method:  High Water

     

    This setting determines how unRAID OS will choose which disk to use when creating a new file or directory:

    High-water Choose the lowest numbered disk with free space still above the current high water mark. The high water mark is initialized with the size of the largest data disk divided by 2. If no disk has free space above the current high water mark, divide the high water mark by 2 and choose again.

    Is it doing the red marked election one time or multiple times?

     

    image.thumb.png.87f0993c1f83ddae4521c229ddfa3c07.png

    Edited by FlorinB
    Link to comment
    44 minutes ago, FlorinB said:

    Is it doing the red marked election one time or multiple times?

     

    As many times as necessary until a disk has more free space available than the highwater mark

    Link to comment
    13 minutes ago, Squid said:

    As many times as necessary until a disk has more free space available than the highwater mark

    Quote
    High Water

    The high water allocation method attempts to step fill each disk so at the end of each step there is an equal free space left on each disk. The idea is to progressively fill each disk but not constantly go back and forth between disks each time new data is written to the array. Most times, only a single disk will be needed when writing a series of files to the array so the array will only spin-up the needed disk. The high water level is initially set equal to one-half of the size of the largest disk. A new high water level is again set to one-half of the previous high level once all the disks have less free space than the current high water level.

    Source: https://lime-technology.com/wiki/Un-Official_UnRAID_Manual#High_Water

    High-Water Allocation Method.JPG

    For my unRaid:

    Maximum disk size: 1TB

    1st Pass: 500GB

    2nd Pass:250GB

    3rd Pass: 125GB

    4th Pass: 62.5GB

    image.png.922f2c72ccccd73bf5a525926db15aa6.png

    On the green marked there is enough space, however it is under 3rd Pass

    On the yellow marked there is not enough space, but is also under 3rd Pass

    The red marked is belob 4th Pass.

     

    Can be the water mark changed to 1/4 or other value instead of 1/2? this will probably help.

     

     

     

    Link to comment
    8 hours ago, Squid said:

    Use Most Free instead.

    Did it, but this is a just a workaround. Same like copying the file manually to a disk where there is enough space.

     

     

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...