LVM and XFS cannot set blocksize on block device

Rene Salmon
2006-09-25T23:34:45Z

Hi,

I am trying to create an xfs file system on and LVM logical volume.
the actual physical drive has blocks or sectors of 4096.

when I try to make the xfs file system on top of LVM I get this message:

helix-priv:~ # mkfs.xfs -f /dev/vg_u00/lv_u00
mkfs.xfs: warning - cannot set blocksize on block device
/dev/vg_u00/lv_u00: Invalid argument
Warning: the data subvolume sector size 512 is less than the sector size
reported by the device (4096).
meta-data=/dev/vg_u00/lv_u00 isize=256 agcount=32,
agsize=11489280 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=367656960, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
helix-priv:~ #

any ideas?

Thanks
Rene

--
-
--
Rene Salmon
Tulane University
Center for Computational Science
http://www.ccs.tulane.edu
rsalmon@tulane.edu
Tel 504-862-8393
Tel 504-988-8552
Fax 504-862-8392