public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs 14TB - check
@ 2011-03-02 16:57 tramper
  2011-03-02 18:11 ` Emmanuel Florac
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tramper @ 2011-03-02 16:57 UTC (permalink / raw)
  To: linux-xfs


Hallo Forum,

i formated a storage with 16 disks (Raid5  and sparedrive) with xfs. The
volume is 14TB big. There where circuit Problems and we had several server
shutdowns and Problems.
The Server is a ubuntu 8.04 32bit.

Now I want to check my xfs Partition.

i used xfs_repair /dev/cciss/c0...p1 and got the following error message:

fatal error -- couldn't allocate block map, size XXXXXXX

I have 2 GB of Ram in the machine.

What should I do and how to check my volume?

with kind regards
traper
-- 
View this message in context: http://old.nabble.com/xfs-14TB---check-tp31051172p31051172.html
Sent from the linux-xfs mailing list archive at Nabble.com.

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

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

* Re: xfs 14TB - check
  2011-03-02 16:57 xfs 14TB - check tramper
@ 2011-03-02 18:11 ` Emmanuel Florac
  2011-03-02 18:17 ` Peter Grandi
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Florac @ 2011-03-02 18:11 UTC (permalink / raw)
  To: tramper; +Cc: linux-xfs

Le Wed, 2 Mar 2011 08:57:40 -0800 (PST)
tramper <michael.weingartner@tuwien.ac.at> écrivait:

> i used xfs_repair /dev/cciss/c0...p1 and got the following error
> message:
> 
> fatal error -- couldn't allocate block map, size XXXXXXX
> 
> I have 2 GB of Ram in the machine.
> 
> What should I do and how to check my volume?

You probably haven't got enough RAM. With an old version of xfs_progs,
you need 6 to 8 GB of RAM to check a 14 TB volume. 

-- 
------------------------------------------------------------------------
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] 5+ messages in thread

* Re: xfs 14TB - check
  2011-03-02 16:57 xfs 14TB - check tramper
  2011-03-02 18:11 ` Emmanuel Florac
@ 2011-03-02 18:17 ` Peter Grandi
  2011-03-02 20:12 ` Zdenek Kaspar
  2011-03-03  6:13 ` Dave Chinner
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Grandi @ 2011-03-02 18:17 UTC (permalink / raw)
  To: Linux XFS


xfs> i formated a storage with 16 disks (Raid5  and sparedrive)
xfs> with xfs.

One of the many wonderful ideas that get published in this list! :-)

xfs> i used xfs_repair /dev/cciss/c0...p1 and got the following
xfs> error message: fatal error -- couldn't allocate block map,
xfs> size XXXXXXX

xfs> I have 2 GB of Ram in the machine. What should I do and how
xfs> to check my volume?

You probably need a 64 bit systems with a lot more RAM:

  http://groups.google.com/group/comp.arch.storage/browse_thread/thread/f7b8cd324bed34f9/95b96de52dfe321f
  http://groups.google.com/group/linux.debian.ports.x86-64/browse_thread/thread/e9d37880252c1ac5/fd2b4d46a4c294b5

Things have improved a bit with later releases of 'xfsprogs',
but it still takes a lot of space and time. This mailing list
has some post with an estimate of how much RAM and is neeeded
currently. Time depends very much on what is inside the
filesystem and how damaged it is, 14TB could take many hours or
many weeks.

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

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

* Re: xfs 14TB - check
  2011-03-02 16:57 xfs 14TB - check tramper
  2011-03-02 18:11 ` Emmanuel Florac
  2011-03-02 18:17 ` Peter Grandi
@ 2011-03-02 20:12 ` Zdenek Kaspar
  2011-03-03  6:13 ` Dave Chinner
  3 siblings, 0 replies; 5+ messages in thread
From: Zdenek Kaspar @ 2011-03-02 20:12 UTC (permalink / raw)
  To: tramper; +Cc: linux-xfs

Dne 2.3.2011 17:57, tramper napsal(a):
> 
> Hallo Forum,
> 
> i formated a storage with 16 disks (Raid5  and sparedrive) with xfs. The
> volume is 14TB big. There where circuit Problems and we had several server
> shutdowns and Problems.
> Now I want to check my xfs Partition.
> 
> i used xfs_repair /dev/cciss/c0...p1 and got the following error message:
> 
> fatal error -- couldn't allocate block map, size XXXXXXX
> 
> I have 2 GB of Ram in the machine.
> 
> What should I do and how to check my volume?
> 
> with kind regards
> traper

Try big temporary swap for this purpose..

HTH, Z.

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

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

* Re: xfs 14TB - check
  2011-03-02 16:57 xfs 14TB - check tramper
                   ` (2 preceding siblings ...)
  2011-03-02 20:12 ` Zdenek Kaspar
@ 2011-03-03  6:13 ` Dave Chinner
  3 siblings, 0 replies; 5+ messages in thread
From: Dave Chinner @ 2011-03-03  6:13 UTC (permalink / raw)
  To: tramper; +Cc: linux-xfs

On Wed, Mar 02, 2011 at 08:57:40AM -0800, tramper wrote:
> 
> Hallo Forum,
> 
> i formated a storage with 16 disks (Raid5  and sparedrive) with xfs. The
> volume is 14TB big. There where circuit Problems and we had several server
> shutdowns and Problems.
> The Server is a ubuntu 8.04 32bit.
                              ^^^^^ There's your problem.

> 
> Now I want to check my xfs Partition.
> 
> i used xfs_repair /dev/cciss/c0...p1 and got the following error message:
> 
> fatal error -- couldn't allocate block map, size XXXXXXX
> 
> I have 2 GB of Ram in the machine.

Even if you put more in it, the 32-bit address space limit will be
the limiting factor.

> What should I do and how to check my volume?

You almost certainly need a 64-bit machine. Even with the latest
xfs_repair, you need about 2GB of RAM for the free space checking on
a 14TB filesystem.

Try running:

# xfs_repair -m 1 -vv <device>

And it will tell you how much memory you need to repair the
filesystem. Note that this is only a rough estimate - it may be
quite a bit more than the amount specified depending on the state
and contents of the filesystem...

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] 5+ messages in thread

end of thread, other threads:[~2011-03-03  6:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 16:57 xfs 14TB - check tramper
2011-03-02 18:11 ` Emmanuel Florac
2011-03-02 18:17 ` Peter Grandi
2011-03-02 20:12 ` Zdenek Kaspar
2011-03-03  6:13 ` Dave Chinner

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