setting quota
Hi,
I want to setup quota on /data/COMP. I have Redhat 6.3 Etnerprise server. Below is the /etc/fstab entry given. The volume is a LVM. ========/etc/fstab======== /dev/mapper/vg-LogVo /data ext4 defaults,usrquota,grpquota 1 2 Getting below message while setting quota on $ sudo quotaon -vug /data/COMP/ quotaon: Mountpoint (or device) /data/COMP not found or has no quota enabled. Can anybody give me steps to acheive this. I want to allocate 100 GB space on this folder for all users. Thanks, |
you also have quotas set to use /data, then you want to run quotas on /data/COMP.Put in the fstab /data/COMP then remount the drive and then
#quotacheck -cugm /data/COMP 1)set the relevant quotas #setquota -u or setquota -g 2)Then turn on quotas #quotaon -a /data/COMP |
Thanks for replying. I want to allocate /data/Comp 500 G and /data/Comp2 200 G. Is it possible . if yes May I know the /etc/fstab entry for the same.
|
Can anybody help me on this ?
|
Read section 7 here http://www.linuxtopia.org/online_boo...ion/index.html.
You can only set quotas on filesystems/partitions/mount-points; you cannot set quotas per dir. In your case this means /data, not /data/COMP. Quotas may be set per user or per group. |
Thanks Chris , you were right.
|
All times are GMT -5. The time now is 01:40 PM. |