Regarding Edquota soft and hard limits

0 votes
I want to change the soft and hard limit of block in Edquota. How to do this? And also, should the limit be in MB or GB?
Jan 3, 2019 in Linux Administration by slayer
• 29,260 points
46 views

1 answer to this question.

0 votes

The provided value for soft and hard limit of block must be in bytes.

8388608/1024 =8192/1024 = 8GB
10485760/1024 = 10240/1024 = 10GB

Accordingly, use "edquota" then run the command with "-u" argument as shown below

# edquota -u username
Disk quotas for user username (uid 1005):
  Filesystem                   blocks       soft       hard     inodes     soft     hard
  /dev/mapper/system-tmp            0   8388608   10485760          0        0        0


This will show you the currently set quota limits for the user "username". Here you can make you modification, after which save and exit the file using "wq!"

answered Jan 3, 2019 by Omkar
• 68,860 points

Related Questions In Linux Administration

+1 vote
3 answers
0 votes
1 answer

redirecting stdout and stderr to file using bash

cmd >>file.txt 2>&1 Bash always executes and redirects ...READ MORE

answered Mar 19, 2019 in Linux Administration by ajs3033
• 7,280 points
96 views
0 votes
1 answer

How to extract file base name without path and extension in bash?

You don't actually have to call the ...READ MORE

answered May 31, 2019 in Linux Administration by Shubham
• 13,370 points
242 views
0 votes
1 answer

Redirecting output to a file and stdout

The command you want is named tee; foo ...READ MORE

answered May 31, 2019 in Linux Administration by Shubham
• 13,370 points
46 views
+5 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 18, 2018 in Career Counselling by eatcodesleeprepeat
• 4,750 points
823 views
0 votes
3 answers

What are the roles and responsibilities of a linux administrator?

Hi, Basically, roles and  responsibilities vary from industry ...READ MORE

answered Jul 1, 2019 in Career Counselling by Gitika
• 25,440 points
148 views
0 votes
2 answers

Linux administrator salary

Linux admin takes care of the Linux ...READ MORE

answered Mar 1, 2019 in Career Counselling by Usha
76 views
0 votes
2 answers

How to become a linux administrator?

The first step to becoming a Linux ...READ MORE

answered Feb 8, 2019 in Career Counselling by Karan
92 views
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 68,860 points
49 views
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

answered Jul 2, 2019 in Linux Administration by Gitika
• 25,440 points

edited Jul 2, 2019 by Gitika 98 views