Hi,
While the answer from Hara got the point for keeping the disk usage
under a certain threshold,
Let me add the one more tip
> I have 3 storage node with disk capacity 2TB each and I want that one of the storage nodes not to occupy more than 1 TB of disk space. Since the rest of the free space may be needed for other purposes
In other words,
You have 3 storage nodes with different disk spaces.
- 2 have 2TB
- 1 have 1TB
That being said,
you would have to distribute data into each node NOT EVENLY
BUT distribute data according to its disk space like the below.
disk space : data distribution = 2 : 1
You can solve this distribution problem by tweaking num_of_vnodes
which details are described at
http://leo-project.net/leofs/docs/configuration/configuration_2.html .
In your case, You would need to set num_of_vnodes on the leo_storage
with 1TB to 84 (= 168 / 2) while leaving that on other leo_storage(s)
the default(168).
Please let me know if you have any further question.
Best,
Kanno.
>
https://groups.google.com/d/msgid/leoproject_leofs/CANRQ_DU7h%3Dgga-6C-VZX5VyAC%3DWUXstxNRjGc3vbiT3%2BTiaEOg%40mail.gmail.com.
--
Yoshiyuki Kanno
LeoFS Committer(
http://www.leofs.org)
--------------------------------------------------
Stoic Corp.
URL:
http://www.stoic.co.jp/
E-mail:
yoshiyu...@stoic.co.jp