On Tue, 11 Jan 2005, Nathan Scott wrote: > On Mon, Jan 10, 2005 at 02:10:09PM +0100, Peter Palfrader wrote: > > > > I have a filesystem that stores (a backup) of my maildir with about 900k > > files. This filesystem somehow (bad disk most likely) got corrupted a > > bit so I tried to xfs_repair it. > > Hi Peter, > > Can you tell me how many inodes in this filesystem, and also its > size? Output from "df -h /mnt/foo && df -hi /mnt/foo" would do > the trick, thanks.
Certainly. Filesystem Inodes IUsed IFree IUse% Mounted on /dev/hdd3 7018272 1455076 5563196 21% /mnt/hdd3 Filesystem Size Used Avail Use% Mounted on /dev/hdd3 38G 36G 1.4G 97% /mnt/hdd3 > > It seems that it tries to store the entire tree in RAM? Maybe this > > could be changed to not require that much ram. > > *nod* I added a swapfile of a few gigs and then xfs_repair ran through. Unfortunately I didn't catch how much memory it used tops. Subsequent runs on an intact filesystem resulted in a use of no more than ~600megs of virtual memory. greetings, Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]