Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th March 2010, 23:33
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default Ext4 & Quota not working?

My syslogs are filling up by the second, I'm getting the following kernel messages over and over:


Code:
Mar  9 15:34:50 cw-ws kernel: [69005.223998] ------------[ cut here ]------------
Mar  9 15:34:50 cw-ws kernel: [69005.223998] WARNING: at /build/buildd/linux-2.6.31/fs/quota/dquot.c:964 dquot_claim_space+0x84/0x130()
Mar  9 15:34:50 cw-ws kernel: [69005.223998] Hardware name: VMware Virtual Platform
Mar  9 15:34:50 cw-ws kernel: [69005.223998] Modules linked in: xt_multiport quota_v2 quota_tree iptable_filter ip_tables x_tables ppdev parport_pc lp shpchp psmouse parport intel_agp serio_raw agpgart i2c_piix4 floppy pcnet32 mii mptspi mptscsih mptbase scsi_transport_spi
Mar  9 15:34:50 cw-ws kernel: [69005.223998] Pid: 32, comm: pdflush Tainted: G        W  2.6.31-20-generic-pae #57-Ubuntu
Mar  9 15:34:50 cw-ws kernel: [69005.223998] Call Trace:
Mar  9 15:34:50 cw-ws kernel: [69005.223998]  [<c014692d>] warn_slowpath_common+0x6d/0xa0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c02298f4>] ? dquot_claim_space+0x84/0x130
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c02298f4>] ? dquot_claim_space+0x84/0x130
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0146975>] warn_slowpath_null+0x15/0x20
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c02298f4>] dquot_claim_space+0x84/0x130
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c029154f>] ext4_mb_mark_diskspace_used+0x33f/0x390
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c028bb32>] ? ext4_mb_use_preallocated+0x232/0x240
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c028bf42>] ? ext4_mb_initialize_context+0x82/0x290
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0292f3e>] ext4_mb_new_blocks+0x2fe/0x580
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0287a7f>] ? ext4_ext_find_extent+0xff/0x280
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0289b15>] ext4_ext_get_blocks+0x415/0x5a0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c026a9ef>] ext4_get_blocks+0x23f/0x2c0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c026b074>] mpage_da_map_blocks+0x94/0x400
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c02a0473>] ? jbd2_journal_start+0x93/0xd0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c026b64c>] ext4_da_writepages+0x26c/0x520
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bb240>] ? __writepage+0x0/0x30
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bc511>] do_writepages+0x21/0x40
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c02074ee>] writeback_single_inode+0x16e/0x3d0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c013cdb4>] ? dequeue_entity+0x14/0x290
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c045c1d4>] ? dm_any_congested+0x54/0x70
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0207bed>] generic_sync_sb_inodes+0x38d/0x4a0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0207ddd>] writeback_inodes+0x4d/0xe0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bb402>] wb_kupdate+0xa2/0x110
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bcbe7>] __pdflush+0xf7/0x1f0
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bcce0>] ? pdflush+0x0/0x40
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bcce0>] ? pdflush+0x0/0x40
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bcd19>] pdflush+0x39/0x40
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c01bb360>] ? wb_kupdate+0x0/0x110
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c015dd9c>] kthread+0x7c/0x90
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c015dd20>] ? kthread+0x0/0x90
Mar  9 15:34:50 cw-ws kernel: [69005.223999]  [<c0104047>] kernel_thread_helper+0x7/0x10
Mar  9 15:34:50 cw-ws kernel: [69005.223999] ---[ end trace f1b5ca139e0703df ]---

