{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreifzzwdunynlmllinmbedzan56fgespkpktypay7z5ncvqaztjedyu",
    "uri": "at://did:plc:jfwxfgx3olblmdv66ysmcfde/app.bsky.feed.post/3mgfvi5r7wjy2"
  },
  "path": "/Linux/2026/03/06/Extending-a-LVM-partition.html",
  "publishedAt": "2026-03-06T12:17:13.000Z",
  "site": "https://blog.x-way.org",
  "tags": [
    "Linux"
  ],
  "textContent": "Recently I needed to extend/increase a LVM partition to give it more space:\n\n  1. Create a partition on the additional disk: `cfdisk /dev/sdb`\n  2. Create a physical volume on the partition: `pvcreate /dev/sdb1`\n  3. Add the physical volume to the existing volume group: `vgextend vg-foo /dev/sdb1`\n  4. Extend the logical volume to use 100% of the new free space in the volume group (and directly resize the filesystem accordingly): `lvextend -r -l +100%FREE /dev/vg-foo/lv-bar`\n\n\n\n* * *\n\nThanks for reading this post via RSS. You're awesome ♥️",
  "title": "Extending a LVM partition"
}