* [linux-lvm] Re: mkfs - cannot set blocksize [not found] ` <200206061435.g56EZpl28164@mail.pronto.tv> @ 2002-06-06 18:23 ` Nathan Scott 2002-06-07 3:07 ` Joe Thornber 2002-06-07 3:59 ` Roy Sigurd Karlsbakk 0 siblings, 2 replies; 4+ messages in thread From: Nathan Scott @ 2002-06-06 18:23 UTC (permalink / raw) To: Marek.Les, Roy Sigurd Karlsbakk; +Cc: linux-xfs, linux-lvm 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Re: mkfs - cannot set blocksize 2002-06-06 18:23 ` [linux-lvm] Re: mkfs - cannot set blocksize Nathan Scott @ 2002-06-07 3:07 ` Joe Thornber 2002-06-09 14:29 ` Heinz J . Mauelshagen 2002-06-07 3:59 ` Roy Sigurd Karlsbakk 1 sibling, 1 reply; 4+ messages in thread From: Joe Thornber @ 2002-06-07 3:07 UTC (permalink / raw) To: linux-lvm; +Cc: Marek.Les, Roy Sigurd Karlsbakk, linux-xfs Nathan, On Fri, Jun 07, 2002 at 09:21:37AM +1000, Nathan Scott wrote: > 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). I put this ioctl into device-mapper (LVM2 driver) recently, and will suggest Heinz does the same for LVM1. You're correct about ENOTTY, thanks for pointing it out. - Joe ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Re: mkfs - cannot set blocksize 2002-06-07 3:07 ` Joe Thornber @ 2002-06-09 14:29 ` Heinz J . Mauelshagen 0 siblings, 0 replies; 4+ messages in thread From: Heinz J . Mauelshagen @ 2002-06-09 14:29 UTC (permalink / raw) To: linux-lvm On Fri, Jun 07, 2002 at 09:05:39AM +0100, Joe Thornber wrote: > Nathan, > > On Fri, Jun 07, 2002 at 09:21:37AM +1000, Nathan Scott wrote: > > 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). > > I put this ioctl into device-mapper (LVM2 driver) recently, and will > suggest Heinz does the same for LVM1. You're correct about ENOTTY, > thanks for pointing it out. ENOTTY is in CVS. Will change to using blk_ioctl once I am back from my trip. > > - Joe > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html -- Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] Re: mkfs - cannot set blocksize 2002-06-06 18:23 ` [linux-lvm] Re: mkfs - cannot set blocksize Nathan Scott 2002-06-07 3:07 ` Joe Thornber @ 2002-06-07 3:59 ` Roy Sigurd Karlsbakk 1 sibling, 0 replies; 4+ messages in thread From: Roy Sigurd Karlsbakk @ 2002-06-07 3:59 UTC (permalink / raw) To: Nathan Scott, Marek.Les; +Cc: linux-xfs, linux-lvm > 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. ok. sorry. rephrasing. Linux on IA32 does not support blocksize > pagesize, which means Linux on IA32 supports 512, 1024, 2048 and 4096 bytes per block -- Roy Sigurd Karlsbakk, Datavaktmester Computers are like air conditioners. They stop working when you open Windows. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-09 14:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <OF73D30ECA.36498F9C-ONC1256BD0.004E5691@kancelar.seznam.cz>
[not found] ` <200206061435.g56EZpl28164@mail.pronto.tv>
2002-06-06 18:23 ` [linux-lvm] Re: mkfs - cannot set blocksize Nathan Scott
2002-06-07 3:07 ` Joe Thornber
2002-06-09 14:29 ` Heinz J . Mauelshagen
2002-06-07 3:59 ` Roy Sigurd Karlsbakk
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.