Sponsored Content
Full Discussion: Enable user quota
Top Forums UNIX for Dummies Questions & Answers Enable user quota Post 302141164 by rdns on Thursday 18th of October 2007 02:23:30 AM
Old 10-18-2007
Question Enable user quota

hi!

i would like to enable user quota on my system (FreeBSD 6.2)
i've check on enabling user quota here but i still confuse with fstab

it shows there:
Code:
/dev/da1s2g   /home    ufs rw,userquota 1 2

but my current /etc/fstab :
Code:
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad4s1a             /               ufs     rw              1       1
/dev/ad4s1d             /tmp            ufs     rw              2       2
/dev/ad4s1b             none            swap    sw              0       0

can i just add
Code:
/dev/ad4s1c   /home    ufs rw,userquota 1 2

to make user quota on /home work?

Last edited by rdns; 10-18-2007 at 03:53 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how can I check the user's mail quota?

how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused: For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies

2. Linux

How to set user quota

I've a redhat 9.0 and I want to set a user quota. but the question is where should I start from and How ??? :confused: :confused: :confused: :confused: (2 Replies)
Discussion started by: KaiXiang
2 Replies

3. UNIX for Advanced & Expert Users

User Quota setting with NIS and NAS

Hi Guru, Need some advice on the PROs and CONs between setting up user quota with NAS and Nis. Thanks Regards. YLL (1 Reply)
Discussion started by: yll
1 Replies

4. Shell Programming and Scripting

allocate user quota using perl script

Hi I'm a student who is studying system administration. I need to write a perl script to allocate disk quota to users. I'm using ubuntu and When I try to run edquota command in command line it says that Can't find file system with quota. pls help me. I tried to edit fstab. but didn't work. ... (1 Reply)
Discussion started by: piumali
1 Replies

5. Red Hat

User quota

Hi, I want to apply the user quota, but i am unable to apply the quota to user. Kindly provide the guide line, so that i can sortout the problem. Step 1: Create partion on device #fdisk /dev/sda (because hard disk is scsi) #n (new partition table) i.e /dev/sda8. #p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

6. UNIX for Advanced & Expert Users

lvm user quota

Whats the best method of setting lvm user quota? I saw both of these and I am not sure which to use. Linux File System Quotas Howtos Linux-Vserver With LVM And Quotas - 5dollarwhitebox.org Media Wiki (1 Reply)
Discussion started by: cokedude
1 Replies

7. Red Hat

Auto Increasing Quota for User.

Hi, I would like to know wheather we can increase the quota for particular user automatically? I am having requirement to increase the quota only for 2 days in a week. but that shoule be automatically instead of manualy modification. is it possible? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

8. Red Hat

Enable journaled quota

Hi guys, I will truly appreciate your help here. How do you enable journaled quota on rhel6? Thank you so much for the assistance. (2 Replies)
Discussion started by: cjashu
2 Replies

9. Shell Programming and Scripting

Read the USER Quota in SSH

How the User Quota query from an SSH access to Linux Shell. (5 Replies)
Discussion started by: Linuxmann
5 Replies

10. UNIX for Beginners Questions & Answers

Set hard block limit for user using quota

hi all, i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive) i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
repquota(8)						      System Manager's Manual						       repquota(8)

NAME
repquota - summarizes file system quotas SYNOPSIS
/usr/sbin/repquota [-guv] file_spec ... /usr/sbin/repquota -a [-guv] PARAMETERS
Specifies one or more file systems. Specify any file system by entering its full path name or its mount point. The full path name is the name entered in the file_spec field of the file system's entry in the /etc/fstab file. The mount point is the name entered in the mnt_point field of the file system's entry in the /etc/fstab file. For UFS file systems, you can alternatively enter the name of a block device special file. For example: /dev/disk/dsk3c. For AdvFS filesets, you can alternatively enter the name of a file domain, a pound sign (#), and the name of the fileset. For exam- ple: root_domain#root. FLAGS
Prints quotas for all the file systems listed in /etc/fstab. Prints group quotas only. Prints user quotas only. Prints a header line before the information for each file system. DESCRIPTION
The repquota command prints a summary of the disk usage and quotas for the specified file systems. The command provides a snapshot of the quota statistics, which may be inaccurate if there is current activity in the file system. To ensure that the satistics are accurate, run the command when there is no file system activity. To be included in the summary, each file system must have the userquota and groupquota entries in the /etc/fstab file . The following is an example of an entry in the etc/fstab file for the usr fileset: advfs_dmn#usr /usr advfs rw,userquota,groupquota By default, both user and group quota are displayed (if they exist). For each user or group, the current number of files and amount of space (in kilobytes) is printed, as well as quota limits established with the edquota command. repquota must be run by a user with superuser authority. NOTES
Disk quotas are displayed as 1 kilobyte blocks. The term file system represents either a UFS file system or and AdvFS fileset. RESTRICTIONS
You must be the root user to use the repquota command. FILES
Specifies the command path Contains user quotas for file systems Contains group quotas for file systems Contains fileset names and loca- tions RELATED INFORMATION
Commands: edquota(8), fsck(8), quota(1), quotacheck(8), quotaon(8). Functions: quotactl(2). Files: fstab(4). delim off repquota(8)
All times are GMT -4. The time now is 07:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy