{"id":9,"date":"2016-01-29T09:52:44","date_gmt":"2016-01-29T14:52:44","guid":{"rendered":"http:\/\/www.dougcarter.co\/?p=9"},"modified":"2021-02-07T10:48:18","modified_gmt":"2021-02-07T15:48:18","slug":"lvm-resize","status":"publish","type":"post","link":"https:\/\/www.dougcarter.xyz\/lvm-resize\/","title":{"rendered":"LVM Resize"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15 alignright\" src=\"\/\/www.dougcarter.co\/wp-content\/uploads\/2016\/01\/Hard_disk_head_crash-300x200.jpg\" alt=\"Hard_disk_head_crash\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.dougcarter.xyz\/wp-content\/uploads\/2016\/01\/Hard_disk_head_crash-300x200.jpg 300w, https:\/\/www.dougcarter.xyz\/wp-content\/uploads\/2016\/01\/Hard_disk_head_crash.jpg 400w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>The \/tmp volume on my desktop Linux system is too small, causing system updates to fail. The steps to enlarge the underlying LVM volume and file system to 1GB are:<\/p>\n<blockquote><p># lvextend -L1G \/dev\/vg\/tmp<br \/>\n# resize2fs \/dev\/vg\/tmp<\/p><\/blockquote>\n<p>I could also have used:<\/p>\n<blockquote><p># lvextend -L+1G \/dev\/vg\/tmp<\/p><\/blockquote>\n<p>followed by resize2fs to add 1GB to the volume.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The \/tmp volume on my desktop Linux system is too small, causing system updates to fail. The steps to enlarge the underlying LVM volume and file system to 1GB are: # lvextend -L1G \/dev\/vg\/tmp # resize2fs \/dev\/vg\/tmp I could also have used: # lvextend -L+1G \/dev\/vg\/tmp followed by resize2fs to add 1GB to the volume.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,4,3],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-quick-tips","tag-linux","tag-logical-volume-manager","tag-lvm"],"_links":{"self":[{"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":7,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/posts\/9\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dougcarter.xyz\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}