We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1912469 + 7b302df commit bc4090bCopy full SHA for bc4090b
1 file changed
conf/db/upgrade/V5.5.12__schema.sql
@@ -44,3 +44,7 @@ CREATE TABLE IF NOT EXISTS `zstack`.`ExternalServiceConfigurationVO` (
44
`createDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
45
PRIMARY KEY (`uuid`)
46
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
47
+
48
+UPDATE VolumeSnapshotVO AS sp, PrimaryStorageVO AS ps
49
+SET sp.primaryStorageInstallPath = REPLACE(sp.primaryStorageInstallPath, '/dev/', 'sharedblock://')
50
+WHERE sp.primaryStorageUuid = ps.uuid AND ps.type = 'SharedBlock' AND sp.volumeType = 'Memory' AND sp.primaryStorageInstallPath LIKE '/dev/%';
0 commit comments