# Error Initializing Docker: "graphdriver: expected integer"

## Problem

Docker fails to start with the following error message.

{% tabs %}
{% tab title="None" %}

```none
Error starting daemon: error initializing graphdriver: expected integer
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed Kubernetes - All Versions
* Docker
* CentOS
* LVM

## Cause

The node may have been re-used from a previous Kubernetes cluster for which the Docker volume group (LVM) was not recreated.

## Resolution

**Warning**: The following will erase any data associated with the logical volume(s) contained within the volume group. If you are uncertain about this operation, it may be recommended to perform a backup following the guide provided under the [Additional Information](#h_1ca04858-7406-4d82-aa90-e5459c8ae92a) section.

1. Remove any logical volumes associated with the volume group.

{% tabs %}
{% tab title="None" %}

```none
# lvremove [vg-name]/[lv-name]
```

{% endtab %}
{% endtabs %}

2. Remove the volume group.

{% tabs %}
{% tab title="None" %}

```none
# vgremove [vg-name]
```

{% endtab %}
{% endtabs %}

3. Re-create the volume group following the instructions outlined in the [Platform9 Managed Kubernetes CentOS prerequisites](https://docs.platform9.com/support/preparing-centos-7-system-running-containers/).

## Additional Information

[LVM: Taking a Backup Using Snapshots](http://tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform9.com/kb/pmk/solutions/error-initializing-docker-graphdriver-expected-integer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
