← Back to team overview

graphite-dev team mailing list archive

[Question #249481]: How to move storage directory?

 

New question #249481 on Graphite:
https://answers.launchpad.net/graphite/+question/249481

Hi.

I'm fairly new to Graphite, and love it so far. :)  I am trying to move the default storage directory from:

/opt/graphite/storage

to:

/usr/local/ebs01/ssd/graphite

I have updated both local_settings.py as such:

STORAGE_DIR = '/usr/local/ebs01/ssd/graphite'

and carbon.conf as such:

GRAPHITE_STORAGE_DIR = /usr/local/ebs01/ssd/graphite

I have cycled both the httpd service, and restarted carbon with:  carbon_cache.py stop/start.

However, I'm not getting any new metrics under the new structure.  Was wondering what I had missed?

Do I need to create all the sub directories that are under the default location myself, or are those autocreated?

root@ip-10-0-0-38[676]:/opt/graphite/storage> ls -l
total 1704
-rw-r--r-- 1 root   root   749201 May 29 15:06 access.log
-rw-r--r-- 1 root   root        3 May 29 15:46 carbon-cache-a.pid
-rw-r--r-- 1 root   root   633443 May 29 15:26 error.log
-rw-r--r-- 1 apache apache  69632 May 28 03:23 graphite.db
-rw-r--r-- 1 apache apache 257435 May 29 15:26 index
drwxr-xr-x 2 apache apache   4096 May 14 20:05 lists
drwxr-xr-x 4 apache apache   4096 May 14 20:05 log
drwxr-xr-x 2 apache apache   4096 May 14 20:04 rrd
drwxr-xr-x 6 apache apache   4096 May 27 22:25 whisper

Thank you for your time.
Chris


-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.