Access to only part of the disk, e.g. 10 Gb

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142
How can I provide e.g. 10 GB for a given network share?
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Set a quota on a dataset.
 

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Read the manual about quotas
 

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142
@Alecmascot And you know how to extend to 20 Gb? I changed the parameter but it is still 10 GB.
 

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142
10 Gb is allocated to each user separately. How to make such an allocation for everyone and not for everyone separately?

ixnas:base_user_quota = 10G
ixnas:zfs_quota_enabled = True
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Is this any help :
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
How to make such an allocation for everyone and not for everyone separately?

ZFS supports this. Edit your dataset, go into Advanced, and set "Quota for this dataset". You can also set it for the dataset and all children, which includes snapshots.
 

adam23450

Contributor
Joined
Feb 19, 2020
Messages
142
ZFS supports this. Edit your dataset, go into Advanced, and set "Quota for this dataset". You can also set it for the dataset and all children, which includes snapshots.
Your advice works. Thank you!!!
 
Top