xfs
[Top] [All Lists]

Re: Problems with mkfs.xfs

To: Detlef Vollmann <dv@xxxxxxxxxxx>
Subject: Re: Problems with mkfs.xfs
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 9 Aug 2001 18:45:44 +1000
Cc: XFS list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3B7209C0.1DDDE1DD@vollmann.ch>; from dv@vollmann.ch on Thu, Aug 09, 2001 at 03:55:44AM +0000
References: <3B71F762.58CD4725@vollmann.ch> <20010809130928.D260586@wobbly.melbourne.sgi.com> <3B7209C0.1DDDE1DD@vollmann.ch>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
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


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