xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 646] [2.4.31][XFS] I cannot create XFS on evms volume

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 646] [2.4.31][XFS] I cannot create XFS on evms volume larger than 1TB
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 26 Apr 2006 20:20:54 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=646





------- Additional Comments From m9230@xxxxxxxxxxxxxxxx  2006-04-26 20:20 CST 
-------
I do not think this is a underlying problem because I can create EXT3, but I 
cannot create XFS on 1.36TB volume.
I found that "buf" in xfsprogs-2.5.6/xfs_mkfs.c line#1949 is wrong, because I 
found that buf->b_blkno=18446743374334458880 (IO_DEBUG):
#/mkfs.xfs -f /dev/evms/volume1
meta-data=/dev/evms/volume1      isize=256    agcount=4294967134, 
agsize=1048576 blks
         =                       sectsz=512
data     =                       bsize=4096   blocks=4503599456624639, 
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
getbuf allocated 69632bytes, blkno=0(0), 0x8092918
writing 69632bytes at blkno=0(0), 0x8092918
putbuf released 69632bytes, 0x8092918
getbuf allocated 512bytes, blkno=0(0), 0x8092918
writing 512bytes at blkno=0(0), 0x8092918
putbuf released 512bytes, 0x8092918
getbuf allocated 65536bytes, blkno=18446743374334458880(36028795652996990), 
0x8092918
writing 65536bytes at blkno=18446743374334458880(36028795652996990), 0x8092918
mkfs.xfs: pwrite64 failed: Invalid argument

So I think there maybe some problem in function libxfs_getbuf in libxfs/rdwr.c.
I can create XFS successfully when I skipped line 1948~1952 and assigned size:
#mkfs.xfs -f -L volume1 -d size=1392g /dev/evms/volume1
meta-data=/dev/evms/volume1      isize=256    agcount=348, agsize=1048576 blks
         =                       sectsz=512
data     =                       bsize=4096   blocks=364904448, 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


-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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