December 3, 201411 yr is it possible to set a user share size limit(SMB)? like you can for the TimeMachine share?
December 10, 201411 yr I don't think this is possible today, but this is an interesting idea. Btrfs offers a way to set quotas on subvolumes, which would be one way to accomplish this at a filesystem level, but not sure if that's ideal for user shares because shares can cross over multiple devices / filesystems. This is definitely a feature that we should look into at some point, but not something I would think needs to be prioritized for 6.0.
December 10, 201411 yr Author I don't think this is possible today, but this is an interesting idea. Btrfs offers a way to set quotas on subvolumes, which would be one way to accomplish this at a filesystem level, but not sure if that's ideal for user shares because shares can cross over multiple devices / filesystems. This is definitely a feature that we should look into at some point, but not something I would think needs to be prioritized for 6.0. all my user shares are on a single disk, can you explain how to setup quotas for them? IE: 100gb per user share
December 10, 201411 yr Not easily. Its all commandline right now and relies on subvolumes on btrfs. This is still a feature request we will need to address.
December 10, 201411 yr Author Not easily. Its all commandline right now and relies on subvolumes on btrfs. This is still a feature request we will need to address. Do you have a link for reference?
December 10, 201411 yr https://btrfs.wiki.kernel.org/ ok, that seems complicated, LOL Exactly! We want to get to testing this at some point, but not something we will get to play with before the release of 6.0.
December 10, 201411 yr Author Ah, a simple size limit for the user share would be sooo much nicer, but i don't think samba supports quotas
December 11, 201411 yr Author Can I ask what the use case you have for quotas is? i have a single 1tb drive used for timemachine backups, and 2 user shares for file backup, i want to set a 100gb limit per user share
December 11, 201411 yr Can I ask what the use case you have for quotas is? i have a single 1tb drive used for timemachine backups, and 2 user shares for file backup, i want to set a 100gb limit per user share I have pretty much the same problem. 3 computers that I backup to a single hd mounted on an Airport. The only thing that keeps me from using my unRaid is the fact that I can't limit the size of the file. My MacPro would take over the whole share. Would be very nice to be able to install a 6TB HDD and allocate 1TB to each TM backup and the balance to my Media share since empty slots are in short supply.
December 11, 201411 yr Author Can I ask what the use case you have for quotas is? i have a single 1tb drive used for timemachine backups, and 2 user shares for file backup, i want to set a 100gb limit per user share I have pretty much the same problem. 3 computers that I backup to a single hd mounted on an Airport. The only thing that keeps me from using my unRaid is the fact that I can't limit the size of the file. My MacPro would take over the whole share. Would be very nice to be able to install a 6TB HDD and allocate 1TB to each TM backup and the balance to my Media share since empty slots are in short supply. you can specify a size limit for time machine, but not for user shares (smb)
December 11, 201411 yr you can specify a size limit for time machine, but not for user shares (smb) How do you limit the size for each time machine backup?
December 11, 201411 yr Author you can specify a size limit for time machine, but not for user shares (smb) How do you limit the size for each time machine backup? under shares, afp security settings, timemachine volume size limit
December 11, 201411 yr I never realized it was possible to setup multiple time machine volumes. Thanks.
September 7, 20169 yr Bumping this as this would be a feature I would use immediately. I'll give you my use case: Server serves media (TV shows and movies) to myself and three other roommates. In addition, we each have our own personal (SMB) user shares that we use for personal data (backups, photos, etc...). To keep things fair, setting a size limit for these shares would be beneficial so that one individual cannot hog the array's capacity. In a perfect world I would just condition my roommates to practice restraint and not throw tons of junk in their personal folders, but you know people can be stupid and/or greedy. I've read around the forums extensively about how this could be done by limiting a share to a disk, but I don't have equal disks of a reasonable size to devote to this cause. I've also seen suggestions to try splitting a disk into a few virtual partitions, but failed to find anyone who implemented it in a bulletproof way. Cheers
September 7, 20169 yr Bumping this as this would be a feature I would use immediately. I'll give you my use case: Server serves media (TV shows and movies) to myself and three other roommates. In addition, we each have our own personal (SMB) user shares that we use for personal data (backups, photos, etc...). To keep things fair, setting a size limit for these shares would be beneficial so that one individual cannot hog the array's capacity. In a perfect world I would just condition my roommates to practice restraint and not throw tons of junk in their personal folders, but you know people can be stupid and/or greedy. I've read around the forums extensively about how this could be done by limiting a share to a disk, but I don't have equal disks of a reasonable size to devote to this cause. I've also seen suggestions to try splitting a disk into a few virtual partitions, but failed to find anyone who implemented it in a bulletproof way. I suppose if I wanted to enforce this, in a way that is fair and avoids squabbles, I'd create a policy of BYOD, Bring Your Own Disk! Then each one uses and writes *only* to their disk. If they want more space, they buy a bigger disk, and replace theirs. No one ever has to deal with anyone else's greed or clutter. This doesn't preclude having other shared spaces, if you choose. To avoid fights, it's always best for each shared space to have only one owner, one 'ruler'. Their space, their rules, even if shared access.
September 7, 20169 yr Bumping this as this would be a feature I would use immediately. I'll give you my use case: Server serves media (TV shows and movies) to myself and three other roommates. In addition, we each have our own personal (SMB) user shares that we use for personal data (backups, photos, etc...). To keep things fair, setting a size limit for these shares would be beneficial so that one individual cannot hog the array's capacity. In a perfect world I would just condition my roommates to practice restraint and not throw tons of junk in their personal folders, but you know people can be stupid and/or greedy. I've read around the forums extensively about how this could be done by limiting a share to a disk, but I don't have equal disks of a reasonable size to devote to this cause. I've also seen suggestions to try splitting a disk into a few virtual partitions, but failed to find anyone who implemented it in a bulletproof way. I suppose if I wanted to enforce this, in a way that is fair and avoids squabbles, I'd create a policy of BYOD, Bring Your Own Disk! Then each one uses and writes *only* to their disk. If they want more space, they buy a bigger disk, and replace theirs. No one ever has to deal with anyone else's greed or clutter. This doesn't preclude having other shared spaces, if you choose. To avoid fights, it's always best for each shared space to have only one owner, one 'ruler'. Their space, their rules, even if shared access. True, that would be an excellent way to enforce it. However SATA connections in the system are too valuable to give each roommate their own disk. Much more efficient to throw one large disk in and then split it evenly among the squabblers.
January 30, 20197 yr Did this ever get implemented? I'm trialling Unraid now and this seems to be a critical missing feature. Especially for my CCTV camera which will basically fill the drive and then start deleting old files.
January 30, 20197 yr 2 hours ago, daninmanchester said: Did this ever get implemented? I'm trialling Unraid now and this seems to be a critical missing feature. Especially for my CCTV camera which will basically fill the drive and then start deleting old files. No. Workarounds though would be limiting the share to only exist on a specific drive and/or an unassigned device.
April 23, 20206 yr If this is impossible, how can I limit the size of a Windows File History target? I'm using 12 TB drives so per drive free space isn't a workaround.
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.