Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS API Reference

PDF

Create an SMB share

When creating an SMB share, obtain and specify the access zone that contains the share in the URI.

Request to obtain the access zone ID

POST /platform/14/zones
Authorization: Basic QWxhZGRpbjpvcGVuIHN1c2FtZQ==

Response

{
    "zones": [
        {
            "alternate_system_provider": "lsa-file-provider:System",
            "auth_providers": [
                "lsa-local-provider:System",
                "lsa-file-provider:System"
            ],
            "cache_entry_expiry": 14400,
            "groupnet": "groupnet0",
            "home_directory_umask": 63,
            "id": "System",
            "ifs_restricted": [],
            "map_untrusted": "",
            "name": "System",
            "negative_cache_entry_expiry": 60,
            "netbios_name": "",
            "path": "/ifs",
            "skeleton_directory": "/usr/share/skel",
            "system": true,
            "system_provider": "lsa-file-provider:System",
            "user_mapping_rules": [],
            "zone_id": 1
        },
        {
            "alternate_system_provider": "lsa-file-provider:MinimumRequired",
            "auth_providers": [
                "lsa-local-provider:home-admin"
            ],
            "cache_entry_expiry": 14400,
            "groupnet": "groupnet0",
            "home_directory_umask": 63,
            "id": "home-admin",
            "ifs_restricted": [],
            "map_untrusted": "",
            "name": "home-admin",
            "negative_cache_entry_expiry": 60,
            "netbios_name": "",
            "path": "/ifs/home/admin",
            "skeleton_directory": "/usr/share/skel",
            "system": false,
            "system_provider": "lsa-file-provider:System",
            "user_mapping_rules": [],
            "zone_id": 2
        }
    ]
}

Request to create share

POST /platform/14/protocols/smb/shares?zid=2
Authorization: Basic QWxhZGRpbjpvcGVuIHN1c2FtZQ==

{"name":"MyShare", "path":"/ifs/home/admin/share"}

Response

201 Created
Content-type: application/json

{"id": "MyShare"}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\