xfs
[Top] [All Lists]

[PATCH] adding example with xfs_info output decryption

To: xfs@xxxxxxxxxxx
Subject: [PATCH] adding example with xfs_info output decryption
From: CoolCold <coolthecold@xxxxxxxxx>
Date: Mon, 23 May 2011 02:34:54 +0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=tAuu8GRDVbm28eg1zop+Lb0PZOGKjuvN4ApLt4OrBqE=; b=H08VpvGuAlBMXWvfqR91fwNUyti7VJwdOxSKlzEblXza4rOias+vyCmwDn57XtNIZA TJag0romPeF2gj+zEAHLw70W0zO1i+L84is1lMpZmOx4jZU8uKwDKujUkKEffnyXQ4CC TkIDwX3s+64DT2+EBNhWaD5Zs278Q0YfwVNrM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kLtvO+U0Az4TM0jcT3ao7F9d9cKT89hlLhu+3pfagTVb8v2Udlqej876mX83BShCUv AXbHNua6Z22l1RkisiCQ+2tMin3n5C9YE9/Qy+AsvW233uJjUsFUDZqh+MXsxjrk3RL6 U4O/voRyPEE75+ZbJ/KV9cbZrfrNpuH0Da+mI=
Basing on irc discussions and questions about reading xfs_info output
I've added example in xfs_growfs manpage.


Signed-off-by: Roman Ovchinnikov <coolthecold@xxxxxxxxx>
---
 man/man8/xfs_growfs.8 |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/man/man8/xfs_growfs.8 b/man/man8/xfs_growfs.8
index 02793ae..c782fc1 100644
--- a/man/man8/xfs_growfs.8
+++ b/man/man8/xfs_growfs.8
@@ -1,3 +1,14 @@
+.\" Verbatim blocks taken from openssl req manpage content
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+
 .TH xfs_growfs 8
 .SH NAME
 xfs_growfs, xfs_info \- expand an XFS filesystem
@@ -105,6 +116,7 @@ this is specified with
 Specifies that no change to the filesystem is to be made.
 The filesystem geometry is printed, and argument checking is performed,
 but no growth occurs.
+.B See output examples below.
 .TP
 .BI "\-r | \-R " size
 Specifies that the real-time section of the filesystem should be grown. If the
@@ -152,6 +164,28 @@ reside. In order to grow a filesystem, it is
necessary to provide added
 space for it to occupy. Therefore there must be at least one spare new
 disk partition available. Adding the space is often done through the use
 of a logical volume manager.
+.SH "EXAMPLES"
+
+Examining xfs_info output.
+.PP
+Let's assume one have the next xfs_info output:
+.PP
+.Vb 1
+\& meta-data=/dev/sda      isize=256    agcount=32, agsize=16777184 blks
+\&          =              sectsz=512   attr=2
+\& data     =              bsize=4096   blocks=536869888, imaxpct=5
+\&          =              sunit=32     swidth=128 blks
+\& naming   =version 2     bsize=4096
+\& log      =internal      bsize=4096   blocks=32768, version=2
+\&          =              sectsz=512   sunit=32 blks, lazy-count=1
+\& realtime =none          extsz=524288 blocks=0, rtextents=0
+.Ve
+.PP
+
+Here, data section block size (bsize) is 4096 bytes. Therefore
+"sunit=32 swidth=128 blks" means stripe unit is 32*4096 bytes = 128 kibibytes
+and stripe width is 128*4096 bytes = 512 kibibytes. Filesystem is striped
+over 4 ( 128 / 32 ) stripes.
 .SH SEE ALSO
 .BR mkfs.xfs (8),
 .BR md (4),
-- 
1.7.2.5

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] adding example with xfs_info output decryption, CoolCold <=