View Single Post
  #1  
Old 10th August 2009, 13:17
iDen iDen is offline
Junior Member
 
Join Date: Jun 2009
Posts: 29
Thanks: 4
Thanked 3 Times in 1 Post
Exclamation 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
Reply With Quote
Sponsored Links