DavidN26
Contributor
Contributor

VSAN Storage Device, Impossible to rename

Hello,

After upgrading Vcenter and ESX to version 7.0.3, it's impossible to rename Storage Device (Configure -> Storage Devices -> Select -> Rename)

Rename is grayed out, before upgrade we possibility to rename all storage device belong in a VSAN to catch more efficency slot and position of this disk.

All disks are nvme (Dell Express Flash)

It's there an option or parameter to activate storage device renaming ?

Thanks for your help

5 Replies
Tibmeister
Expert
Expert

No, the datastore names are fixed.  Can you explain this statement more, "before upgrade we possibility to rename all storage device belong in a VSAN to catch more efficency slot and position of this disk" as it doesn't make much sense.  You only can have a single vSAN datastore per cluster, unless you are doing the vSAN Mesh, so not sure what you are after here.

0 Kudos
DavidN26
Contributor
Contributor

Hello,

i'm talking about this command : UpdateScsiLunDisplayName

There is an example that we use to rename storage device, it work with esx 6.7 version :

$ESXViewDisks = $ESXView.config.StorageDevice.ScsiLun | Where-Object {$_.LunType -eq "disk" }
$StorageSystem = Get-View $ESXView.ConfigManager.StorageSystem
Foreach($Disk in $PSDisksNames)
{
  $uuid = ($ESXViewDisks | Where-Object {$_.uuid -eq $disk.uuid}).uuid 
  $StorageSystem.UpdateScsiLunDisplayName($uuid, $Disk.DisplayName) | Out-Null
}

We need to rename device for our script to create Diskgroup for VSAN

0 Kudos
Tibmeister
Expert
Expert

I guess I'm not following on this because why can't you just use the existing name?

0 Kudos
GeertCRW
Enthusiast
Enthusiast

Any luck in finding a workaround or answer on why it's no longer possible?

0 Kudos
HuangChao189
Contributor
Contributor

HuangChao189_0-1659452729519.png

same problem

0 Kudos