Tuesday, March 9, 2010

Quota:Remounting file system:

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Remounting file system:


We simply have to run the following command, to make the changes effective:


# mount -o remount /home


Create quota database file:


For creating this file we will be using touch command.


# touch /home/aquota.user


Note: We should make this file only accessible to the root user i.e. with read and write permission to the root user. Moreover this file does not need to be executable, we will not give execute permission to root. Use following command to change the permissions:


# chmod 600 /home/aquota.user


Create base quota file


Now we will create quota files with quotacheck command, which is as follows:


# quotacheck -avmu


-a option scans /etc/mtab for file system with enabled quotas. -v option creates verbose output. -u option looks for user quota, and -m option remounts the scanned file system.



No comments:

Post a Comment