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=27)
-   -   fstab quata error on raid 1 (http://www.howtoforge.com/forums/showthread.php?t=54496)

AlexGer83 11th October 2011 00:24

fstab quata error on raid 1
 
Hello,
I thin i need your help :-)

trying to install quota...

Code:

aptitude install quota quotatool
Code:

nano /etc/fstab
Code:

proc            /proc          proc    defaults        0      0
# / was on /dev/md0 during installation
UUID=d4fa59e5-e215-42d0-966e-301ecbbea7bf /              ext4    errors=remount-ro,usrquota,grpquota 0      1
# swap was on /dev/sda1 during installation
UUID=f7ba641e-e417-41a2-a6c5-33e6a5070122 none            swap    sw              0      0
# swap was on /dev/sdb1 during installation
UUID=6c1160ff-51aa-457b-b57b-ca37e1ee7299 none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto    0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0      0
/dev/fd1        /media/floppy1  auto    rw,user,noauto  0      0

Code:

touch /quota.user /quota.group
Code:

chmod 600 /quota.*
Code:

mount -o remount /
Code:

quotacheck -avugm
Code:

quotacheck: Ihr Kernel unterstützt wahrscheinlich Journalquotas, aber sie verwenden sie nicht.  Vielleicht sollten sie auf Journalquotas umsteigen, um nicht mehr quotacheck nach jedem unsauberen Herunterfahren ausführen zu müssen.
quotacheck: WARNUNG - Quotadatei //quota.user wurde wahrscheinlich abgeschnitten.  Kann Quotaeinstellungen nicht retten...
quotacheck: WARNUNG - Quotadatei //quota.group wurde wahrscheinlich abgeschnitten.  Kann Quotaeinstellungen nicht retten...
quotacheck: Prüfe /dev/md0 [/] fertig
quotacheck: 3521 Verzeichnisse und 37076 Dateien geprüft

Code:

quotaon -avug
Code:

quotaon: Kann //aquota.group auf /dev/md0 [/] nicht finden
quotaon: Kann //aquota.user auf /dev/md0 [/] nicht finden

What do I have to change to make it work?

Thanks a lot!
Alex

till 11th October 2011 08:58

Which Linux distribution and version do you use?

AlexGer83 11th October 2011 10:08

Hey Till,
thank's 4 reply!

Debian Squeeze 6.0.3 i386

Alex

till 11th October 2011 10:28

For Debian squeeze, please see this ispconfig 3 perfect setup guide:

http://www.howtoforge.com/perfect-se...ispconfig-3-p4

Edit the /etc/fstab file as described on that papge and then remount the partition and turn on quota as described.

AlexGer83 11th October 2011 23:31

Hey Till,
thank's for your help!
It's working now!

Alex


All times are GMT +2. The time now is 04:19.

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