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,370 points
597 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
• 69,220 points

Related Questions In Linux Administration

0 votes
0 answers

What is the difference between a symbolic link and a hard link?

Recently I was asked this during a ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,680 points
383 views
+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,300 points
22,385 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,490 points
5,931 views
+6 votes
17 answers

What are job opportunities as a Linux System Administrator?

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

answered Jul 19, 2018 in Career Counselling by eatcodesleeprepeat
• 4,710 points
11,415 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
• 65,770 points
3,006 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
1,280 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
794 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 Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
2,007 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
• 65,770 points

edited Jul 2, 2019 by Gitika 2,763 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP