Hi Christian,
The following procedure should provide the solution:
1. set the storage domain to maintenance (via webadmin UI, for example)
2. copy/sync the contents of the storage domain including the metadata, to ensure that
data in both locations (the old and the new mount points) is the same.
3. run modification query on ovirt engine database (please replace the values
'yournewmountpoint' and 'therelevantconnectionid' with the correct ones:
UPDATE storage_server_connections
SET connection='yournewmountpoint'
WHERE id='therelevantconnectionid';
4. There is a bug related to storage domain caching in VDSM (host) , so it needs to be
workarounded by restarting vdsm (service name is 'vdsmd')
5. activate storage domain (via webadmin UI, for example).
Please also note that starting version 3.3 there's a new possibility allowing to edit
the mount point via webadmin UI and REST api:
http://www.ovirt.org/Features/Manage_Storage_Connections
----- Original Message -----
From: "Christian Kolquist"
<ckolquist(a)rgmadvisors.com>
To: users(a)ovirt.org
Sent: Saturday, August 24, 2013 12:56:14 AM
Subject: [Users] Changing the ovirt Master storage domain mount point
I need to change the storage domain mount point due to some changes in our
infrastructure. I have found the area's I believe will be required:
DB: engine; table: storage_server_connections; change the connection path
field
on the NFS mount point: change the path data in <UUID>/dom_md/metadata
Is there anywhere else I will need to change this? I know that this is not a
supported change but it's either that or we export every VM we have running
which would take about a week to complete or we rename the mount and change
the path. Is there another option?
Current running version: 3.1.0-2.fc17
Thanks
Christian Kolquist
---------------------------------------------------------------
This email, along with any attachments, is confidential. If you
believe you received this message in error, please contact the
sender immediately and delete all copies of the message.
Thank you.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users