public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS Quota Check OOM
@ 2010-08-30 12:14 Stefan Priebe - Profihost AG
  2010-08-30 17:11 ` Stefan Priebe - Profihost AG
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-30 12:14 UTC (permalink / raw)
  To: xfs

Hi,

on one of our systems i want to activate prjquota support. The relevant 
disk is the root disk so i added prjquota to rootflags kernel line.

But when i do so i always get OOM out of Memory while checking quota's. 
I also upgraded the system from 8GB to 16GB RAM but still the same. 
Kernel is vanilla 2.6.32.19.

Stefan

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-30 12:14 XFS Quota Check OOM Stefan Priebe - Profihost AG
@ 2010-08-30 17:11 ` Stefan Priebe - Profihost AG
  2010-08-31  7:36 ` Stefan Priebe - Profihost AG
  2010-09-01 10:24 ` Christoph Hellwig
  2 siblings, 0 replies; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-30 17:11 UTC (permalink / raw)
  To: xfs

i already run an xfs_repair over the drive but no results...

Stefan

Am 30.08.2010 14:14, schrieb Stefan Priebe - Profihost AG:
> Hi,
>
> on one of our systems i want to activate prjquota support. The relevant
> disk is the root disk so i added prjquota to rootflags kernel line.
>
> But when i do so i always get OOM out of Memory while checking quota's.
> I also upgraded the system from 8GB to 16GB RAM but still the same.
> Kernel is vanilla 2.6.32.19.
>
> Stefan
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-30 12:14 XFS Quota Check OOM Stefan Priebe - Profihost AG
  2010-08-30 17:11 ` Stefan Priebe - Profihost AG
@ 2010-08-31  7:36 ` Stefan Priebe - Profihost AG
  2010-08-31  8:44   ` Emmanuel Florac
  2010-09-01 10:24 ` Christoph Hellwig
  2 siblings, 1 reply; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-31  7:36 UTC (permalink / raw)
  To: xfs

