From: Stan Hoeppner <stan@hardwarefreak.com>
To: Michael Maier <m1278468@allmail.net>
Cc: Eric Sandeen <sandeen@sandeen.net>, xfs@oss.sgi.com
Subject: Re: Failure growing xfs with linux 3.10.5
Date: Wed, 14 Aug 2013 12:31:39 -0500 [thread overview]
Message-ID: <520BBEFB.9030002@hardwarefreak.com> (raw)
In-Reply-To: <520B9CCF.1040908@allmail.net>
On 8/14/2013 10:05 AM, Michael Maier wrote:
> Stan Hoeppner schrieb:
>> On 8/13/2013 10:30 AM, Michael Maier wrote:
>>> Dave Chinner wrote:
>>>> [ re-ccing the list, because finding this is in everyone's interest ]
...
...
>>>> FWIW, how many times has this filesystem ben grown?
>>>
>>> I can't say for sure, about 4 or 5 times?
>>>
>>>> Did it start
>>>> with only 32 AGs (i.e. 10TB in size)?
>>>
>>>>>>> 10TB? No. The device just has 3 TB. You most probably meant 10GB?
>>> I'm not sure, but it definitely started with > 100GB.
>>
>> According to your xfs_info output that I highlighted above, and assuming
>> my math here is correct,
>>
>> (((7700480*4096)/1048576)*42)= 1,263,360 GB or ~1.23 TB
>>
>> this filesystem was 1.23 TB w/42 AGs before the grow operation.
>> Assuming defaults were used during mkfs.xfs it would appear the initial
>> size of this filesystem was ~120GB. And it would appear it has been
>> grown to ~10x its original size, and from 4 AGs to 42 AGs. That seems
>> like a lot of growth, to me. And Dave states the latest grow operation
>> was to 45 AGs, which would yield a ~1.32TB filesystem, not 3TB.
>
> He wrote about 10TB (=Terra(!) Byte). The entire HD only has 3 TB.
> 10TB is impossible!
I was referring to the 3TB you mention above. I misunderstood that to
mean the size of the filesystem, but you did clearly state "device".
Sorry about the oversight there.
> The last growfs was about 100GB. The FS was grown lots of times
> since the initial creation one or two years ago.
Yes, this is the critical information Dave was looking for which relates
to xfs_growfs failing.
> About the sizes before the last grow and after it: see
> http://www.spinics.net/lists/xfs/msg21032.html
Unrelated to the grow bug, I'm wondering why you started so small and
are growing an XFS in such small chunks, a great number of times, over a
period of years, on a single 3TB disk, instead of making a 3TB XFS out
of the gate.
If you keep growing until you consume the disk, you'll have ~100
allocation groups. Typically you'd want to have no more than 4 AGs per
spindle. You already have 42 (or 45) which will tend to seek the disk
to death with many workloads, driving latency through the roof and
decreasing throughput substantially. Do you notice any performance
problems yet? Or is this XFS strictly being used as a WORM like backup
silo?
--
Stan
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2013-08-14 17:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-11 7:11 Failure growing xfs with linux 3.10.5 Michael Maier
2013-08-11 18:36 ` Eric Sandeen
2013-08-12 16:50 ` Michael Maier
2013-08-13 0:54 ` Dave Chinner
2013-08-13 14:55 ` Michael Maier
2013-08-14 5:43 ` Dave Chinner
2013-08-14 15:16 ` Michael Maier
2013-08-15 0:58 ` Dave Chinner
2013-08-15 18:14 ` Michael Maier
[not found] ` <52090C6C.6060604@allmail.net>
2013-08-13 0:04 ` Dave Chinner
2013-08-13 15:30 ` Michael Maier
2013-08-14 5:53 ` Stan Hoeppner
2013-08-14 15:05 ` Michael Maier
2013-08-14 17:31 ` Stan Hoeppner [this message]
2013-08-14 18:13 ` Michael Maier
2013-08-14 22:20 ` Stan Hoeppner
2013-08-15 17:05 ` Michael Maier
2013-08-14 6:20 ` Dave Chinner
2013-08-14 16:20 ` Michael Maier
2013-08-14 16:37 ` Eric Sandeen
2013-08-15 17:18 ` Eric Sandeen
2013-08-15 17:55 ` Michael Maier
2013-08-15 18:14 ` Eric Sandeen
2013-08-15 18:35 ` Michael Maier
2013-08-15 18:42 ` Eric Sandeen
2013-08-14 16:51 ` Eric Sandeen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=520BBEFB.9030002@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=m1278468@allmail.net \
--cc=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox