lachiu Posted November 3, 2019 Share Posted November 3, 2019 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 1 1 5 Quote Link to comment
lachiu Posted November 25, 2019 Author Share Posted November 25, 2019 Not even a single reply... Quote Link to comment
JorgeB Posted November 25, 2019 Share Posted November 25, 2019 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. 1 1 Quote Link to comment
itimpi Posted November 25, 2019 Share Posted November 25, 2019 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. 1 Quote Link to comment
lachiu Posted November 25, 2019 Author Share Posted November 25, 2019 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. Quote Link to comment
autumnwalker Posted April 7, 2020 Share Posted April 7, 2020 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. Quote Link to comment
Joseph Posted August 2, 2020 Share Posted August 2, 2020 (edited) +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 August 2, 2020 by Joseph Quote Link to comment
stian_90 Posted March 14, 2021 Share Posted March 14, 2021 +1, would be very helpful for time machine backups. Quote Link to comment
Taako Posted March 29, 2021 Share Posted March 29, 2021 +1 Why has this not been implemented? This is such a good idea and there is so many use cases for it. Quote Link to comment
kugelmugel Posted April 5, 2021 Share Posted April 5, 2021 +1 would be very helpful, is possible with my Qnap bulit in 2008, so definetly nothing new... ;) Quote Link to comment
FantasyNoobs Posted August 23, 2021 Share Posted August 23, 2021 +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 Quote Link to comment
ToTo Posted October 24, 2021 Share Posted October 24, 2021 +1 Coming from FreeNAS this is missing... Quote Link to comment
zachflem Posted November 13, 2021 Share Posted November 13, 2021 +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 Quote Link to comment
Patrick Gerring Posted April 19, 2022 Share Posted April 19, 2022 +1 I too have come from FreeNAS and would love to limit a share's max size. Quote Link to comment
surelyHungry Posted September 6, 2022 Share Posted September 6, 2022 This would be a really great feature to have Quote Link to comment
Evolze Posted November 14, 2022 Share Posted November 14, 2022 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. Quote Link to comment
Recommended Posts
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.