> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmk/how-to/move-platform9-logs-directory-to-a-different-filesystem-to-miti.md).

# Move Platform9 Logs Directory to a Different FileSystem to Mitigate Space Issues on PMK Nodes.

## Problem

Platform9 logs directory mounted on the root filesystem needs to be moved to a separate filesystem in order to avoid space issues on the root filesystem for PMK nodes.

## Environment

* Platform9 Managed Kubernetes - All Versions
* Logging

## Resolution

* Stop the services on the node in the following sequence.

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

```none
systemctl stop pf9-hostagent.service
systemctl stop pf9-nodeletd.service
systemctl stop pf9-muster.service
systemctl stop pf9-comms.service
systemctl stop pf9-sidekick.service
```

{% endtab %}
{% endtabs %}

* Verify once using `# systemctl list-units`
* Create a separate filesystem `/var/log/pf9`with enough space and Copy the old files to this filesystem. Make sure the new entry is added to `/etc/fstab`
* Now reboot the node so that *pf9-hostagent* will restart *pf9-nodelet* which in turn will start PMK stack (this might take some time) which will configure Docker and then start *pf9-kubelet*.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://platform9.com/kb/pmk/how-to/move-platform9-logs-directory-to-a-different-filesystem-to-miti.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
