{"id":254,"date":"2023-08-10T14:46:04","date_gmt":"2023-08-10T10:46:04","guid":{"rendered":"http:\/\/keksus.com\/?p=254"},"modified":"2025-01-11T18:20:34","modified_gmt":"2025-01-11T14:20:34","slug":"increase-lvm-size-debian","status":"publish","type":"post","link":"https:\/\/hostatto.com\/blog\/increase-lvm-size-debian.html","title":{"rendered":"Increase lvm size in Debian"},"content":{"rendered":"<p>Let's see how much free space we have<\/p>\n<blockquote><p>pvs<\/p><\/blockquote>\n<table>\n<thead>\n<tr>\n<th>PV<\/th>\n<th>VG<\/th>\n<th>FMT<\/th>\n<th>Attr<\/th>\n<th>PSize<\/th>\n<th>PFree<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\/dev\/sda1<\/td>\n<td>v1<\/td>\n<td>lvm2<\/td>\n<td>a - -<\/td>\n<td>60.43<\/td>\n<td>15.84<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Then choose the right LV Path volume<\/p>\n<blockquote><p>lvscan<\/p><\/blockquote>\n<p>I will increase the size of the root volume<\/p>\n<blockquote><p>\/dev\/v1\/root<\/p><\/blockquote>\n<p>Increase the size by 2 Gigabytes<\/p>\n<blockquote><p>lvextend -L+2G <span>\/dev\/v1\/root<\/span><\/p><\/blockquote>\n<p>\u0421heck the file system for errors<\/p>\n<blockquote><p>e2fsck -f \/dev\/v1\/root<\/p><\/blockquote>\n<p>Resize the filesystem<\/p>\n<blockquote><p>resize2fs \/dev\/v1\/root<\/p><\/blockquote>\n<p>Check the new LVM size<\/p>\n<blockquote><p>lvs<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>...<\/p>\n","protected":false},"author":1,"featured_media":506,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[21,46,45,42],"class_list":["post-254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-debian","tag-increase-lvm","tag-linux","tag-lvm"],"_links":{"self":[{"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":0,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/media\/506"}],"wp:attachment":[{"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostatto.com\/blog\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}