Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Share Cache Min. free space?

Featured Replies

Good Morning,

 

Due to my great experience with Unraid a friend decided to build a server for himself. I assembled the server, he got a plus key and everything seemed to work as a charm. He had a lot of media to place on the new server from external 1Tb HD's (glad it was organized!), as we copied the media to the server the cache drive got full and we started having problems.  I would like for him have at least 50gb free on the cache drive all the time (just to be sure). In the configuration of the share you can specify a Min. free space, is this number in bytes, kb, mb? for 50gb of minimum free space will it be 50000000000? or 50000000 or something else?

 

Thanks a bunch for your help :)

 

Ezbox

Good Morning,

 

Due to my great experience with Unraid a friend decided to build a server for himself. I assembled the server, he got a plus key and everything seemed to work as a charm. He had a lot of media to place on the new server from external 1Tb HD's (glad it was organized!), as we copied the media to the server the cache drive got full and we started having problems.  I would like for him have at least 50gb free on the cache drive all the time (just to be sure). In the configuration of the share you can specify a Min. free space, is this number in bytes, kb, mb? for 50gb of minimum free space will it be 50000000000? or 50000000 or something else?

 

Thanks a bunch for your help :)

 

Ezbox

kb
  • 3 months later...

Is there a  recommended min free space setting for a cache drive? I think unraid defaults to 20 gig is that for a reason?

Cache drive should be set to equal the largest share min that uses the cache.

ok so If I sent my movies share min to 30 then my Cache should be the same size. Makes sense.

The cache min free space should be set to be larger than the largest file you might copy. That way, unRAID won't start to place the file on the cache drive and then fail when the drive fills. The copy or move will often start with an empty file and then fill it as it goes so the empty file fits fine but it runs out of space as the actual file data fills the disk.

 

The idea is to start copying directly to the array instead of using the cache drive if you're going to run out of space on the cache drive.

 

It might be a good idea to run the mover and then do another copy once the cache is empty again.

 

Peter

 

Free space is based on file and not folder size correct. So if I have a folder that is 10 GBs but the 5 files inside are only 2 Gbs then a min space size of 5 GBs would be plenty? I am trying to figure out what the best setting is for min free space on the cache and the user shares. If I have a blue ray rip that is 30 GBs than I should set the min to 60 GBs on both the cache and the user share? Sorry for all the questions and thanks for your patience.

If it was me and that of course is must my opinion. I would have the Cache drive be as large as however much data I would normally send to it in a day. Meaning if I would normally send over to it 500GB a day then it should be at least 500GB plus some extra space. At my daily use I could easily use less than 100GB drive, but mileage will vary to individual users. Since the mover script runs once a night its going to free up whatever isn't open on your Cache Drive.

 

However in this case its a new build and media is being sent to it for the first time I would disable the Cache Drive and send directly to the array and leave the Cache drive off until things stabilize. Why would you want to throw all of your media to the Cache drive when its going to be unprotected until its moved?

There will be two copies of all of the data. Its a lot faster to copy with a cache or to not enable parity until after the initial data copy is over. Once to data is copied into the array with parity then the original copy can be deleted. Important files should still be backed up.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.