RE: ext2fs or ramdisk problems......

2 messages, 2 authors, 2000-08-29 · open the first message on its own page

RE: ext2fs or ramdisk problems......

From: Whitney, John <hidden>
Date: 2000-08-28 14:27:26

Well, I'd believe that, but...

If I copy a file, such as /bin/vim, into new files until they fill up
the unused ramdisk space, delete the copies, and start copying them
again, I get the "out of space" error (actually, I don't think I even
have to fill up the space before I can get this to happen).  If it were
inode related, I'd think that it was the *number* of files and that for
each file I deleted, I could create a new one (which isn't the case).

I saw the problem in each kernel from the standard 2.2.13 up to 2.2.15
(I was trying to see if newer kernels fixed the problem).  I'm not sure
what is causing it or if anyone else has been troubled by it, but I
thought I'd bring it up to the group.

John Whitney
johnw@aiinet.com

-----Original Message-----
From: Scott Anderson [mailto:sanders@mvista.com]
Sent: Friday, August 25, 2000 1:35 PM
To: Whitney, John
Cc: 'greyham@research.canon.com.au'; kd@flaga.is;
linuxppc-embedded@lists.linuxppc.org
Subject: Re: ext2fs or ramdisk problems......



"Whitney, John" wrote:
I have had odd results using ext2 on the ramdisk (in my case, a 16MB
ramdisk).  Using the 2.2.13, ramdisks I created using ext2 would boot
up just fine on the system, but after use the filesystem would declare
that it was out of space, even though "df" showed several megabytes
free on that filesystem.
My guess is that you ran out of inodes.  Examine the output of dumpe2fs
and see if it gives you any clues.

    Scott Anderson
    scott_anderson@mvista.com	MontaVista Software Inc.
    (408)328-9214		490 Potrero Ave.
    http://www.mvista.com	Sunnyvale, CA  94086


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: ext2fs or ramdisk problems......

From: Graham Stoney <hidden>
Date: 2000-08-29 04:14:35

Whitney, John writes:
If I copy a file, such as /bin/vim, into new files until they fill up
the unused ramdisk space, delete the copies, and start copying them
again, I get the "out of space" error (actually, I don't think I even
have to fill up the space before I can get this to happen).  If it were
inode related, I'd think that it was the *number* of files and that for
each file I deleted, I could create a new one (which isn't the case).
True.  I just tried both these cases, and I get the results you expect.
Are you sure your memory subsystem is working properly?
Did you pass an explicit size to mke2fs, and if so, does it match the size of
your ramdisk?

Regards,
Graham

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help