1833053 Members
2331 Online
110049 Solutions
New Discussion

setting up disk quota

 
Quang_2
Occasional Contributor

setting up disk quota

Hi,
I would like to setup disk quota for user home directories (/d/home/user_home_dir).
There is a command to do this like:
#edquota username
then in the editor, for example:
fs /d/home/user_home_dir blocks (soft=20000, hard=30000) inodes (soft=0, hard=0)

The problem is disk /dev/vgnms/home is mapped to /d/home only. Do I have to add anything in the /etc/fstab file?

Your constructive response is greatly appreciated.
Kind regards.
4 REPLIES 4
Michael Tully
Honored Contributor
John Poff
Honored Contributor

Re: setting up disk quota

Hi,

Quotas are setup at the filesystem level, so your quota would go against the /d/home filesystem per user quota. If you are concerned about people adding files outside of their home directory, that is a permissions and management problem. Your quota will just limit the amount of files they can put on a file system.

You shouldn't have to do anything with your /etc/fstab file. You don't want a separate filesystem for each user's home directory, especially just to manage quotas.

JP
Quang_2
Occasional Contributor

Re: setting up disk quota

Thanks to both of you Michael and John. Your tips really helps.
Quang_2
Occasional Contributor

Re: setting up disk quota

Thanks to both of you Michael and John. Your tips really help.