January 1, 201115 yr Maybe I don't correctly understand how Shares work, but I was copying to a share, and got a Disk Full error. unRAID shows the disk at 100% (I've removed some files to make a bit of space). I thought that if the share was set as High Water it would moves the files to another disc? Was I wrong in my thinking, and if so is there another way to do that? I'm running 4.6.
January 1, 201115 yr What do you have entered for the "Minimum Free Space" setting? Most of the various file share methods only take affect when a file is initially allocated. The way most software writes files is to create a 0 byte file and then append to it. They do not take affect after a file was designated and then appended to it. To work around this typical behavior, one should have the minimum free space set to twice the size of your average sized file. This should prevent files from being allocated on a drive that will not have enough space on it after all the data is appended to it.
January 1, 201115 yr Author What do you have entered for the "Minimum Free Space" setting? Most of the various file share methods only take affect when a file is initially allocated. The way most software writes files is to create a 0 byte file and then append to it. They do not take affect after a file was designated and then appended to it. To work around this typical behavior, one should have the minimum free space set to twice the size of your average sized file. This should prevent files from being allocated on a drive that will not have enough space on it after all the data is appended to it. Min. Free Space is set to 0 Split Level is set to 0. Everything is set to the default. I was copying some DVD's I ripped to ISO's, around 5GB in file size. Most files on this hard drive around 300-600MBs though. Shouldn't unRAID see that the hard drive is getting full and start to copy the files to another drive? I think I understand what you are saying. So let's say there is 4GB of free space left but I try to copy a 5GB file, it should put that file on another drive, but if I have one 2GB file and one 3GB file it will start to copy the 3GB file and run out of space?
January 1, 201115 yr I think I understand what you are saying. So let's say there is 4GB of free space left but I try to copy a 5GB file, it should put that file on another drive, but if I have one 2GB file and one 3GB file it will start to copy the 3GB file and run out of space? Close, but it is even worse. If you try to copy ANY file, and you have the min-free space on the drive set to 0, and the initial file the copy command creates is 0 bytes (and they almost always are) then ALL copies over the available free space will fall since they all initially fit.
January 1, 201115 yr Author I think I understand what you are saying. So let's say there is 4GB of free space left but I try to copy a 5GB file, it should put that file on another drive, but if I have one 2GB file and one 3GB file it will start to copy the 3GB file and run out of space? Close, but it is even worse. If you try to copy ANY file, and you have the min-free space on the drive set to 0, and the initial file the copy command creates is 0 bytes (and they almost always are) then ALL copies over the available free space will fall since they all initially fit. Oh man! That makes complete sense! So as BRiT mentioned, do most people set it to double the size of the average file sizes? Side note: I'm glad Tom has appointed mods
January 1, 201115 yr It seems like that's the general rule used. At least that's where I picked up that piece of info, from the forums and the general consensus in troubleshooting this sort of issue.
January 1, 201115 yr Author It seems like that's the general rule used. At least that's where I picked up that piece of info, from the forums and the general consensus in troubleshooting this sort of issue. The min. free space does not have units next to it in unmenu. Am I assuming that it's megabytes?
January 1, 201115 yr It seems like that's the general rule used. At least that's where I picked up that piece of info, from the forums and the general consensus in troubleshooting this sort of issue. The min. free space does not have units next to it in unmenu. Am I assuming that it's megabytes? The min free setting for shares is in kilobytes.
January 2, 201115 yr Author Maybe I'm still not understanding. I made the min free space 8291456 of the share I was copying too and I still got disk full. The files are all less than 7GB. Edit: Added picture. Can it be because I'm not setting which disks it should span too? I thought that if I kept that off it would span across all disks.
January 2, 201115 yr Maybe I'm still not understanding. I made the min free space 8291456 of the share I was copying too and I still got disk full. The files are all less than 7GB. Edit: Added picture. Can it be because I'm not setting which disks it should span too? I thought that if I kept that off it would span across all disks. No, the problem is probably the split level of 0. That split level indicates YOU will create the parent directory on the specific disks you desire. unRAID will NEVER create a directory on a disk where it does not already exist if split level = 0. It will only create objects if the parent object already exists.
January 2, 201115 yr Author Maybe I'm still not understanding. I made the min free space 8291456 of the share I was copying too and I still got disk full. The files are all less than 7GB. Edit: Added picture. Can it be because I'm not setting which disks it should span too? I thought that if I kept that off it would span across all disks. No, the problem is probably the split level of 0. That split level indicates YOU will create the parent directory on the specific disks you desire. unRAID will NEVER create a directory on a disk where it does not already exist if split level = 0. It will only create objects if the parent object already exists. I think that was the problem. I've read through the wiki to try and figure out which split level is best for me, but would like a second opinion if possible. Disk1 -Movies (Share) --Movie A --Movie B My Anime collection is similar in nature. I don't want anything in Movie A or Movie B to be split up. This gets more confusing the more I read it. For music I have Disk 3 -Music (Share) --Artist ---Album ----.flac files and my Applications are similar. Disk 3 -Applications (Share) --Windows ---VLC I don't want anything in The album folder or the app folder to be split up. So, with my movies and anime I feel that split level 2 would be the best options, and for movies and applications split level 3? Is there a more simple way to understand splits? Thanks!
January 2, 201115 yr The split level number is the LAST level you wish to have automatically split. The top level directory (the one that automatically becomes a user-share) is level 1. You count from there. So, for your "Movies" share, you probably want a split level of 1. That would allow Movie-A and Movie-B to be on different disks but keep everything under Movie-A and Movie-B on the same disk. For "Music", you can choose to have each album on one disk by splitting on level 2. For "Applications" you would keep each application on a single disk, again letting the "Windows" be the last directory automatically split, so level 2 would work. Joe L.
Archived
This topic is now archived and is closed to further replies.