Prefix for volumes #14190
|
Is it possible to add a prefix to a volume name? e.g. -ROOT- or -DATA- |
Replies: 1 comment 1 reply
|
Hi summer-abacus, Short answer: No, there's no built-in config to add a custom prefix like Workarounds:
TL;DR — not possible out of the box; use Regards, Ryan | AccuWeb.Cloud |
Hi summer-abacus,
Short answer: No, there's no built-in config to add a custom prefix like
-ROOT-or-DATA-. Those prefixes are hardcoded by CloudStack (ROOT-<instance-id>,DATA-<instance-id>) and aren't user-configurable.Workarounds:
Rename after creation — Use the
updateVolumeAPI:Note: this only changes the CloudStack display name, not the underlying file on primary storage.
Custom ResourceNamingPolicy — CloudStack has a pluggable naming framework (since ~4.2), but it requires writing and deploying custom code. Not a simple setting.
Feature request — If you need this as a standard feature, opening a GitHub enhancement request for a c…