<div dir="ltr"><div>Hi,<br><br></div><div>> b) Make the snapshot location share the diskspace of /var/log?<br><br>+1 for that. And +1 for using hard links to save space during snapshot creation.<br><br></div><div>Regards,<br></div><div>Alex<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 12:12 PM, Artem Panchenko <span dir="ltr"><<a href="mailto:apanchenko@mirantis.com" target="_blank">apanchenko@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
doesn't matter how /var partition is big, diagnostic snapshot still
could occupy all its space if there are lots of logs on slave nodes.
Although, we can try to control disk space usage by snapshot in
shotgun, but IMHO it's much safer to keep all related to logs staff
away from critical system files, so I'm voting for 2nd (b) option.
By the way it will allow us to use hard links for fast copying of
files before creating tarball, because one partition for storing
logs and snapshot will be used.<br>
<br>
Thanks!<div><div class="h5"><br>
<br>
<div>On 12.01.16 12:47, Maciej Kwiek wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi!
<div><br>
</div>
<div>I need some advice on how to tackle this issue. There is a
bug [1] describing the problem with creating a diagnostic
snapshot. The issue is that /var/log has 100GB available,
while /var (where diagnostic snapshot is being generated -
/var/www/nailgun/dump/fuel-snapshot according to [2]) has 10GB
available, so dumping the logs can be an issue when logs size
exceed free space in /var.</div>
<div><br>
</div>
<div>There are several things we could do, but I am unsure on
which course to take. Should we</div>
<div>a) Allocate more disk space for /var/www (or for whole
/var)?</div>
<div>b) Make the snapshot location share the diskspace of
/var/log?</div>
<div>c) Something else? What?</div>
<div><br>
</div>
<div>Please share your thoughts on this.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Maciej Kwiek</div>
<div><br>
</div>
<div>[1] <a href="https://bugs.launchpad.net/fuel/+bug/1529182" target="_blank">https://bugs.launchpad.net/fuel/+bug/1529182</a></div>
<div>[2] <a href="https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717" target="_blank">https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717</a></div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Artem Panchenko
QA Engineer</pre>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>