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 _______________________________________________ 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