This post is more than 5 years old
54 Posts
0
1033
Do we have a way to rename meta-volume?
Hi All,
My moved my vplex meta-volume to one of the metadata backup, and then I destroy the original meta-volume, after I created one new meta-volume backup, found that the meta volume name length than 39 characters, we will be not able to activate the meta volume with the new backup, do we have a way to rename it?
Thanks in advance!
Feng
garyo
89 Posts
0
March 12th, 2015 20:00
Hi Feng,
This should be easily done using the "set" command. Example:
VPlexcli:/clusters/cluster-1/system-volumes> ls
federation-meta-volume
VPlexcli:/clusters/cluster-1/system-volumes> cd federation-meta-volume/
VPlexcli:/clusters/cluster-1/system-volumes/federation-meta-volume> ls
Attributes:
Name Value
---------------------- ----------------------
active true
application-consistent false
block-count 20970944
block-size 4K
capacity 80G
component-count 2
free-slots 31916
geometry raid-1
health-indications []
health-state ok
locality local
operational-status ok
ready true
rebuild-allowed true
rebuild-eta -
rebuild-progress -
rebuild-status done
rebuild-type full
slots 32000
stripe-depth -
system-id federation-meta-volume
transfer-size 2M
volume-type meta-volume
Contexts:
components
VPlexcli:/clusters/cluster-1/system-volumes/federation-meta-volume> set
attribute input-description
---------------------- ------------------------------------------------------------------------------------------------------------
active Read-only.
application-consistent Takes one of '0', '1', 'f', 'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes' (not case sensitive).
block-count Read-only.
block-size Read-only.
capacity Read-only.
component-count Read-only.
expandable-capacity Read-only.
free-slots Read-only.
geometry Read-only.
health-indications Read-only.
health-state Read-only.
locality Read-only.
name Takes a unique, non-empty and non-null name. A valid name starts with a letter or '_' and contains only
letters, numbers, '-' and '_'.
operational-status Read-only.
ready Read-only.
rebuild-allowed Takes one of '0', '1', 'f', 'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes' (not case sensitive).
rebuild-eta Read-only.
rebuild-progress Read-only.
rebuild-status Read-only.
rebuild-type Read-only.
slots Read-only.
stripe-depth Read-only.
system-id Read-only.
transfer-size Takes a quantity larger than or equal to 40K of the form [unit of capacity].
volume-type Read-only.
VPlexcli:/clusters/cluster-1/system-volumes/federation-meta-volume> set name my-meta-volume
VPlexcli:/clusters/cluster-1/system-volumes/my-meta-volume> cd ..
VPlexcli:/clusters/cluster-1/system-volumes> ls
my-meta-volume
fengli1
54 Posts
0
March 13th, 2015 01:00
Thanks a lot for your answer, it's helpful for me to update my meta volume configuration.