xfs
[Top] [All Lists]

Re: mkfs.xfs, lvm, multi-terrabyte hardware array and luks

To: pgf111000 <junkmail@xxxxxxxxxxxxxxxxx>
Subject: Re: mkfs.xfs, lvm, multi-terrabyte hardware array and luks
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 20 Feb 2007 13:32:49 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <9068053.post@talk.nabble.com>
References: <9068053.post@talk.nabble.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070212)
pgf111000 wrote:
> When I try to format partitions above 2-3gb my opteron experiences heavy io
> wait; the mkfs.xfs fails, and I receive the following....
> 
>  "mkfs.xfs: libxfs_device_zero write failed: Input/output error"
> 
> When I format partions below 2-3gb, there is no problem whatsoever.  I can
> mkfs.xfs on a +2-3GB non-luks formated partition without a problem... any
> thoughts?

Sounds like a LUKS problem, maybe it can't do those large offsets?  xfs
certainly can...

I bet you'll find that the 2GB size is the threshold... xfs is just
trying a write():

        if ((bytes = write(fd, z, bytes)) < 0) {
                fprintf(stderr, _("%s: %s write failed: %s\n"),
                        progname, __FUNCTION__, strerror(errno));

maybe try a simple dd write at the end of your large luks device, see
how that goes.

-Eric


<Prev in Thread] Current Thread [Next in Thread>