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

Featured Replies

Hello

I'd like to request the ability to give a maximum size you want a certain share to be. I read this post but I believe it would be possible if you allowed a script to run that basically checks the share size with du or so and then makes it read only if it's the given size or higher. 

I wanted to allow SFTP before I made an ubuntu vm for it and I noticed that with each reboot it would revert the files I changed (due to it being on RAM to limit write usage to the usb stick) so diy'ing this isn't possible as far as my knowledge goes on unraid. 

Thanks in advance

  • 4 weeks later...
  • Replies 85
  • Views 23.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • You don't usually get replies to feature requests, except sometimes by other users if they want the same (like +1), but requests are still checked and considered by LT.    

  • Nick Kos
    Nick Kos

    The workaround on how to make Unraid shares with quota. It will work with Hikvision cameras well.   1. Make the directory where you will store .img files for shares. I prefer to do this on c

  • +1 This should be a basic feature of Unraid

Posted Images

  • Author

Not even a single reply... 

You don't usually get replies to feature requests, except sometimes by other users if they want the same (like +1), but requests are still checked and considered by LT.

 

 

  • Community Expert
On 11/3/2019 at 2:06 AM, lachiu said:

I wanted to allow SFTP before I made an ubuntu vm for it and I noticed that with each reboot it would revert the files I changed (due to it being on RAM to limit write usage to the usb stick) so diy'ing this isn't possible as far as my knowledge goes on unraid. 

You can make changes 'stick' by putting a copy of the changed files on the USB stuck and then adding the commands to copy them into their runtime position to either the config/go file on the USB stick or by doing it in a script to be run by the User Scripts plugin on first array start.

 

On 11/3/2019 at 2:06 AM, lachiu said:

I'd like to request the ability to give a maximum size you want a certain share to be. I read this post but I believe it would be possible if you allowed a script to run that basically checks the share size with du or so and then makes it read only if it's the given size or higher. 

Not sure it is quite as easy as this, but if it is the DIY way to do this would be using the User Scripts plugin to run the appropriate command at regular intervals.

  • Author
3 minutes ago, itimpi said:

You can make changes 'stick' by putting a copy of the changed files on the USB stuck and then adding the commands to copy them into their runtime position to either the config/go file on the USB stick or by doing it in a script to be run by the User Scripts plugin on first array start.

 

Not sure it is quite as easy as this, but if it is the DIY way to do this would be using the User Scripts plugin to run the appropriate command at regular intervals.

I should've made an edit. 

I'm doing it on the sftp server with this script (wrote it myself) already, on an ubuntu vm.

 

  • 4 months later...

I'd like to see this feature as well. I know when setting up a Time Machine share via AFP previously I could set a max size. I just went to do it on a regular SMB share and realized you couldn't.

  • 3 months later...

+1 for limit share size.

6.8 has an option for Time Machine, but it's help info is unclear if it is for any kind of user share or exclusively for TM.

Edited by Joseph

  • 7 months later...

+1, would be very helpful for time machine backups. 

  • 2 weeks later...

+1 Why has this not been implemented? This is such a good idea and there is so many use cases for it.

+1

 

would be very helpful, is possible with my Qnap bulit in 2008, so definetly nothing new... ;)

  • 4 months later...

+1

 

Users quotas or some kind of share size limit will be so sweat for all of our projects ! I wish it will be added to new versions

  • 2 months later...

+1

Coming from FreeNAS this is missing...

  • 3 weeks later...

+1 for size limits on individual shares.

 

Seems there is a bug in Hikvision cameras that wont allow them to save footage to a drive that reports itself as being greater than 250gb

  • 4 weeks later...

+1

  • 3 weeks later...

+1

  • 4 weeks later...

+1

  • 1 month later...

+1

  • 1 month later...

+1

 

I too have come from FreeNAS and would love to limit a share's max size.

  • 1 month later...
  • 1 month later...

+1

  • 3 weeks later...

+1 :-)

  • 1 month later...

This would be a really great feature to have

  • 2 months later...

I, too, would like to add +1 this feature request. I, like a few others on this thread, have switched over from a QNAP NAS in which this was possible, and was definitely quite useful.

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
Reply to this topic...

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.