LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2009, 05:21 AM   #1
DarkSlayer
Member
 
Registered: Apr 2008
Location: Tbilisi , Georgia
Distribution: Fedora, CentOS
Posts: 65

Rep: Reputation: 19
Exclamation [need help] Problems installing Quota


System Fedora 11 x32
trying to install Quota
tried several times
getting next errors (last output):

Please help solve it

Code:
[root@FBox den]# rm -f /quota.user
[root@FBox den]# rm -f /quota.group
[root@FBox den]# touch /aquota.user /aquota.group
[root@FBox den]# chmod 600 /aquota.*
[root@FBox den]# mount -o remount /
[root@FBox den]# quotacheck -avugm
quotacheck: Your kernel probably supports journaled quota but you are not using                                                                                                  it. Consider switching to journaled quota to avoid running quotacheck after an u                                                                                                 nclean shutdown.
quotacheck: WARNING -  Quotafile //aquota.user was probably truncated. Cannot sa                                                                                                 ve quota settings...
quotacheck: WARNING -  Quotafile //aquota.group was probably truncated. Cannot s                                                                                                 ave quota settings...
quotacheck: Scanning /dev/mapper/vg_fbox-System [/] quotacheck: lstat Cannot sta                                                                                                 t `//home/den/.gvfs': Permission denied
Guess you'd better run fsck first !
exiting...
Code:
[root@FBox den]# quotaon -avug
quotaon: Cannot find quota file on / [/dev/mapper/vg_fbox-System] to turn quotas                                                                                                  on/off.
quotaon: Cannot find quota file on / [/dev/mapper/vg_fbox-System] to turn quotas                                                                                                  on/off.
Code:
[root@FBox den]# ls -la /
total 110
drwxr-xr-x.  22 root root  4096 2009-08-10 13:04 .
drwxr-xr-x.  22 root root  4096 2009-08-10 13:04 ..
-rw-------    1 root root     0 2009-08-10 13:41 aquota.group
-rw-------    1 root root     0 2009-08-10 13:41 aquota.user
-rw-r--r--    1 root root     0 2009-08-10 08:57 .autofsck
-rw-r--r--    1 root root     0 2009-07-25 08:04 .autorelabel
drwxr-xr-x.   2 root root  4096 2009-08-10 09:32 bin
drwxr-xr-x.   5 root root  1024 2009-08-08 21:32 boot
drwx------.   3 root root  4096 2009-07-25 00:49 .dbus
drwxr-xr-x   18 root root  4360 2009-08-10 08:59 dev
drwxr-xr-x. 134 root root 12288 2009-08-10 13:41 etc
drwxr-xr-x.   3 root root  4096 2009-07-25 00:50 home
drwxr-xr-x.  17 root root 12288 2009-08-10 09:32 lib
drwx------.   2 root root 16384 2009-07-24 23:19 lost+found
drwxr-xr-x.   2 root root  4096 2009-07-25 21:08 media
drwxr-xr-x.   2 root root  4096 2009-03-04 17:13 mnt
drwxr-xr-x.   2 root root  4096 2009-03-04 17:13 opt
dr-xr-xr-x  173 root root     0 2009-08-10 08:56 proc
drwxr-x---.  13 root root  4096 2009-08-09 23:35 root
drwxr-xr-x.   2 root root 12288 2009-08-10 09:32 sbin
drwxr-xr-x.   2 root root  4096 2009-07-24 23:22 selinux
drwxr-xr-x.   2 root root  4096 2009-03-04 17:13 srv
drwxr-xr-x   12 root root     0 2009-08-10 08:56 sys
drwxrwxrwt.  22 root root  4096 2009-08-10 10:28 tmp
drwxr-xr-x.  13 root root  4096 2009-07-24 23:34 usr
drwxr-xr-x.  26 root root  4096 2009-08-09 23:25 var
Code:
[root@FBox den]# vi /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Jul 24 23:22:39 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=30a9149b-8e4b-4b37-9520-383100a39703 /boot                   ext3    defaults        1 2
/dev/mapper/vg_fbox-System /                       ext4    defaults,usrquota,grpquota        1 1
/dev/mapper/vg_fbox-Swap swap                   swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
Code:
[root@FBox den]# fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4c774c76

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          26      204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              26        6016    48115712   8e  Linux LVM
/dev/sda3            6016        9726    29802131    c  W95 FAT32 (LBA)

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00092007

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        4865    39078081    7  HPFS/NTFS

Disk /dev/dm-0: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 48.1 GB, 48192552960 bytes
255 heads, 63 sectors/track, 5859 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
 
Old 08-10-2009, 06:14 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
whu u not following these steps
#mount -o remount,usrquota,grpquota /
#quotacheck -auvg /
#quotaon /

thanks
 
Old 08-10-2009, 06:36 AM   #3
DarkSlayer
Member
 
Registered: Apr 2008
Location: Tbilisi , Georgia
Distribution: Fedora, CentOS
Posts: 65

Original Poster
Rep: Reputation: 19
Thumbs down

Quote:
Originally Posted by vishesh View Post
whu u not following these steps
#mount -o remount,usrquota,grpquota /
#quotacheck -auvg /
#quotaon /

thanks
U suggesting or asking me if why im not using those commands ?
I'm using them in exact format which was given in tutorial.

Anyway your commands format doesn't work for me as well.
#quotacheck -auvg / - should be without "/" in the, in other case it won't work for me.
Thanks.

Still trying to find solution and get it working
 
  


Reply

Tags
quota



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
Web Quota + Print Quota dimingo Linux - Newbie 1 09-25-2008 12:31 AM
procmail+quota+bounch mail+but no quota full msg to receipent mickyman Linux - General 3 03-02-2006 03:32 AM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM
Quota problems. Can't mount filesystem hamish Linux - Software 4 06-25-2004 09:56 AM
installing quota drenal Linux - Software 15 02-08-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:54 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