HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   quotacheck error message (http://www.howtoforge.com/forums/showthread.php?t=43158)

HobsonDrake 30th January 2010 19:49

quotacheck error message
 
I am following the howto for Fedora server. After following the steps for quota I run the
quotacheck -avugm and get these errors.

quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Cannot save quota settings...
quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Cannot save quota settings...
quotacheck: Scanning /dev/mapper/vg_doghouse-lv_root [/] quotacheck: lstat Cannot stat `//home/John/.gvfs': Permission denied
Guess you'd better run fsck first !
exiting...

I have rechecked the fstab and recreated the /aquota.user and /aquota.group.

I also did and ls -al on the //home/John/.gvfs and it has a permissions of
d????????? ? ? ? ? .gvfs

Any ideas what is going on?
Thanks, John

HobsonDrake 30th January 2010 21:29

OK some more info and questions on this.
I followed the Howto for Fedora 12. I was looking at the Howto for Fedora 11 and there are some differences.
In the fstab for 12 it says to add after defaults ,usrjquota=aquota.user,grpjquota=aquota.group,jqfm t=vfsv0
and in 11 it says to add ,usrquota,grpquota

Let me add that my system is not 64bit

and here is my fstab just in case some one needs to see it

# /etc/fstab
# Created by anaconda on Tue Jan 26 12:13:28 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_doghouse-lv_root / ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.gr oup,jqfmt=vfsv0 1 1
UUID=de1b8e93-1d57-42af-a39a-ee5a200a869f /boot ext4 defaults 1 2
/dev/mapper/vg_doghouse-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

falko 31st January 2010 17:40

The Fedora 12 tutorial uses journaled quota - does it work with that?

HobsonDrake 31st January 2010 23:46

falko, I am unfamiliar with quota. So I don't know the difference between that and journaled quota. What would the request be? Can you tell me what to look for please. I will look it up with #man.
Thanks.
John

falko 1st February 2010 13:59

Which instructions gave you the error? The instructions from the Fedora 12 or the Fedora 11 tutorial?

Hans 1st February 2010 15:22

@Falko,
Also on Debian Lenny, now a message occurs, which suggests to use journaled quota instead.
I ignored it during installation, but i want you to know.

HobsonDrake 2nd February 2010 03:01

The instruction was
quotacheck -avugm

Taken from page 3 of
The Perfect Server - Fedora 12 x86_64 [ISPConfig 2]

melask 2nd February 2010 03:19

Ok.

First of all Hi,

I saw ur issue here...and registered only to reply you xexe :)

I am using Ubuntu 9.10 and i had exactly tha same problem. So a possible solution is: to run the commands through a tty window and not through kde or gnome's terminal console window.

Just log off from your graphical environment and switch to e.g. tty1 window with the ctrl+alt+F1 keys. Run all the commands there (after u login ofc) and u are ok.

Switch back to kde/gnome with ctrl+alt+F7

Hope, I helped ya.

falko 2nd February 2010 15:37

Quote:

Originally Posted by HobsonDrake (Post 218257)
The instruction was
quotacheck -avugm

Taken from page 3 of
The Perfect Server - Fedora 12 x86_64 [ISPConfig 2]

Ok, can you try the instructions from the Fedora 11 tutorial? Do these work?

falko 2nd February 2010 15:39

Quote:

Originally Posted by Hans (Post 218164)
@Falko,
Also on Debian Lenny, now a message occurs, which suggests to use journaled quota instead.
I ignored it during installation, but i want you to know.

Hi Hans,

yes, I know, but these are just warnings. If you want to set up journaled quota, take a look here: http://www.howtoforge.com/how-to-set...n-debian-lenny :)


All times are GMT +2. The time now is 09:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.