{"id":5638,"date":"2024-10-22T15:10:18","date_gmt":"2024-10-22T09:40:18","guid":{"rendered":"https:\/\/www.veeble.org\/kb\/?p=5638"},"modified":"2025-03-11T10:25:09","modified_gmt":"2025-03-11T04:55:09","slug":"how-to-extend-a-logical-volume-in-linux","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/how-to-extend-a-logical-volume-in-linux\/","title":{"rendered":"How to Extend a Logical Volume in Linux"},"content":{"rendered":"\n<p>Haven&#8217;t you ever faced the frustrating issue of low disk space on your VPS??? Running out of space, especially on critical partitions like the root (<code>\/<\/code>), can lead to unexpected downtime and performance issues. Are you feeling tense about how to increase the space of a specific partition without disrupting your server\u2019s operations?<\/p>\n\n\n\n<p>Worry not! In this guide, we&#8217;ll walk you through the steps to extend a logical volume using LVM, helping you efficiently allocate more space to a partition, such as the root, and resolve disk space problems quickly. By the end of this tutorial, you\u2019ll know exactly how to extend a logical volume without causing any interruption to your system.<\/p>\n\n\n\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-00c1726b      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#prerequisites\" class=\"uagb-toc-link__trigger\">Prerequisites<\/a><li class=\"uagb-toc__list\"><a href=\"#handling-low-disk-space-on-vps\" class=\"uagb-toc-link__trigger\">Handling Low Disk Space on VPS<\/a><li class=\"uagb-toc__list\"><a href=\"#extend-a-logical-volume\" class=\"uagb-toc-link__trigger\">Extend a Logical Volume<\/a><li class=\"uagb-toc__list\"><a href=\"#steps-to-extend-a-logical-volume\" class=\"uagb-toc-link__trigger\">Steps to Extend a Logical Volume<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#1-check-disk-usage-and-identify-the-full-partition\" class=\"uagb-toc-link__trigger\">1. Check Disk Usage and Identify the Full Partition<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#2-check-existing-logical-volumes\" class=\"uagb-toc-link__trigger\">2. Check Existing Logical Volumes<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#3-partition-the-new-disk\" class=\"uagb-toc-link__trigger\">3. Partition the New Disk<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#4-create-a-physical-volume\" class=\"uagb-toc-link__trigger\">4. Create a Physical Volume<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#5-extend-the-volume-group\" class=\"uagb-toc-link__trigger\">5. Extend the Volume Group<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#6-extend-the-logical-volume\" class=\"uagb-toc-link__trigger\">6. Extend the Logical Volume<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#7-resize-the-filesystem\" class=\"uagb-toc-link__trigger\">7. Resize the Filesystem<\/a><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#8-verify-the-extension\" class=\"uagb-toc-link__trigger\">8. Verify the Extension<\/a><\/li><\/ul><\/li><li class=\"uagb-toc__list\"><a href=\"#conclusion\" class=\"uagb-toc-link__trigger\">Conclusion<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#blazing-fast-hosting\" class=\"uagb-toc-link__trigger\">Blazing Fast Hosting<\/a><\/ul><\/ul><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p><\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"prerequisites\"><strong>Prerequisites<\/strong><\/h2>\n\n\n<ul class=\"wp-block-list\">\n<li>You need administrative (root) access to the server.<\/li>\n\n\n\n<li>Ensure you have unpartitioned space or an additional disk to extend the logical volume.<\/li>\n\n\n\n<li>It is better to take a full backup of your system before proceeding with disk modifications to prevent if any data loss.<\/li>\n<\/ul>\n\n\n<h2 class=\"wp-block-heading\" id=\"handling-low-disk-space-on-vps\"><strong>Handling Low Disk Space on VPS<\/strong><\/h2>\n\n\n<p>If you are running low on disk space, you may need to purchase additional storage from your VPS provider. In most cases, this additional space will be added as an unpartitioned disk. You can then partition this space according to your requirements. If the low disk space issue concerns an already partitioned volume, you can extend that particular partition to meet your storage needs by following the steps below.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"extend-a-logical-volume\"><strong>Extend a Logical Volume<\/strong><\/h2>\n\n\n<p>It is not difficult to extend a logical volume, but before that, we need to familiarize ourselves with some key terminologies involved in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Logical_volume_management\" target=\"_blank\" rel=\"noopener\">LVM <\/a>(Logical Volume Management).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Untitled-Diagram-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"381\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Untitled-Diagram-1.png\" alt=\"\" class=\"wp-image-5647\" style=\"width:302px;height:auto\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Untitled-Diagram-1.png 412w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Untitled-Diagram-1-300x277.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><\/figure>\n\n\n\n<p>Here, you can see some physical volume on the left side of the diagram. This are the partition on your physical storage that is available for LVM. The volume group (VG) in the middle portion is the collection\/group of physical volumes. The LV on the right side are Logical Volume. This LV is a \u201cpiece\u201d of volume group that you can use as a partition for your operating system.&nbsp;<\/p>\n\n\n\n<p>There are 5 different step to extend a logical volume.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new partition.<\/li>\n\n\n\n<li>Add the partition you just created as a Physical Volume.<\/li>\n\n\n\n<li>Add this Physical Volume to Volume Group<\/li>\n\n\n\n<li>Extend the Logical Volume. ie: Assign space to Logical Volume from Volume Group.<\/li>\n\n\n\n<li>Finally, resize the extended Logical Volume.<\/li>\n<\/ol>\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-to-extend-a-logical-volume\"><strong>Steps to Extend a Logical Volume<\/strong><\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"1-check-disk-usage-and-identify-the-full-partition\">1. <strong>Check Disk Usage and Identify the Full Partition<\/strong><\/h3>\n\n\n<p>Start by checking the disk usage and identifying which partition is full. In our case, the root partition (<code>\/<\/code>) was 100% utilized:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-20-171804.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"271\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-20-171804.png\" alt=\"\" class=\"wp-image-5639\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-20-171804.png 844w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-20-171804-300x96.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-20-171804-768x247.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/a><\/figure>\n\n\n\n<p>This will display the disk space usage. Look for the partition with 100% usage. In our case, the root partition (<code>\/<\/code>) was 100% utilized:<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"2-check-existing-logical-volumes\">2. <strong>Check Existing Logical Volumes<\/strong><\/h3>\n\n\n<p>To get a summary of the existing logical volumes (LV) and their sizes, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-scaled.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"240\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-1024x240.jpg\" alt=\"\" class=\"wp-image-5641\" style=\"width:780px;height:auto\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-1024x240.jpg 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-300x70.jpg 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-768x180.jpg 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-1536x361.jpg 1536w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.31.39_88ef7492-2048x481.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>This command will list all block devices. Here, <code>\/dev\/sda<\/code> is the primary disk, and <code>\/dev\/sdb<\/code> is the unpartitioned secondary disk we wanted to use.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"3-partition-the-new-disk\">3. <strong>Partition the New Disk<\/strong><\/h3>\n\n\n<p>If the disk you want to use for extending the logical volume is unpartitioned, you need to create a partition first. Using the <code>fdisk<\/code> utility, you can create a partition:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select <code>n<\/code> to create a new partition.<\/li>\n\n\n\n<li>Choose <code>p<\/code> for a primary partition.<\/li>\n\n\n\n<li>Press <code>Enter<\/code> to accept default values for the first sector.<\/li>\n\n\n\n<li>For the last sector, enter the size, for example, <code>+500G<\/code> for 500 GB.<\/li>\n\n\n\n<li>Press <code>w<\/code> to write the partition table and exit.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-scaled.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-1024x585.jpg\" alt=\"\" class=\"wp-image-5642\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-1024x585.jpg 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-300x171.jpg 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-768x439.jpg 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-1536x878.jpg 1536w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/WhatsApp-Image-2024-10-22-at-11.39.17_1eabc390-2048x1171.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n<h3 class=\"wp-block-heading\" id=\"4-create-a-physical-volume\">4. <strong>Create a Physical Volume<\/strong><\/h3>\n\n\n<p>Once the partition is created (<code>\/dev\/sdb1<\/code>), you need to create a physical volume on this partition:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pvcreate \/dev\/sdb1<\/code><\/pre>\n\n\n\n<p>This initializes the partition as a physical volume (PV) that can be used by LVM. To display the created Physical volume, run <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pvs<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111213.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"86\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111213.png\" alt=\"\" class=\"wp-image-5644\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111213.png 775w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111213-300x33.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111213-768x85.png 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/a><\/figure>\n\n\n<h3 class=\"wp-block-heading\" id=\"5-extend-the-volume-group\">5. <strong>Extend the Volume Group<\/strong><\/h3>\n\n\n<p>Next, extend the volume group (VG) that contains the logical volume you want to expand.  The volume group was named as <code>cl<\/code>. To extend it using the new partition <code>\/dev\/sdb1<\/code>, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vgextend cl \/dev\/sdb1<\/code><\/pre>\n\n\n\n<p>This adds the new physical volume to the existing volume group.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"6-extend-the-logical-volume\">6. <strong>Extend the Logical Volume<\/strong><\/h3>\n\n\n<p>Now that the volume group has more space, extend the logical volume<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lvextend -L+500G \/dev\/mapper\/cl-root<\/code><\/pre>\n\n\n\n<p>This will add 500 GB to the logical volume.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"7-resize-the-filesystem\">7. <strong>Resize the Filesystem<\/strong><\/h3>\n\n\n<p>For the changes to take effect, you need to resize the filesystem. The method depends on the filesystem type. In our case, the filesystem was <a href=\"https:\/\/www.oracle.com\/linux\/technologies\/xfs-overview.html#:~:text=XFS%20is%20a%20full%2064,fast%20search%20and%20space%20allocations\" target=\"_blank\" rel=\"noopener\">XFS<\/a>, so we used:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>xfs_growfs \/<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111149.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"245\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111149.png\" alt=\"\" class=\"wp-image-5643\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111149.png 972w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111149-300x76.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-111149-768x194.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/figure>\n\n\n\n<p>For other filesystems like ext4, you would use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">resize2fs \/dev\/mapper\/cl-root<\/pre>\n\n\n<h3 class=\"wp-block-heading\" id=\"8-verify-the-extension\">8. <strong>Verify the Extension<\/strong><\/h3>\n\n\n<p>To confirm that the logical volume and filesystem have been extended, run the following command again to check the updated disk usage:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-112726.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"290\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-112726.png\" alt=\"\" class=\"wp-image-5645\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-112726.png 812w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-112726-300x107.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-21-112726-768x274.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/a><\/figure>\n\n\n\n<p>Root partition now has more available space as above.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n<p>Extending a logical volume is a critical task for maintaining optimal performance and ensuring your server has sufficient disk space for ongoing operations. By following the steps outlined in this article, you can seamlessly add more space to your logical volume, preventing issues like partition overflow.<\/p>\n\n\n\n<p>If you continue to experience disk space issues or need further assistance, always consider cleaning up old files and monitoring your server&#8217;s disk usage regularly. Extending the logical volume is a one-time solution, but routine maintenance is essential for smooth server operations.<\/p>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-ada09de1 wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Blazing Fast Hosting<\/h3><p class=\"uagb-cta__desc\">Experience lightning-fast speeds and rock-solid reliability with our cPanel hosting. Get your website online today!<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/cpanel-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">Get Started Now<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-ast-global-color-8-color has-text-color has-link-color wp-elements-f1ccfa660b17e669f6068cafb32dc4c4\"><strong>Also Read:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-veeble-hosting wp-block-embed-veeble-hosting\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.veeble.org\/kb\/how-to-partition-c-drive-in-windows-without-formatting\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-veeble-hosting wp-block-embed-veeble-hosting\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.veeble.org\/kb\/how-to-merge-partitions-in-windows-without-data-loss\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Haven&#8217;t you ever faced the frustrating issue of low disk space on your VPS??? Running out of space, especially on critical partitions like the [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":7988,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-5638","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux.jpg",1366,768,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux-768x432.jpg",768,432,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux.jpg",1366,768,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/10\/How-to-Extend-a-Logical-Volume-in-Linux.jpg",1366,768,false]},"uagb_author_info":{"display_name":"Nayana Nair","author_link":"https:\/\/www.veeble.com\/kb\/author\/nayana\/"},"uagb_comment_info":0,"uagb_excerpt":"Haven&#8217;t you ever faced the frustrating issue of low disk space on your VPS??? Running out of space, especially on critical partitions like the [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/5638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=5638"}],"version-history":[{"count":5,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/5638\/revisions"}],"predecessor-version":[{"id":7411,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/5638\/revisions\/7411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/7988"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=5638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=5638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=5638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}