Can really nobody help :-(

Stefan

Am 30.08.2010 14:14, schrieb Stefan Priebe - Profihost AG:
> Hi,
>
> on one of our systems i want to activate prjquota support. The relevant
> disk is the root disk so i added prjquota to rootflags kernel line.
>
> But when i do so i always get OOM out of Memory while checking quota's.
> I also upgraded the system from 8GB to 16GB RAM but still the same.
> Kernel is vanilla 2.6.32.19.
>
> Stefan
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31  7:36 ` Stefan Priebe - Profihost AG
@ 2010-08-31  8:44   ` Emmanuel Florac
  2010-08-31 12:25     ` Stefan Priebe - Profihost AG
  0 siblings, 1 reply; 12+ messages in thread
From: Emmanuel Florac @ 2010-08-31  8:44 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: xfs

Le Tue, 31 Aug 2010 09:36:30 +0200 vous écriviez:

> Can really nobody help :-(

What is the size of the filesystem, output of xfs_info, output of uname
-a, version of xfs_utils?
What are the main tasks of the system, memory wise?

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31  8:44   ` Emmanuel Florac
@ 2010-08-31 12:25     ` Stefan Priebe - Profihost AG
  2010-08-31 12:43       ` Emmanuel Florac
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-31 12:25 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: xfs

Hi!

Disk Size:
/dev/sda3             4.8T  2.7T  2.2T  55% /

uname -a:
Linux abc 2.6.32.19intel #1 SMP Wed Aug 18 15:46:03 CEST 2010 x86_64 
GNU/Linux

xfs_info /dev/sda3

meta-data=/dev/sda3              isize=256    agcount=32, 
agsize=40038461 blks
          =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=1281230752, imaxpct=25
          =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096
log      =internal               bsize=4096   blocks=32768, version=2
          =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

xfs_utils: Actual Debian Version:
xfs_quota -V
xfs_quota version 2.9.8

Mein Task is nothing - just to store a lot of Data once per day.

Stefan

Am 31.08.2010 10:44, schrieb Emmanuel Florac:
> Le Tue, 31 Aug 2010 09:36:30 +0200 vous écriviez:
>
>> Can really nobody help :-(
>
> What is the size of the filesystem, output of xfs_info, output of uname
> -a, version of xfs_utils?
> What are the main tasks of the system, memory wise?
>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 12:25     ` Stefan Priebe - Profihost AG
@ 2010-08-31 12:43       ` Emmanuel Florac
  2010-08-31 12:56         ` Stefan Priebe - Profihost AG
  0 siblings, 1 reply; 12+ messages in thread
From: Emmanuel Florac @ 2010-08-31 12:43 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: xfs

Le Tue, 31 Aug 2010 14:25:40 +0200 vous écriviez:

> Disk Size:
> /dev/sda3             4.8T  2.7T  2.2T  55% /

This is really very very weird. Why on earth would you use such a big
root filesystem? It is extremely impractical and dangerous to store
data on the root filesystem. Do you have any good reason not to have a
small root filesystem and a distinct data one?

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 12:43       ` Emmanuel Florac
@ 2010-08-31 12:56         ` Stefan Priebe - Profihost AG
  2010-08-31 13:20           ` Emmanuel Florac
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-31 12:56 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: xfs


Oh we don't do this today. But it is a really old system where someone 
someday decided to do that. Sadly i can't change this...

Stefan

Am 31.08.2010 14:43, schrieb Emmanuel Florac:
> Le Tue, 31 Aug 2010 14:25:40 +0200 vous écriviez:
>
>> Disk Size:
>> /dev/sda3             4.8T  2.7T  2.2T  55% /
>
> This is really very very weird. Why on earth would you use such a big
> root filesystem? It is extremely impractical and dangerous to store
> data on the root filesystem. Do you have any good reason not to have a
> small root filesystem and a distinct data one?
>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 12:56         ` Stefan Priebe - Profihost AG
@ 2010-08-31 13:20           ` Emmanuel Florac
  2010-08-31 13:30             ` Stefan Priebe - Profihost AG
  0 siblings, 1 reply; 12+ messages in thread
From: Emmanuel Florac @ 2010-08-31 13:20 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: xfs

Le Tue, 31 Aug 2010 14:56:40 +0200 vous écriviez:

> Oh we don't do this today. But it is a really old system where
> someone someday decided to do that. Sadly i can't change this...
> 

Did you upgrade the kernel recently? Or simply enabled quotas?

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 13:20           ` Emmanuel Florac
@ 2010-08-31 13:30             ` Stefan Priebe - Profihost AG
  2010-08-31 23:28               ` Dave Chinner
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-31 13:30 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: xfs

Hi!

After booting the System to a RAM Image with prjquota (the quota check 
wents fine) and upgrading to xfsprogs 3.1.3.

I'm getting this when trying to setup a project Quota:
xfs_quota -x -c "project -s 2" /
Setting up project 2 (path /serverbackup/abc)...
Processed 1 (/etc/projects and cmdline) paths for project 2 with 
recursion depth infinite (-1).

  cat /etc/projects
2:/serverbackup/abc

cat /etc/projid
abc:2

ls -la /serverbackup/abc/
total 102412
drwxr-xr-x  2 root root        16 Aug 24 00:41 .
drwxr-xr-x 62 root root      8192 Aug 31 13:05 ..
-rw-r--r--  1 root root 104857600 Aug 24 00:41 abc

  mount
/dev/sda3 on / type xfs (rw,noatime,nodiratime,nobarrier,prjquota)

Stefan

Am 31.08.2010 15:20, schrieb Emmanuel Florac:
> Le Tue, 31 Aug 2010 14:56:40 +0200 vous écriviez:
>
>> Oh we don't do this today. But it is a really old system where
>> someone someday decided to do that. Sadly i can't change this...
>>
>
> Did you upgrade the kernel recently? Or simply enabled quotas?
>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 13:30             ` Stefan Priebe - Profihost AG
@ 2010-08-31 23:28               ` Dave Chinner
  2010-08-31 23:56                 ` Stefan Priebe - Profihost AG
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Chinner @ 2010-08-31 23:28 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: xfs

On Tue, Aug 31, 2010 at 03:30:34PM +0200, Stefan Priebe - Profihost AG wrote:
> Hi!
> 
> After booting the System to a RAM Image with prjquota (the quota
> check wents fine) and upgrading to xfsprogs 3.1.3.
> 
> I'm getting this when trying to setup a project Quota:
> xfs_quota -x -c "project -s 2" /
> Setting up project 2 (path /serverbackup/abc)...
> Processed 1 (/etc/projects and cmdline) paths for project 2 with
> recursion depth infinite (-1).

That's normal, I think. Adding project quota involves descending the
directory heirachy specified and adding the project id to every file
and directory. You can limit the recursion depth it runs to if you
want to, but the default (infinite) is to walk the entire heirarchy.

You can confirm by running a quota report and checking the output...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-31 23:28               ` Dave Chinner
@ 2010-08-31 23:56                 ` Stefan Priebe - Profihost AG
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Priebe - Profihost AG @ 2010-08-31 23:56 UTC (permalink / raw)
  To: Dave Chinner; +Cc: xfs

quota report returns nothing... :-( except two newlines...

# xfs_quota -x -c "report -phnN" /


#

Stefan

Am 01.09.2010 01:28, schrieb Dave Chinner:
> On Tue, Aug 31, 2010 at 03:30:34PM +0200, Stefan Priebe - Profihost AG wrote:
>> Hi!
>>
>> After booting the System to a RAM Image with prjquota (the quota
>> check wents fine) and upgrading to xfsprogs 3.1.3.
>>
>> I'm getting this when trying to setup a project Quota:
>> xfs_quota -x -c "project -s 2" /
>> Setting up project 2 (path /serverbackup/abc)...
>> Processed 1 (/etc/projects and cmdline) paths for project 2 with
>> recursion depth infinite (-1).
>
> That's normal, I think. Adding project quota involves descending the
> directory heirachy specified and adding the project id to every file
> and directory. You can limit the recursion depth it runs to if you
> want to, but the default (infinite) is to walk the entire heirarchy.
>
> You can confirm by running a quota report and checking the output...
>
> Cheers,
>
> Dave.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XFS Quota Check OOM
  2010-08-30 12:14 XFS Quota Check OOM Stefan Priebe - Profihost AG
  2010-08-30 17:11 ` Stefan Priebe - Profihost AG
  2010-08-31  7:36 ` Stefan Priebe - Profihost AG
@ 2010-09-01 10:24 ` Christoph Hellwig
  2 siblings, 0 replies; 12+ messages in thread
From: Christoph Hellwig @ 2010-09-01 10:24 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: xfs

On Mon, Aug 30, 2010 at 02:14:24PM +0200, Stefan Priebe - Profihost AG wrote:
> Hi,
> 
> on one of our systems i want to activate prjquota support. The
> relevant disk is the root disk so i added prjquota to rootflags
> kernel line.
> 
> But when i do so i always get OOM out of Memory while checking
> quota's. I also upgraded the system from 8GB to 16GB RAM but still
> the same. Kernel is vanilla 2.6.32.19.

Can you post your kernel log with the OOM messages and if existing
any messages from XFS before that?

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-09-01 10:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 12:14 XFS Quota Check OOM Stefan Priebe - Profihost AG
2010-08-30 17:11 ` Stefan Priebe - Profihost AG
2010-08-31  7:36 ` Stefan Priebe - Profihost AG
2010-08-31  8:44   ` Emmanuel Florac
2010-08-31 12:25     ` Stefan Priebe - Profihost AG
2010-08-31 12:43       ` Emmanuel Florac
2010-08-31 12:56         ` Stefan Priebe - Profihost AG
2010-08-31 13:20           ` Emmanuel Florac
2010-08-31 13:30             ` Stefan Priebe - Profihost AG
2010-08-31 23:28               ` Dave Chinner
2010-08-31 23:56                 ` Stefan Priebe - Profihost AG
2010-09-01 10:24 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox