Testbed had a vsan datastore named - vsanDatastore
vsandatastore
. Even though we do not have any volume named vsandatastore
, volume creation succeeded.So step 3 can be confusing to the user as even though the setup does not have a volume named vsandatastore, volumes creation succeeds.
So user is passing datastore name as vsandatastore whereas volume is getting created on vsanDatastore.
Logs have been attached at the end.
Detailed steps and their output are as follows:
root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere --name testX1@vsanDatastore
testX1@vsanDatastore
root@sc-rdops-vm02-dhcp-52-237:~#
root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER VOLUME NAME
vsphere:latest testX1@vsanDatastore
root@sc-rdops-vm02-dhcp-52-237:~#
[root@sc2-rdops-vm03-dhcp-106-33:~] esxcli storage guestvol volume ls
Volume Datastore VMGroup Capacity Used Filesystem Policy Disk Format Attached-to Access Attach-as Created By Created Date
------ ------------- -------- -------- ---- ---------- -------------- ----------- ----------- ---------- ---------------------- ------------ ------------------------
testX1 vsanDatastore _DEFAULT 100MB 80MB ext4 [VSAN default] thin detached read-write independent_persistent ubuntu-VM0.2 Fri Sep 29 19:03:55 2017
[root@sc2-rdops-vm03-dhcp-106-33:~]
vsandatastore
.root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere --name testX2@vsandatastore
testX2@vsandatastore
root@sc-rdops-vm02-dhcp-52-237:~#
root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER VOLUME NAME
vsphere:latest testX1@vsanDatastore
vsphere:latest testX2@vsanDatastore <<<<<<<<<<
root@sc-rdops-vm02-dhcp-52-237:~#
[root@sc2-rdops-vm03-dhcp-106-33:~] esxcli storage guestvol volume ls
Volume Datastore VMGroup Capacity Used Filesystem Policy Disk Format Attached-to Access Attach-as Created By Created Date
------ ------------- -------- -------- ---- ---------- -------------- ----------- ----------- ---------- ---------------------- ------------ ------------------------
testX1 vsanDatastore _DEFAULT 100MB 80MB ext4 [VSAN default] thin detached read-write independent_persistent ubuntu-VM0.2 Fri Sep 29 19:03:55 2017
testX2 vsanDatastore _DEFAULT 100MB 80MB ext4 [VSAN default] thin detached read-write independent_persistent ubuntu-VM0.2 Fri Sep 29 19:04:22 2017
[root@sc2-rdops-vm03-dhcp-106-33:~]
Logs:
docker-volume-vsphere.txt
vmdk_ops.txt
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4