V
V
vlarkanov2018-07-10 14:19:33
linux
vlarkanov, 2018-07-10 14:19:33

How to limit the size of samba shares?

Hello! The question is rather strange.
There is a ball on the big section. It is necessary to make sure that it is impossible to put more than a certain total amount of data into it. Due to the specifics of the operation of this machine, it is impossible to "bite off" a part of the required size from a large section in order to create a ball on this section. Is there any way to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karpion, 2018-10-15
@Karpion

You can configure quotas at the Samba level. Or you can set up system quotas - for users.
Generally speaking, you can pervert very severely - for example, create a file of the required size and organize a file system inside it. Those. mount the file as a partition.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question