Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)

2001-02-01 Thread Chris Mason



On Wednesday, January 31, 2001 11:27:57 PM +0100 Bernd Eckenfels <[EMAIL PROTECTED]> 
wrote:

> On Wed, Jan 31, 2001 at 09:24:39AM +, James Sutherland wrote:
>> 32 megaBLOCK?? How big is it in Mbytes?
> 
> Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
> partitions smaller than 32M but it is not true, i have to do
> 
> dd if=/dev/zero of=/var/loop.img count=32768 size=4096
> 
>> You do know reiserfs defaults to
>> building a 32 Mbyte journal on the device, I take it?
> 
> Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

It is.  The actual min is around 40MB (with 32MB used by the journal.  Next version of 
mkreiserfs will be fixed.

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)

2001-02-01 Thread Chris Mason



On Wednesday, January 31, 2001 11:27:57 PM +0100 Bernd Eckenfels [EMAIL PROTECTED] 
wrote:

 On Wed, Jan 31, 2001 at 09:24:39AM +, James Sutherland wrote:
 32 megaBLOCK?? How big is it in Mbytes?
 
 Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
 partitions smaller than 32M but it is not true, i have to do
 
 dd if=/dev/zero of=/var/loop.img count=32768 size=4096
 
 You do know reiserfs defaults to
 building a 32 Mbyte journal on the device, I take it?
 
 Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

It is.  The actual min is around 40MB (with 32MB used by the journal.  Next version of 
mkreiserfs will be fixed.

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)

2001-01-31 Thread Bernd Eckenfels

On Wed, Jan 31, 2001 at 11:15:56PM +, James Sutherland wrote:
> > dd if=/dev/zero of=/var/loop.img count=32768 size=4096
> 
> That just creates a 128Mb file of zeros... This sounds a bit small. Why
> "size=4096"??

because i am too tired to calculate. mkreiserfs wants 32768 (32*1024) blocks
with a size of 4k. I created the smallest possible image to test reiserfs.

> > Yes, I wonder if it is a Error in mkreiserfs to require 128MB.
> 
> Have you tried using a smaller blocksize to mkreiserfs?

Sure I have.

Greetings
Bernd
-- 
  (OO)  -- [EMAIL PROTECTED] --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(OO)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)

2001-01-31 Thread Bernd Eckenfels

On Wed, Jan 31, 2001 at 09:24:39AM +, James Sutherland wrote:
> 32 megaBLOCK?? How big is it in Mbytes?

Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
partitions smaller than 32M but it is not true, i have to do

dd if=/dev/zero of=/var/loop.img count=32768 size=4096

> You do know reiserfs defaults to
> building a 32 Mbyte journal on the device, I take it?

Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

Greetings
Bernd
-- 
  (OO)  -- [EMAIL PROTECTED] --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(OO)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)

2001-01-31 Thread Bernd Eckenfels

On Wed, Jan 31, 2001 at 11:15:56PM +, James Sutherland wrote:
  dd if=/dev/zero of=/var/loop.img count=32768 size=4096
 
 That just creates a 128Mb file of zeros... This sounds a bit small. Why
 "size=4096"??

because i am too tired to calculate. mkreiserfs wants 32768 (32*1024) blocks
with a size of 4k. I created the smallest possible image to test reiserfs.

  Yes, I wonder if it is a Error in mkreiserfs to require 128MB.
 
 Have you tried using a smaller blocksize to mkreiserfs?

Sure I have.

Greetings
Bernd
-- 
  (OO)  -- [EMAIL PROTECTED] --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(OO)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/