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,040 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 65,840 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,000 points
+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
0 votes
2 answers

What are the roles and responsibilities of a linux administrator?

Linux programmers are responsible for developing, debugging ...READ MORE

answered Apr 17 in Career Counselling by Sindhu
0 votes
2 answers

Linux administrator salary

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

answered Mar 1 in Career Counselling by Usha
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
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
• 65,840 points
0 votes
1 answer

What is soft assert and hard assert?

Soft Assert: Soft Assert collects errors during ...READ MORE

answered Dec 31, 2018 in Selenium by Stranger
0 votes
1 answer

Query regarding String and Varchar in Hive

Varchar datatype is also saved internally as ...READ MORE

answered Feb 19 in Big Data Hadoop by Omkar
• 65,840 points
0 votes
2 answers

What is difference between Distributed search head and Search head cluster?

 A distributed environment describes the separation of ...READ MORE

answered Dec 3, 2018 in Data Analytics by Ali
• 10,290 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.