[Top] [All Lists]

Re: mkfs - cannot set blocksize

To: Marek.Les@xxxxxxxxxxxxxxx, Roy Sigurd Karlsbakk <roy@xxxxxxxxxxxxx>
Subject: Re: mkfs - cannot set blocksize
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 7 Jun 2002 09:21:37 +1000
Cc: linux-xfs@xxxxxxxxxxx, linux-lvm@xxxxxxxxxxx
In-reply-to: <200206061435.g56EZpl28164@xxxxxxxxxxxxxx>
References: <OF73D30ECA.36498F9C-ONC1256BD0.004E5691@xxxxxxxxxxxxxxxxxx> <200206061435.g56EZpl28164@xxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.28i

On Thu, Jun 06, 2002 at 04:35:51PM +0200, Roy Sigurd Karlsbakk wrote:
> linux ia32 only supports 4kB block size

4K pagesize, not blocksize.  [filesystem] blocksizes smaller than 4K
are also supported.  Thats unrelated to this problem though, which is
related to the device driver blocksize... mkfs is trying to tell the
device to do IOs in 512 byte chunks, but its not listening.  There's
some corner cases where mkfs will fail if the device driver ignores
its request to change the device block size.

> On Thursday 06 June 2002 16:27, Marek.Les@xxxxxxxxxxxxxxx wrote:
> > Hello,
> >
> > I am trying to test XFS with LVM and I've encountered this error while
> > trying to do mkfs.xfs on the LVM logical volume:
> > 
> > mkfs.xfs: warning - cannot set blocksize on block device
> > /dev/test_vg/test_lv: Invalid argument
> > I tried to find something in the mailing list but the only thing I found
> > was something about EVMS but no LVM stuff. Can anyone tell me, what exactly
> > this warning means and (if possible) how to get rid of it?
We need to contact the LVM folks and ask them to implement the
BLKBSZSET ioctl (and while I'm at it, I'll mention that ENOTTY
should be returned instead of EINVAL for unrecognised ioctls,



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