Skip to contentSkip to conversation

xfs 14TB - check

DISCUSSION tramper 5 participants 5 messages Mar 2, 2011 – Mar 3, 2011

lore
Share & tools
lore

tramper

author
#0 lore raw

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

Signature · 7 lines
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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw

Le Wed, 2 Mar 2011 08:57:40 -0800 (PST) tramper <[email protected]> écrivait:

Quoted 8 lines

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.

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
In reply to tramper

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
In reply to tramper

Dne 2.3.2011 17:57, tramper napsal(a):

Quoted 10 lines

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:

Quoted 8 lines

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
In reply to tramper
Quoted 7 lines · tramper

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.
Quoted 8 lines

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.

Quoted 1 line

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.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs