xfs
[Top] [All Lists]

Re: [Bug 267] New: pwrite64 failed on 1.2 TB evms volume

To: linux-xfs@xxxxxxxxxxx
Subject: Re: [Bug 267] New: pwrite64 failed on 1.2 TB evms volume
From: Nathan Straz <nstraz@xxxxxxx>
Date: Fri, 25 Jul 2003 10:36:51 -0500
In-reply-to: <200307251200.h6PC0QZ8018467@oss.sgi.com>
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <200307251200.h6PC0QZ8018467@oss.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Fri, Jul 25, 2003 at 05:00:26AM -0700, bugzilla-daemon@xxxxxxxxxxx wrote:
> when trying to create a filesystem on a 1.2 TB volume (created with evms, but
> also with fdisk) I get an error : 
> ---SNIP---192-168-5-65/24 root # mkfs.xfs -f /dev/evms/SYSTEM
> meta-data=/dev/evms/SYSTEM       isize=256    agcount=4294967077, 
> agsize=1048576
> blks
>          =                       sectsz=512
> data     =                       bsize=4096   blocks=4503599396890350, 
> imaxpct=0
>         =                       sunit=0      swidth=0 blks, unwritten=0
> 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
> mkfs.xfs: pwrite64 failed: Invalid argument
> ---SNAP---

I would wager that this is a bug in EVMS.  You file system is
~1319413953331 bytes.  You're trying to create a file system with
4503599396890350 4k blocks.  That's much bigger than you're device.
Perhaps EVMS isn't reporting the size of the device correctly.  

Try running `strace mkfs.xfs -f /dev/evms/SYSTEM` and add the output to
the bug.

BTW, why use EVMS?  IIRC, it was discontinued after it lost the race for
2.5.
-- 
Nate Straz                                              nstraz@xxxxxxx
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/


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