# Advance Service Configuration

This page describes the steps to configure advance options for <code class="expression">space.vars.product\_name</code> block storage service and steps to debug issues with the block storage service.

## Block Storage Service Components

The <code class="expression">space.vars.product\_name</code> block storage service has it's components deployed in the <code class="expression">space.vars.product\_name</code> management plane as well as on each host that has persistent storage role assigned.

On each host with persistent storage role assigned, <code class="expression">space.vars.product\_name</code> runs an instance of a service called `pf9-cindervolume-base`

## Enable Advance Configuration

### Pre-requisites

* Root privileges on the host with persistent storage role assigned.
* Make sure that no other users are currently using the block storage service as this operation will require a block storage service restart.

### Step 1 - Identify Block Storage Configuration File

* Identify the block storage configuration file located on the host with persistent storage role assigned, where you are looking to enable advance configuration options.
* The file is typically located at the following path on the host:

```bash
/opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_override.conf
```

* open the file in a text editor to edit it

```bash
sudo vi /opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_override.conf
```

### Step 2 - Make Required Changes

* Make the desired changes to this file based on what configuration option you wish to edit. Follow [#options-you-can-configure](#options-you-can-configure "mention") to identify the specific configuration you wish to tweak.

### Step 3 - Restart Block Storage Service

* Once you've made the required changes to the config file, **save the file** and exit the text editor
* Now you will need to restart the block storage service in order for the changes to take effect. Follow these steps to restart the service:

```bash
sudo service pf9-cindervolume-base restart
```

## Options You Can Configure

### Enable Debug Logging

Refer to [#log-files](#log-files "mention") for the location of block storage service log files. To enable debug logging for the block storage service, edit the following property in the configuration file.

```bash
[DEFAULT]
debug = true  # Enable debug logging 
```
