XFS.. HERE I COME!!!!!!! The LUKS partition was indeed the culprit. The
LUKS partition was not accurately representing the size of the underlying
logical volume (when over 2gb) automatically; in order to handle partitions
over 2gb it is necessary to explicitly specify the desired size of the LUKS
partition (size<lv) to the LUKS partition itself (via the LUKS "resize"
command). It seems that mkfs.xfs relies on an accurate LUKS size in order
to work on logical volumes greater than or equal to 2gb. I updated this
info on the LUKS wiki and other forums...
So just to recap.... if you are getting the error:
"mkfs.xfs: libxfs_device_zero write failed: Input/output error"
make sure that you have resized the underlying LUKS partition to the desired
Thanks for the help; much appreciated.
Eric Sandeen-3 wrote:
> pgf111000 wrote:
>> Thank you for the quick response. I have posted on a few luks forums to
>> to delve into this issue a little deeper; if they are aware of a
>> I'll make sure to post it. The interesting thing is that when I
>> on luks partitions above 2-3gb all is fine; I wish xfs and luks would
> mkfs.xfs actually does writes out at the end of the device and verifies
> them; I'm not sure ext3 is doing the same. You may find yourself in
> trouble on ext3 post-mkfs (or you may not...) I seem to recall that xfs
> has shaken out similar problems on other block devices for this reason.
> I'd do some simple device-level read/write tests around 2GB just for
> fun, see how it goes.
View this message in context:
Sent from the linux-xfs mailing list archive at Nabble.com.