Here are the outputs of mount:
Code:
/dev/mapper/cw--ts-root on / type ext4 (rw,errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda5 on /boot type ext2 (rw)
df -h:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/cw--ts-root
                      9.2G  2.4G  6.3G  28% /
udev                  502M  152K  502M   1% /dev
none                  502M     0  502M   0% /dev/shm
none                  502M  132K  502M   1% /var/run
none                  502M     0  502M   0% /var/lock
none                  502M     0  502M   0% /lib/init/rw
/dev/sda5             228M   27M  189M  13% /boot
root@cw-ws:~#
and fdisk -l
Code:
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ee752

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1274    10233373+  8e  Linux LVM
/dev/sda2            1275        1305      249007+   5  Extended
/dev/sda5            1275        1305      248976   83  Linux
Reply With Quote
Sponsored Links
  #2  
Old 9th March 2010, 23:36
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

..oh and fstab:

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/cw--ts-root /               ext4    errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0       1
# /boot was on /dev/sda5 during installation
UUID=8f5d3c11-ac72-4321-8a31-6a6571edce8e /boot           ext2    defaults        0       2
/dev/mapper/cw--ts-swap_1 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
I'm confused as to why my hard drive is being mounted on /dev/mapper/cw--ts-root

The actual name of the server is cw-ws. I had to change the hostname after my installation from cw-ts to cw-ws because of a typo. Could this be causing any of the problems? Any insight is greatly appreciated.
Reply With Quote
  #3  
Old 10th March 2010, 03:50
Doug G Doug G is offline
Member
 
Join Date: Apr 2008
Posts: 63
Thanks: 0
Thanked 6 Times in 4 Posts
Default

I'm guessing there is some bug with quota and new kernels, I get similar syslog errors on a Fedora 12/ispconfig3 setup. Since I don't need quota in my environment I just turned quota off by changing fstab. I'm using 2.6.31 kernel btw.

Your fstab mount point sounds like you're mounting on a lvm volume.
__________________
=====
Doug G
=====
Reply With Quote
  #4  
Old 10th March 2010, 14:26
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Hmm, my knowledge with kernels is extremely little. About all I know is the
Code:
uname -r
code.

I've disabled quota just for the sake of disk space. Is there anything that you recommend to troubleshoot the problem? I don't even know where to begin. I've heard of compiling your own kernels, but wouldn't have the slightest clue how if that were to help my problem.
Reply With Quote
  #5  
Old 11th March 2010, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Unfortunately I don't know if building a new kernel helps...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 11th March 2010, 17:47
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Should I just keep quota disabled?
Reply With Quote
  #7  
Old 12th March 2010, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

If you don't need it, you can disable it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 17th March 2010, 16:39
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Okay, I'm not sure what fixed it but I just updated to linux-image-2.6.31-20-generic-pae via apt-get update/upgrade and also changed my /etc/fstab to remove an extra 0 that I found after the options.

Re-enabled Quota and everything seems to be fine ::fingers crossed::
Reply With Quote
The Following User Says Thank You to bswinnerton For This Useful Post:
falko (18th March 2010)
  #9  
Old 29th March 2010, 22:39
t.roijers t.roijers is offline
Member
 
Join Date: Feb 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Quota problems

Hi,

I'm also using the 2.6.31-20-generic-pae kernel.
wich 0 needs to be removed from my fstab below?

UUID=235160e2-d150-4e75-996c-68207a4c40f6 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jq fmt=vfsv0 0 1


Thanx,
Tim

Quote:
Originally Posted by bswinnerton View Post
Okay, I'm not sure what fixed it but I just updated to linux-image-2.6.31-20-generic-pae via apt-get update/upgrade and also changed my /etc/fstab to remove an extra 0 that I found after the options.

Re-enabled Quota and everything seems to be fine ::fingers crossed::
Reply With Quote
  #10  
Old 4th May 2010, 15:03
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
 
Default

@t.roijers, your /etc/fstab looks fine to me.

I'm still battling this problem. I just used apt-get and there was a new kernel update, so I turned quota back on.

Besides obviously checking for these same sort of errors in the error log, is there a way to check if quota is actually working?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect Server -- Quota incompatible with ext4? jkrell HOWTO-Related Questions 1 18th June 2009 14:24
chgrp error new user DKA General 15 28th July 2008 17:45
Quota on mounted directory /var/www not working radim_h Installation/Configuration 2 7th March 2008 11:51
Quota Limits and Traffic Limits Not Working protocol Installation/Configuration 12 20th March 2007 08:56
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 17:21


All times are GMT +2. The time now is 01:51.


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