xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 793] New: mkfs: can't specify agcount with su,sw

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 793] New: mkfs: can't specify agcount with su,sw
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 29 Sep 2008 12:00:05 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=793

           Summary: mkfs: can't specify agcount with su,sw
           Product: Linux XFS
           Version: Current
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: peter@xxxxxxxxx


xfsprogs 2.9.8-1 on AMD64 Ubuntu.

sudo /sbin/mkfs.xfs -N -f -L home -i attr=2,maxpct=16 -l lazy-count=1,su=64k
/dev/sdb2 -d su=64k,sw=6,agcount=8
Allocation group size (71635446) is not a multiple of the stripe unit (16)

sunit=16 and swidth=96 are equivalent to su=64k,sw=6, but obviously mkfs code
doesn't do everything the same when it has to convert from su,sw.  In fact, it
reduces su from 16 to 2 blocks!

sudo /sbin/mkfs.xfs -N -f -L home -i attr=2 -l lazy-count=1,su=64k /dev/sdb2 -d
sunit=16,swidth=96,agcount=8
meta-data=/dev/sdb2              isize=256    agcount=8, agsize=71635446 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=573083565, imaxpct=5
         =                       sunit=2      swidth=12 blks
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=16 blks, lazy-count=1
realtime =none                   extsz=4096   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>
  • [xfs-masters] [Bug 793] New: mkfs: can't specify agcount with su,sw, bugzilla-daemon <=