xfs
[Top] [All Lists]

Re: Running xfs_repair fails with malloc error

To: "Al D. Baran" <alde@xxxxxxxx>
Subject: Re: Running xfs_repair fails with malloc error
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 29 Apr 2002 14:30:47 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0204291217280.17663-100000@kungpao.alde.com>
References: <Pine.LNX.4.44.0204291217280.17663-100000@kungpao.alde.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi Al - 

How are the files laid out?  the malloc size is based on the size of the
directory:

       freetab = malloc(FREETAB_SIZE(ip->i_d.di_size / mp->m_dirblksize));

Do you happen to have a -really- huge directory on the filesystem?  Or
maybe something has gone bad before this point...

-Eric

On Mon, 2002-04-29 at 13:46, Al D. Baran wrote:

> fatal error -- malloc failed in longform_dir2_entry_check (1073741836 bytes)

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>