Ask Your Question
0

Deleting cinder volume files in /

asked 2019-07-05 09:50:56 -0500

zipzipzip gravatar image

Hi all.

First time poster here.

I have an old Icehouse installation, version 2014.1.5 from Jun 19, 2015.

I have the following large files in my / directory:

-rw-r--r--   1 root     root     100G Apr 24  2017 cinder-volumes
-rw-r--r--   1 root     root     250G Apr 24  2017 cinder-volumes-2
-rw-r--r--   1 root     root     250G Apr 24  2017 cinder-volumes-3

Is there any way for me to check if these are used and if so what for?

I'm wanting to see if I need to back these up or delete them.

Thanks :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2019-07-05 10:23:54 -0500

Is this an all-in-one cloud? If not, is this server a controller, compute node, storage node, network node, something else?

The timestamps on those files are over two years old, so I strongly doubt that they are in use now. Still, here are a few things you can do:

Use the losetup command to check if these files are used as storage devices:

losetup -a

Also check LVM configuration using the pvs command. You can also use the lsof command to find out if these files are currently open:

lsof /cinder-volumes-3

If they are not open, rename them to see if this causes any problems in the next 24 hours or so.

You may also want to look at your Cinder configuration. In /etc/cinder/cinder.conf (this is the usual location of the configuration file, but it can be somewhere else), look for the enabled_backends parameter. Its value should be a list of strings, each string referring to a separate Cinder backend. In the same configuration file, each backend has a section with headers like [backend-name]. Backend sections will tell you where Cinder stores volumes.

edit flag offensive delete link more

Comments

Thanks Bernd :) It's a physical dedicated server with VMs running on it.

losetup -a returned /dev/loop2: [0902]:13 (/cinder-volumes)

Nothing returned when running lsof on all 3 volume files.

Good idea I shall try renaming them now :)

Looking in cinder.conf there is no enabled_backends

zipzipzip gravatar imagezipzipzip ( 2019-07-07 09:17:55 -0500 )edit

All looking good! Moving them had no affect so have deleted them and regained the disk space. Thanks Bernd!

zipzipzip gravatar imagezipzipzip ( 2019-07-08 09:28:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-07-05 09:50:56 -0500

Seen: 54 times

Last updated: Jul 05