hi guys,
i have seen this link and its exactly what im after but im just wondering how you set a quota for user rob and i want it set to 500gb?
https://www.centos.org/docs/5/html/Depl ... uotas.html
many thanks,
rob
Put quota on folder/directory
Re: Put quota on folder/directory
mmm...
is this just a warning system and not what i thought it was ie if user rob hits the 500gb mark it wont allow rob to consume more space on the directory?
is this just a warning system and not what i thought it was ie if user rob hits the 500gb mark it wont allow rob to consume more space on the directory?
Re: Put quota on folder/directory
That documentation is from CentOS 5, you are posting in a CentOS 7 forum. You really shouldn't be using CentOS 5, it is no longer supported, and if you are using C6 or C7 then don't rely on C5 manuals.
Re: Put quota on folder/directory
The user and group quotas are for a filesystem, not for a directory.
Yes, one can not consume more than the hard limit.
The default filesystem in CentOS 7 is XFS. XFS has user and group quotas, but it can alternatively have project quotas. Project quota can be for a directory.
Setting quotas on XFS is different than on Ext*-filesystems. We don't know what you have.
Yes, one can not consume more than the hard limit.
The default filesystem in CentOS 7 is XFS. XFS has user and group quotas, but it can alternatively have project quotas. Project quota can be for a directory.
Setting quotas on XFS is different than on Ext*-filesystems. We don't know what you have.
Re: Put quota on folder/directory
couldn't be bothered wasting my time trying to figure out quota so in the end i used parted to make different size partitions on my hard drive and after i partitioned it i ran mkfs to format the partitions
Re: Put quota on folder/directory
thanks i will look into the new XFS file system on centos 7 and set up quotas