Skip to contentSkip to conversation

XFS_repair and memory consumption

DISCUSSION [email protected] 3 participants 3 messages Feb 26, 2009

lore
Share & tools
lore
#0 lore raw

Hello

I have a few question about xfs_repair and memory consumption

I have 12 TB storage,2GB RAM and 2.6.27 32b and someday my power down. After started system, I tried xfs_repair for this storage (because I can`t mount this) with unsuccessful. Maybe I am in the wrong but I know that xfs_repair need about 2GB of memory per terabyte of file system space.

Is any possible to run xfs_repair without 24GB RAM (in my case) ? Maybe I should use big SWAP instant of so much RAM?

What is the difference running XFS_repair in 32 and 64 bit kernel?If any difference existing, how much RAM must be in system with (for example) 64TB in single volume in order to run XFS_repair

Very thanks

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

#1 lore raw

2009/2/26 [email protected] <[email protected]>:

Quoted 2 lines

Is any possible to run xfs_repair without 24GB RAM (in my case) ? Maybe I should use big SWAP instant of so much RAM?

Try using the latest xfsprogs (or at least 2.9.x), lots of improvements have been made to the memory usage. It may not be of much help though, you really should be running a 64-bit kernel.

Quoted 3 lines

What is the difference running XFS_repair in 32 and 64 bit kernel?If any difference existing,  how much RAM must be in system with (for example) 64TB in single volume in order to run XFS_repair

32-bit kernel is limited to ~4GB of memory per process. 64-bit is not.

The amount of memory xfs_repair requires depends on the filesystem characteristics (how many inodes, etc etc)

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

#2 lore raw
In reply to [email protected]
Quoted 8 lines · [email protected] wrote:

Hello

I have a few question about xfs_repair and memory consumption

I have 12 TB storage,2GB RAM and 2.6.27 32b and someday my power down. After started system, I tried xfs_repair for this storage (because I can`t mount this) with unsuccessful. Maybe I am in the wrong but I know that xfs_repair need about 2GB of memory per terabyte of file system space.

Just to double check; were you unsuccessful due to ENOMEM?

-Eric

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