hi,
On Thu, Aug 09, 2001 at 03:55:44AM +0000, Detlef Vollmann wrote:
> Nathan Scott wrote:
> > >
> > > Real problem: size itself
> > > I tried to create an xfs filesystem on a 4MB ramdisk (/dev/ram0),
> > > but I found no combination of option that succeeded.
> > > Did I not try hard enouh or is the lower limit for xfs size
> > > larger than 4MB?
> > >
> >
> > Yes - the minimum is 16MB, if I remember correctly (ie. the
> > minimum size of one allocation group).
> Ahh, that's serious. I'll have to find a workaround for that :-{
>
I looked into this a bit more ... I got that minimum size from
the man page, so assumed it was right. Its not. On IRIX, I'm
able to create a 4MB filesystem (which is strange because IRIX
mkfs man page also documents 16MB as the minimum). To create a
filesystem this small, you need to use -linternal,size=512b
(thanks for the tip, Eric).
Our Linux code goes south when I try to mount a 4MB filesystem
though - the log recovery code tries to write at a really big
offset and crashes and burns a bit after doing that. I'll look
into this a bit more tomorrow - it seems very strange (broken).
[btw, another thing I found with the rd driver is you'll need to
set the blocksize to 512 for XFS - it defaults to 1024, but this
is configurable]
cheers.
--
Nathan
|