{"id":339,"date":"2018-03-26T19:50:27","date_gmt":"2018-03-26T19:50:27","guid":{"rendered":"http:\/\/labiol.xyz\/?p=339"},"modified":"2018-03-26T19:50:51","modified_gmt":"2018-03-26T19:50:51","slug":"miejsce-w-appliance-vcsa-ver-6-0","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2018\/03\/26\/miejsce-w-appliance-vcsa-ver-6-0\/","title":{"rendered":"Miejsce w appliance vcsa &#8211; ver . 6.0"},"content":{"rendered":"<p>VCSA dzia\u0142a stabilnie &#8211; do czasu a\u017c si\u0119 nie sko\u0144czy miejsce w \/storage\/log.<\/p>\n<p>Opr\u00f3cz usuni\u0119cia wszystkich (niepotebnych) archiwalnych plik\u00f3w bz2 i gz mo\u017cna uruchomi\u0107 nast\u0119puj\u0105ce polecenie:<\/p>\n<p>&nbsp;<\/p>\n<pre>find \/storage\/log -iname \"*bz2\" -exec rm {} \\;<\/pre>\n<p>oraz<\/p>\n<pre>find \/storage\/log -iname \"*gz\" -exec rm {} \\;<\/pre>\n<p>W dalszej kolejno\u015bci proponuj\u0119 zastosowa\u0107 si\u0119 do artyku\u0142u: <a href=\"https:\/\/kb.vmware.com\/s\/article\/2147261\">https:\/\/kb.vmware.com\/s\/article\/2147261\u00a0<\/a>dotycz\u0105cego pliku <span style=\"font-family: Courier\\ New; font-size: normal;\">\/storage\/log\/vmware\/cloudvm\/cloudvm-ram-size.log<\/span> i niedzia\u0142aj\u0105cego dla niego logrotate<\/p>\n<p>W celu naprawy nale\u017cy:<\/p>\n<pre><span style=\"font-family: Courier\\ New;\"><span style=\"font-size: small;\">touch \/etc\/logrotate.d\/cloudvm_ram_size.log<\/span><\/span><\/pre>\n<p>vim \/etc\/logrotate.d\/cloudvm_ram_size.log i doda\u0107:<\/p>\n<pre><span style=\"font-family: Courier\\ New; font-size: small;\">\/storage\/log\/vmware\/cloudvm\/cloudvm-ram-size.log{\r\nmissingok\r\nnotifempty\r\ncompress\r\nsize 20k\r\nmonthly\r\ncreate 0660 root cis\r\n}<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>Uruchomienie czyszczenia:<\/p>\n<p>&nbsp;<\/p>\n<pre><span style=\"font-family: Courier\\ New; font-size: small;\">logrotate -f \/etc\/logrotate.conf<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>VCSA dzia\u0142a stabilnie &#8211; do czasu a\u017c si\u0119 nie sko\u0144czy miejsce w \/storage\/log. Opr\u00f3cz usuni\u0119cia wszystkich (niepotebnych) archiwalnych plik\u00f3w bz2 i gz mo\u017cna uruchomi\u0107 nast\u0119puj\u0105ce polecenie: &nbsp; find \/storage\/log -iname &#8220;*bz2&#8221; -exec rm {} \\; oraz find \/storage\/log -iname &#8220;*gz&#8221; -exec rm {} \\; W dalszej kolejno\u015bci proponuj\u0119 zastosowa\u0107 si\u0119 &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-vmware"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":2,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/339\/revisions\/341"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}