Beiträge von mkgriesinger

    My test came to the same conclusion. Either I am setting something up wrong, I don't understand how AUFS works, or AUFS isn't doing what it is supposed to.


    I did a brand new install Debian 7.6 and then a brand new install of OMV 0.6.0. I added 3 1GB virtual disk and made them EXT4. I made them into shared folders D1, D2, D3.


    When I started the test all the disks were empty. I opened the network share and made a folder named 'Test' in poolshare. After that I started copying files into the test folder. Eventually, disk2 (sdc1) filled up and the transfer stops with an error.


    I was expecting that once disk2 (sdc1) became full, AUFS would make a 'Test' folder on another filesystem and start writing data to it. Or, since 'Test' folder was created on a empty pool, it would write it to all the file systems.


    Is my expectation incorrect? Will AUFS work for my needs? (Fill a disk, then move onto the next disk, then the next disk, etc)


    Thanks,
    ~Mike


    Screenshots

    Thats my problem though. I left MFS unchecked on purpose thinking it will fill D1 and then move to D2. The disks were empty and it was a new pool. However, after it was done filling the first disk, i received an error saying not enough space, even thought the second disk was available.


    I am going to do a scratch install and try this again. I will update with the outcome.

    ryecoaaron - Thank you for your comments.


    I was trying to make is so AUFS would fill up D1, then move to D2, then D3 etc. This way I know exactly were my data lives, and it can spin down the other drives since they are not being used (saves power and less heat). I started with empty disks and copied the Debian iso (via samba share) multiple times to see what happens when a disk fills up. I was expecting that once d2(AUFS started filling it first) became full, the files would then move to d1 which was empty.


    Is that an incorrect assumption? Is there any trigger to tell AUFS that once the disk only has 10GB free space left to move to the next disk?


    Thanks again!
    ~Mike

    Thanks for the quick reply.


    Below are the steps I followed to setup the pool. I left everything as default settings (so MFS was unchecked, and UDBA was checked).



    aufs setup:
    1.) Create a shared folder for each drive - d1, d2, d3. **I did this, but I labeled each share differently. Would this have caused the problems since the shares aren't the same name? (for example, SDB1 = D1 = shared folder D1. SDC1 - D2 = shared folder D2...)


    2.) Create a shared folder on any drive called poolshare. **Or should I have created 'poolshare' on all my data drives, and then only use the one on d1 for SAMBA


    3.) Set the bind share as poolshare.


    4.) Set three branches as d1, d2, d3.


    5.) Check the mfs checkbox if you want the drives balanced. Leave unchecked to preserve folder structure. **what happens if you make a new folder under a parent folder that's shared on all the data drives? Will AUFS make the new folder on the other data drives?


    6.) Use the poolshare shared folder in other plugins (samba for example). No need to use d1,d2,d3 in any plugin.

    My setup is going to be qty4 4TB HDDs w/ snapraid and pooling (i also like the idea of spinning down the unused drives). I am going to use the server for Plex, Couchpotato, Sabz, and Sickbeard. The plex metadata, and temporary downloads are going to be outside of the AUFS + Snapraid pool.


    I setup AUFS and SAMBA for the share in my test VM. The problem is when i copied a file multiple times to the pool, it said i ran out of free space on the disk. It was odd because the other disk in the pool had plenty of free space.


    Question, Is it normal for AUFS not to automatically move the data to the next drive once the first drive becomes full? Also, is there a way to tell AUFS that if Drive 1 has less than 10GB off free space start writing data to drive 2? If AUFS doesn't fit my needs, please feel free to recommend another solution (i heard about mhddfs, but there doesnt appear to be a OMV plugin for it)


    Below are my pool settings. I followed the Guide for AUFS and Snapraid. I didnt check MFS because i would like the first drive to become full (within 10GB or so) and then AUFS moves to the next drive.(would help w/ keeping the other drives spundown.)




    Below is the error i received while copying the Debian ISO to the pool samba share multiple times.




    This shows SDB1 had enough space to fit the 228MB file.




    thanks for the help,
    ~Mike

    i have the same error message. What did you do to fix it?
    Thanks,
    Linux Noob