You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Fixing this for how the attached to VM is shown. Its possible that the VM that created a volume doesn't exist any longer but the current attached to VM is perhaps more interesting to a user - especially if a volume is unusable for some reason and showing up as attached, then at least its good to show the current name of the VM thats attached the volume. the VM that created the volume may not be as interesting. Possibly a "last attached" VM name would also help. Disk goes corrupt (app is unable to use the disk) at the least we can figure which VM used it last. Not this issue may be.
Steps:
root@photon-I1RJXlgPS [ ~ ]# docker volume inspect MyVolume
[
{
"Name": "MyVolume",
"Driver": "vmdk",
"Mountpoint": "/mnt/vmdk/MyVolume",
"Status": {
"access": "read-write",
"attach-as": "independent_persistent",
"attached to VM": "photon-2",
"capacity": {
"allocated": "54MB",
"size": "1GB"
},
"created": "Wed Oct 26 23:26:21 2016",
"created by VM": "photon-1",
"datastore": "datastore1",
"diskformat": "thin",
"fstype": "ext4",
"status": "attached"
},
"Labels": {},
"Scope": "global"
}
]
root@photon-I1RJXlgPS [ ~ ]# docker volume inspect MyVolume
[
{
"Name": "MyVolume",
"Driver": "vmdk",
"Mountpoint": "/mnt/vmdk/MyVolume",
"Status": {
"access": "read-write",
"attach-as": "independent_persistent",
"attached to VM": "photon-2",
"capacity": {
"allocated": "54MB",
"size": "1GB"
},
"created": "Wed Oct 26 23:26:21 2016",
"created by VM": "photon-1",
"datastore": "datastore1",
"diskformat": "thin",
"fstype": "ext4",
"status": "attached"
},
"Labels": {},
"Scope": "global"
}
]
The text was updated successfully, but these errors were encountered: