Received: with ECARTIS (v1.0.0; list xfs); Fri, 15 Feb 2008 17:33:53 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_43 autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m1G1XlNV021699 for ; Fri, 15 Feb 2008 17:33:48 -0800 X-ASG-Debug-ID: 1203125651-6776001c0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from flyingAngel.upjs.sk (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 960115E1BCD for ; Fri, 15 Feb 2008 17:34:11 -0800 (PST) Received: from flyingAngel.upjs.sk (static113-109.rudna.net [212.20.113.109]) by cuda.sgi.com with ESMTP id ZXKQA7fB1OQa1UtD for ; Fri, 15 Feb 2008 17:34:11 -0800 (PST) Received: by flyingAngel.upjs.sk (Postfix, from userid 500) id A46C928E65A; Sat, 16 Feb 2008 02:34:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by flyingAngel.upjs.sk (Postfix) with ESMTP id 90D212235A2 for ; Sat, 16 Feb 2008 02:34:08 +0100 (CET) Date: Sat, 16 Feb 2008 02:34:08 +0100 (CET) From: Jan Derfinak To: xfs@oss.sgi.com X-ASG-Orig-Subj: Differences in mkfs.xfs and xfs_info output. Subject: Differences in mkfs.xfs and xfs_info output. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Barracuda-Connect: static113-109.rudna.net[212.20.113.109] X-Barracuda-Start-Time: 1203125652 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.42320 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5833/Fri Feb 15 11:30:30 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14457 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: ja@mail.upjs.sk Precedence: bulk X-list: xfs Hello. I found following problem with xfs_info (xfs_grows -p xfs_info) command: # mkfs.xfs -f /dev/loop0 meta-data=/dev/loop0 isize=256 agcount=4, agsize=32000 blks = sectsz=512 attr=2 data = bsize=4096 blocks=128000, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=1200, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 # mount /dev/loop0 /mnt/usb # xfs_info /mnt/usb meta-data=/dev/loop0 isize=256 agcount=4, agsize=32000 blks = sectsz=512 attr=0 data = bsize=4096 blocks=128000, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 log =internal bsize=4096 blocks=1200, version=2 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 Can somebody explain the difference in attr and lazy-count parameters? Which output is the right one? mkfs.xfs version 2.9.6 SGI-XFS CVS-2008-02-14_08:00_UTC with ACLs, large block/inode numbers, no debug enabled SGI XFS Quota Management subsystem architecture x86_64 # xfs_db -r /dev/loop0 xfs_db> sb xfs_db> print magicnum = 0x58465342 blocksize = 4096 dblocks = 128000 rblocks = 0 rextents = 0 uuid = 925f5530-62d4-4385-ad9e-e5c72e2fb609 logstart = 65540 rootino = 128 rbmino = 129 rsumino = 130 rextsize = 1 agblocks = 32000 agcount = 4 rbmblocks = 0 logblocks = 1200 versionnum = 0xb4a4 sectsize = 512 inodesize = 256 inopblock = 16 fname = "\000\000\000\000\000\000\000\000\000\000\000\000" blocklog = 12 sectlog = 9 inodelog = 8 inopblog = 4 agblklog = 15 rextslog = 0 inprogress = 0 imax_pct = 25 icount = 64 ifree = 61 fdblocks = 126780 frextents = 0 uquotino = 0 gquotino = 0 qflags = 0 flags = 0 shared_vn = 0 inoalignmt = 2 unit = 0 width = 0 dirblklog = 0 logsectlog = 0 logsectsize = 0 logsunit = 1 features2 = 0 Thanks, Jan --