* xfs_check running out of memory
@ 2008-04-03 22:56 Fong Vang
2008-04-03 23:03 ` Nathan Scott
0 siblings, 1 reply; 6+ messages in thread
From: Fong Vang @ 2008-04-03 22:56 UTC (permalink / raw)
To: xfs
xfs_check on one of my 64-bit server keeps running out of memory checking a
6.5TB file system with millions of files. xfsprogs is version 2.9.4 One of
the man pages online mentions a xfs_check64 version but I can't seem to find
this anyway. Where can I find this tool?
thank you.
[[HTML alternate version deleted]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xfs_check running out of memory
2008-04-03 22:56 xfs_check running out of memory Fong Vang
@ 2008-04-03 23:03 ` Nathan Scott
2008-04-03 23:11 ` Fong Vang
0 siblings, 1 reply; 6+ messages in thread
From: Nathan Scott @ 2008-04-03 23:03 UTC (permalink / raw)
To: Fong Vang; +Cc: xfs
On Thu, 2008-04-03 at 15:56 -0700, Fong Vang wrote:
>
>
>
>
> xfs_check on one of my 64-bit server keeps running out of memory
> checking a
> 6.5TB file system with millions of files. xfsprogs is version 2.9.4
> One of
> the man pages online mentions a xfs_check64 version but I can't seem
> to find
> this anyway. Where can I find this tool?
>
Thats an IRIX remnant. On 64 bit Linux systems, xfs_db
(and hence xfs_check) will be built as 64 bit binaries.
Use xfs_repair -n, xfs_check does not scale (and will
hopefully be replaced by xfs_repair -n someday).
--
Nathan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xfs_check running out of memory
2008-04-03 23:03 ` Nathan Scott
@ 2008-04-03 23:11 ` Fong Vang
2008-04-03 23:16 ` Nathan Scott
0 siblings, 1 reply; 6+ messages in thread
From: Fong Vang @ 2008-04-03 23:11 UTC (permalink / raw)
To: nscott; +Cc: xfs
if that's the case then why is it running out of memory? This is a 6.5TB
file systems with millions of files. The system has 24GB of RAM. It needs
to hold everything in memory?
On Thu, Apr 3, 2008 at 4:03 PM, Nathan Scott <nscott@aconex.com> wrote:
>
> On Thu, 2008-04-03 at 15:56 -0700, Fong Vang wrote:
> >
> >
> >
> >
> > xfs_check on one of my 64-bit server keeps running out of memory
> > checking a
> > 6.5TB file system with millions of files. xfsprogs is version 2.9.4
> > One of
> > the man pages online mentions a xfs_check64 version but I can't seem
> > to find
> > this anyway. Where can I find this tool?
> >
>
> Thats an IRIX remnant. On 64 bit Linux systems, xfs_db
> (and hence xfs_check) will be built as 64 bit binaries.
>
> Use xfs_repair -n, xfs_check does not scale (and will
> hopefully be replaced by xfs_repair -n someday).
>
> --
> Nathan
>
>
[[HTML alternate version deleted]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xfs_check running out of memory
2008-04-03 23:11 ` Fong Vang
@ 2008-04-03 23:16 ` Nathan Scott
2008-04-03 23:23 ` Fong Vang
0 siblings, 1 reply; 6+ messages in thread
From: Nathan Scott @ 2008-04-03 23:16 UTC (permalink / raw)
To: Fong Vang; +Cc: xfs
On Thu, 2008-04-03 at 16:11 -0700, Fong Vang wrote:
>
> if that's the case then why is it running out of memory? This is a
> 6.5TB file systems with millions of files. The system has 24GB of
> RAM. It needs to hold everything in memory?
xfs_check has 3 per-fs-block arrays that are held all in memory, IIRC.
Use xfs_repair -n, which has been revamped to scale a whole lot better
than check.
--
Nathan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xfs_check running out of memory
2008-04-03 23:16 ` Nathan Scott
@ 2008-04-03 23:23 ` Fong Vang
2008-04-03 23:33 ` Nathan Scott
0 siblings, 1 reply; 6+ messages in thread
From: Fong Vang @ 2008-04-03 23:23 UTC (permalink / raw)
To: nscott; +Cc: xfs
good to know. Doesn't xfs_check also repair? with xfs_repair -n, this
doesn't do any repair. SO the right approach on big volumes would be to run
xfs_repair -n first to detect problem then xfs_repair to fix?
thank you for the info. much appreciated. just, curious. where did you
get this info?
On Thu, Apr 3, 2008 at 4:16 PM, Nathan Scott <nscott@aconex.com> wrote:
> On Thu, 2008-04-03 at 16:11 -0700, Fong Vang wrote:
> >
> > if that's the case then why is it running out of memory? This is a
> > 6.5TB file systems with millions of files. The system has 24GB of
> > RAM. It needs to hold everything in memory?
>
> xfs_check has 3 per-fs-block arrays that are held all in memory, IIRC.
> Use xfs_repair -n, which has been revamped to scale a whole lot better
> than check.
>
> --
> Nathan
>
>
[[HTML alternate version deleted]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xfs_check running out of memory
2008-04-03 23:23 ` Fong Vang
@ 2008-04-03 23:33 ` Nathan Scott
0 siblings, 0 replies; 6+ messages in thread
From: Nathan Scott @ 2008-04-03 23:33 UTC (permalink / raw)
To: Fong Vang; +Cc: xfs
On Thu, 2008-04-03 at 16:23 -0700, Fong Vang wrote:
>
>
>
>
> good to know. Doesn't xfs_check also repair? with xfs_repair -n,
No, it doesn't.
> this doesn't do any repair. SO the right approach on big volumes
> would be to run xfs_repair -n first to detect problem then xfs_repair
> to fix?
Sure - whatever floats your boat.
> thank you for the info. much appreciated. just, curious. where did
> you get this info?
>From the source.
cheers.
--
Nathan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-03 23:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 22:56 xfs_check running out of memory Fong Vang
2008-04-03 23:03 ` Nathan Scott
2008-04-03 23:11 ` Fong Vang
2008-04-03 23:16 ` Nathan Scott
2008-04-03 23:23 ` Fong Vang
2008-04-03 23:33 ` Nathan Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox