LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-22-2015, 02:07 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
quotas not enabling in xfs partition: quotacheck gives error


quotas not enabling in xfs partition: quotacheck gives error

Code:
[root@centos7 ~]# /sbin/quotacheck -cmu /
quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
[root@centos7 ~]# cat /etc/fstab |egrep "\/\s"
/dev/mapper/centos-root /                       xfs     defaults,usrquota        1 1
After adding usrquota, I remounted the drive an also turned quotas on.
Code:
/bin/mount -o remount /
  /sbin/quotacheck -cmu /
  /sbin/quotaon -avu
I even tried rebooting.

Any ideas?
 
Old 03-22-2015, 03:24 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Try this:

Code:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/xfsquota.html
or
Code:
http://docs.oracle.com/cd/E37670_01/E37355/html/ol_quoset_xfs.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot messages: Enabling Local Filesystem Quotas: [Failed] simke Linux - Server 0 09-13-2010 07:34 PM
[SOLVED] GRUB won't boot from XFS partition, gives error 21. cantab Linux - Software 8 04-19-2010 05:55 PM
Quotas: Put quotacheck in a cron-job? kenneho Linux - Server 4 08-26-2009 02:07 AM
XFS & Quotas on Slack snoopy1 Slackware 4 10-09-2008 04:06 AM
Enabling quotas problem RH8 bsysneil Red Hat 0 08-13-2004 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration