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 in Linux Administration by slayer
• 29,050 points
33 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 by Omkar
• 67,380 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 in Linux Administration by ajs3033
• 7,280 points
39 views
0 votes
1 answer
0 votes
1 answer

Redirecting output to a file and stdout

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

answered May 31 in Linux Administration by Shubham
• 13,290 points
26 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,670 points
681 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 in Career Counselling by Gitika
• 25,340 points
82 views
0 votes
2 answers

Linux administrator salary

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

answered Mar 1 in Career Counselling by Usha
47 views
0 votes
2 answers

How to become a linux administrator?

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

answered Feb 8 in Career Counselling by Karan
56 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 in Linux Administration by Omkar
• 67,380 points
28 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 in Linux Administration by Gitika
• 25,340 points

edited Jul 2 by Gitika 68 views