All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Scott <nathans@sgi.com>
To: Marek.Les@firma.seznam.cz, Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc: linux-xfs@oss.sgi.com, linux-lvm@sistina.com
Subject: [linux-lvm] Re: mkfs - cannot set blocksize
Date: Thu Jun  6 18:23:02 2002	[thread overview]
Message-ID: <20020606232137.GB479@frodo> (raw)
In-Reply-To: <200206061435.g56EZpl28164@mail.pronto.tv>

hi,

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@firma.seznam.cz 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,
apparently).

cheers.

-- 
Nathan

       reply	other threads:[~2002-06-06 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OF73D30ECA.36498F9C-ONC1256BD0.004E5691@kancelar.seznam.cz>
     [not found] ` <200206061435.g56EZpl28164@mail.pronto.tv>
2002-06-06 18:23   ` Nathan Scott [this message]
2002-06-07  3:07     ` [linux-lvm] Re: mkfs - cannot set blocksize Joe Thornber
2002-06-09 14:29       ` Heinz J . Mauelshagen
2002-06-07  3:59     ` Roy Sigurd Karlsbakk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020606232137.GB479@frodo \
    --to=nathans@sgi.com \
    --cc=Marek.Les@firma.seznam.cz \
    --cc=linux-lvm@sistina.com \
    --cc=linux-xfs@oss.sgi.com \
    --cc=roy@karlsbakk.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.