scubaaadan

updated

4 years ago

0

1508

September 26th, 2022 22:00

Ansible - create dellemc.powerstore.filesystem with config type VMware

When I use dellemc.powerstore.filesystem to create a filesystem, then look at it in the GUI, it lists the filesystem as Config Type "General".

When I create a file system via the GUI, I have options for General or VMware File System.

 

Q1: What does the VMware File System option do differently than the General option?

Q2: How do I create a filesystem with the VMware File System option via the Ansible modules?

 

(Ansible Modules for Dell Technologies PowerStore v1.7.0 )

  • jennifer_john

    1 Rookie

    79 Posts

    1345

    0

    Posted September 28th, 2022 03:00

    Hi @scubaaadan 

    The VMware File System option (config_type) is currently not supported from ansible for powerstore.

    Thank you for creating https://github.com/dell/ansible-powerstore/issues/18 we will look into supporting the mentioned parameters.

    Thanks,

    Jennifer

  • 1370

    0

    Posted September 27th, 2022 10:00

    From what I’ve been able to sleuth out for question 1, the main differences between General and VMware File System is that the VMware-optimized type sets config_type to VMware, folder_rename_policy to SMB_Forbidden, is_async_MTime_enabled to true, and host_io_size is configurable as { VMware_8K | VMware_16K | VMware_32K | VMware_64K }.

    Most of those are unavailable via the 1.7.0 PowerStore Ansible modules. 

     

    I found the options listed on pg598 of the PowerStore CLI Reference Guide. Where/how do I use that? When I SSH in as the "service" account, the file_system command is not recognized.

    file_system create \
    -name test-cli-vmware-fs \
    -size_total 5368709120 \
    -nas_server_name nasserver \
    -description "test vmware datastore created by CLI" \
    -config_type VMware \
    -access_policy Native \
    -locking_policy Advisory \
    -folder_rename_policy SMB_Forbidden \
    -is_async_MTime_enabled true \
    -host_io_size VMware_8K