New Question

Storage migration options for Cinder SMB driver

asked 2020-01-22 22:17:11 +0200

timco64 gravatar image

I have two cinder backends using the smb driver. I'd like to move volumes from one to the other. What is the best way of accomplishing this? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-01-27 14:29:20 +0200

lpetrut gravatar image

One option would be to use the "manage volume" feature. You'd request Cinder to "unmanage" it, manually move it and then request it to manage it back using the updated location.

You can ask Cinder to manage a volume by using the following (this is just a sample, replace those values accordingly):

cinder manage --id-type source-name hostName@backendName#optionalPoolName //share_host/share_name/file_name.vhdx

You can also get a list of volumes that can be imported by using "cinder manageable-list".

For what is worth, the Cinder volume migration feature doesn't work with the SMB driver since we're using vhd/x images while Cinder expects raw images or block devices. We did consider using qemu-nbd on Linux and allow migrating to/from most backend types but there were some security concerns from the Cinder community.


Lucian Petrut

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2020-01-22 22:17:11 +0200

Seen: 133 times

Last updated: Jan 27 '20