[DRBD-user] changing resource names

Roland Kammerer roland.kammerer at linbit.com
Wed Apr 24 09:44:10 CEST 2019

On Tue, Apr 23, 2019 at 10:22:16PM +1000, David wrote:
> Sorry if this is a newbie question.
> I have a number of resources (VM's) on a two node system for which the
> resource names are now misleading and I would like to change them. Is it
> possible?
> Do I just change the .res files or some other config? Do I have to shutdown
> all VM's and change both node configs at the same time?
> I can't find any documentation how to (safely) do it.
> Could anybody point me to it?

You created these manually, right? No plugins/drbdmanage/LINSTOR involved?

If so, sure, you can do that. "down" it on one side, rename it in the
res file, and "up" it again. Check how you used the DRBD block device.
Via the minor? Good. Via the udev generated symlink? You need to adapt
your setup.

And again, this is all for a manual setup. All plugins I can imagine/we
provide would be horribly confused if somebody changes the name
underneath them.

Regards, rck

More information about the drbd-user mailing list