<html><head></head><body bgcolor="#FFFFFF"><div>Am 05.08.2012 um 00:43 schrieb Dave Chinner <<a href="mailto:david@fromorbit.com">david@fromorbit.com</a>>:<br><br></div><div></div><blockquote type="cite"><div><span>On Tue, Jul 31, 2012 at 03:56:54PM +0200, Stefan Priebe - Profihost AG wrote:</span><br><blockquote type="cite"><span>Hello list,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>i'm planning to create a couple of VMs with just 30GB of space while</span><br></blockquote><blockquote type="cite"><span>using xfs as the main filesystem.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Now i alreay know that some of the VMs will grow up to 250GB while</span><br></blockquote><blockquote type="cite"><span>resizing the block device and using xfs_growfs.</span><br></blockquote><span></span><br><span>Just use thin provisioning and make it 250GB to begin with. Thin</span><br><span>provisioning mades filsystem grow/shrink pretty much redundant....</span><br></div></blockquote><div><br></div><div>But dm thin isn't stable isn't it? Does xfs reallocate used parts of the block</div><div>Device before using new parts? Otherwise deleting and recreating files will result in full used space pretty fast.</div><br><blockquote type="cite"><div><span></span><blockquote type="cite"><span>Is it a problem if this grow will happen in small portions (30GB =></span><br></blockquote><blockquote type="cite"><span>50GB => 75GB => 100GB => ... 300GB)?</span><br></blockquote><span></span><br><span>Growing a filesystem by an order of magnitude is the limit of what</span><br><span>I'd suggest is sane. Growing it by two orders of magnitude</span><br><span>(espcially if you start with a 16 AG filesystem because of stripe</span><br><span>alignment) is going to cause problems with the number of AGs and</span><br><span>the subsequent freespace management scale issue....</span><br></div></blockquote>I would start with ag=4 and end up in ag 48 in my tests.<div><br></div><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">Growing it by two orders of magnitude</font></div></blockquote>what does that mean? (sorry no native speaker)</div><div><br></div><div>Thanks!<br><br><div>Stefan</div></div></body></html>