# Changing data paths

Imaging data is often large and is stored on a separate NFS mount on the NiDB server. For example if data is stored on `/data1/nidb/data`, change the config variables by going to **Admin** → **NiDB Settings...** → **NiDB Settings**. Find the **Data Directories** section and edit the appropriate data directories. Click **Save Settings** when done.

## `dcmrcv` service

If you change the default `/nidb/data/dicomincoming` path, you must also edit the dcmrcv service. On RHEL compatible systems, perform the following as root

```bash
cd /etc/systemd/system
vim dcmrcv.service   ## edit this file to reflect the new dicomincoming path
systemctl daemon-reload
systemctl restart dcmrcv
systemctl status dcmrcv  ## check if the path was changed
```


---

# 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://docs.neuroinfodb.org/nidb/getting-started/installation/changing-data-paths.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.
