A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vmware/docker-volume-vsphere/issues/1835 below:

Admin CLI document needs some cosmetic changes. · Issue #1835 · vmware-archive/vsphere-storage-for-docker · GitHub

This repository was archived by the owner on Nov 9, 2020. It is now read-only.

This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Admin CLI document needs some cosmetic changes. #1835

Description

Document link: https://github.com/vmware/docker-volume-vsphere/blob/master/docs/user-guide/admin-cli.md

what is "unlimit" word referring to? is it Unset or "unlimited"?

When "--volume-totalsize" is set for "_ALL_DS", it means the total volume size on any datastore which has not been given access to explicitly cannot exceed the value specified by "--volume-totalsize". In the following example, "vmgroup1" has been given access to "datastore1" and "_ALL_DS". The "Total_size" for "datastore1" is "Unset", which means no limit. The "Total_size" for "_ALL_DS" is "1GB". So for "datastore1", there is no limit on the total volume size. However, for any datastore other than "datastore1", the total volume size on that datastore cannot exceed 1GB.

[root@localhost:~] esxcli storage guestvol vmgroup access add --name=vmgroup1 --datastore=_ALL_DS  --volume-maxsize=500MB --volume-totalsize=1GB --al
low-create
vmgroup access add succeeded
[root@localhost:~] esxcli storage guestvol vmgroup access ls --name=vmgroup1
Datastore      Allow_create  Max_volume_size  Total_size
-------------  ------------  ---------------  ----------
vsanDatastore  True          Unset            Unset
_ALL_DS        True          500.00MB         1.00GB
  1. update access rule for _ALL_DS using following command
esxcli storage guestvol vmgroup access set --name=_DEFAULT --allow-create=false --datastore=_ALL_DS
  1. invoke create volume command from docker host vm (should be part of _DEFAULT group)
  2. what is the expected behavior when _ALL_DS: --allow-create=false
[root@promc-2n-dhcp105-97:~] esxcli storage guestvol vmgroup access ls --name=_DEFAULT
Datastore  Allow_create  Max_volume_size  Total_size
---------  ------------  ---------------  ----------
_ALL_DS    False         Unset            Unset     
_VM_DS     True          Unset            Unset

volume creation should succeed from vm part of _DEFAULT vmgroup or not ... I am looking for the expected behavior here as our Admin_CLI.md is not clarifying properly.

/CC @ashahi1


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