{"id":122,"date":"2023-01-19T13:30:00","date_gmt":"2023-01-19T12:30:00","guid":{"rendered":"https:\/\/omvs.de\/wp\/?p=122"},"modified":"2023-02-25T06:29:21","modified_gmt":"2023-02-25T05:29:21","slug":"resize-log-directory-in-linux","status":"publish","type":"post","link":"https:\/\/omvs.de\/wp\/archive\/122","title":{"rendered":"Resize Log-Directory in Linux"},"content":{"rendered":"\n<p>Today i will show how do you resize the log-directory in a linux-system.<\/p>\n\n\n\n<p>First check the actual size with this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">df -h<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/omvs.de\/bl-content\/uploads\/pages\/dbb53786c9324a814be253ba5a71cb8c\/Bildschirmfotovom2023-01-2711-18-39.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>In this picture we can see \/var\/log is 100% full.<\/p>\n\n\n\n<p>Edit as root your \/etc\/fstab &#8211; file. I changed the size in my case to 200M.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/omvs.de\/bl-content\/uploads\/pages\/dbb53786c9324a814be253ba5a71cb8c\/Bildschirmfotovom2023-01-2711-22-28.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now we have 200M available.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/omvs.de\/bl-content\/uploads\/pages\/dbb53786c9324a814be253ba5a71cb8c\/Bildschirmfotovom2023-01-2711-28-16.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now it runs smoother .. we will see \ud83d\ude09<\/p>\n\n\n\n<p>Have fun and a nice day \ud83d\ude42<\/p>\n\n\n\n<p>Tom<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today i will show how do you resize the log-directory<\/p>\n","protected":false},"author":1,"featured_media":123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[11,13,69,12],"class_list":["post-122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-bash","tag-linux","tag-log","tag-shell"],"_links":{"self":[{"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":2,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/posts\/122\/revisions\/156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/media\/123"}],"wp:attachment":[{"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omvs.de\/wp\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}