Skip to content

Instantly share code, notes, and snippets.

@ancorgs
Created April 30, 2025 08:39
Show Gist options
  • Save ancorgs/c474fda50eddbf2e63d02be0bba1095a to your computer and use it in GitHub Desktop.
Save ancorgs/c474fda50eddbf2e63d02be0bba1095a to your computer and use it in GitHub Desktop.

This is the definition of a thin pool:

{
  "logicalVolumes": [
    {
      "size": "40 GiB"
      "name": "hanalv",
      "pool": true
    }
  ]
}

It's kind of expected that changing that attribute pool into false will turn it into a normal LV. Like this.

{
  "logicalVolumes": [
    {
      "size": "40 GiB"
      "name": "hanalv",
      "pool": false
    }
  ]
}

But that's actually invalid and the right way to do it is this:

{
  "logicalVolumes": [
    {
      "size": "40 GiB"
      "name": "hanalv"
    }
  ]
}

Because pool can only be true or omitted. Cannot be set to false.

I'm not saying is wrong, but I can see why we made the error of exporting "pool: false".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment