American Megatrends MAN-STOR-ITX27-CLI manual Share, Directory & ACL Configuration

Page 30

Share, Directory & ACL Configuration

These commands work on NAS shares and directory.

Command

Argument

Description

create dir

-p/--path <directory path>

Creates a subdirectory with the

 

-x/--xml

given complete path.

 

For example: create –p c0_nas0/new dir

 

list dir

-p/--path <directory path>

Displays all directories in the

 

-x/--xml

volume.

delete dir

-p/--path <directory path>

Deletes a subdirectory with the

 

-f/--force (optional)

given complete path. The complete

 

-x/--xml

path should also include the

 

 

volume path exported by the

 

 

system. The subdirectory should be

 

 

empty before deletion.

 

 

Note: the parent directory cannot

 

 

be deleted For example: c0_nas0

list share

 

Displays all shares and details of

 

 

each.

get share

-t/--type {share}

Gets the number of shares.

 

-c/--count

 

 

-x/--xml

 

get share

-t/--type {share}

Gets the share information

 

-i/--info

according to the path given.

 

-p/--path < path of the share >

 

 

-x/--xml

 

get share

-t/--type {acl}

Gets the acl permissions of a share.

 

-p/--path < path of the share >

 

 

-x/--xml

 

add share

-n/--name <name of the share >

Adds specified share to the system.

 

-p/--path <path to be added>

Note: Please make sure a directory

 

- s/--prototype {cifs/nfs/upnp/apple/http/ftp}

with the same path is made before

 

-x/--xml

creating a share

 

For example: add –n share0 –p c0_nas0/new –s cifs

 

 

–s ftp share

 

delete share

-t/--type {share}

Deletes a share from the system.

 

-n/--name <name of the share >

 

 

-x/--xml

 

 

For example: delete -t share –n share1 share

 

delete share

-t/--type {acl}

Deletes a acl share from the

 

-p <directory path>

system.

 

-u/--username <username> or -g/--groupname

 

 

<groupname>

 

 

-x/--xml

 

 

For example: delete -t acl -p c0_v0/test1 -u test1

 

 

share

 

set share

-t/--type {acl}

Sets the acl permission of the share

 

-x/--xml

(maximum of 4 ACL permissions

 

-p/--path <directory path>

can be entered at a time. And 237

 

-m/--mode

acl permissions maximum per

 

<USERNAME:MODE{user/group}:PERMISSION

share).

 

S:INHERITANCE:ALLOW:LEVEL>

 

 

-e/--enable or -d/--disable

The -e/-d option is to enable or

 

-v/--voltype (0 for NT 1 for posix)

disable ACL recursively for the

 

-i/--inherited (0 to not inherit 1 otherwise)share

root folder and sub folders

 

For example: set -t acl -p Cont0_Volume0/dir1 -

 

 

m user1:user:agf:3:1:0 -m user2:user:agh:5:0:0 -m

ALLOW FOR NT

 

group1:group:gd:3:1:1 -e -v 1 -i 0 share

0 - Allow ACE 1 - Deny ACE

 

 

 

24StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide

Image 30
Contents MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Limited Warranty Limitations of LiabilityTechnical Support Disclaimer Accessing CLI PrefaceOverview of CLI Initial Setup NIC-1Volume Configuration This will list the available RAID LD’s present in the systemPage Similarly a SAN volume can be created as follows To create a target, use the following commandsThen, to enable the target, use the syntax below Next step is to activate a port for iSCSI trafficCommand Set ChapterFor example To find out how the show command works, type CLIshow -h EnterAlert Configuration These commands configure the way alerts are generatedDate/Time Configuration Domain ConfigurationThese commands configure the time zone and date Event log Commands These commands display or clear the event logFirewall Configuration These commands configure the network firewall optionsGeneral Server Configuration Health ConfigurationThese commands get the health information ISCSI Configuration Command Argument Description License configuration These commands configure the LicenseNetwork Controller Configuration NAS Quota Configuration NAS User / Group Configuration List retrieved will be given for both instead of singlyFor exmaple set -t user -u test1 -p test1 -f Test1 ug Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a Share, Directory & ACL Configuration These commands work on NAS shares and directoryLevel for NT These commands configure the System controls System Control ConfigurationVolume and Snapshot Commands 3provisiontype 0-ThinCommand Argument Description Command Argument Description UPS Configuration These commands configure the UPS for power managementXml For example update -l c0v0 -p 50 -m Syncreplica Synchronous replicationFor example For example Update -l c0v0 -p 50 -m 172.16.70.102 Update -l c0v0 -g rg0 syncreplicaThese commands configure asynchronous replication Asynchronous ReplicationUtilization bandwidth utilization Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description Example Journal Volume ManagementThese commands configure a journal and journal file Example Get -t journalfile -c Cont0 -f jf0 journalPage These commands are used as part of recovery wizard Recovery WizardThese commands are to view cdp for journal file Continuous Data ProtectionList the tasks in report, pending These commands are used as part of SRMStorage Resource Management Workflow queueThese commands are used as part of snap validation Local and Replicated Snapshot validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description

MAN-STOR-ITX27-CLI specifications

American Megatrends Inc. (AMI), a leader in the design and development of innovative hardware and firmware solutions, has made significant strides with its product line, notably with the MAN-STOR-ITX27-CLI model. This compact yet powerful storage solution is designed to meet the evolving needs of modern computing environments, making it a popular choice among tech enthusiasts, system integrators, and IT professionals.

One of the main features of the MAN-STOR-ITX27-CLI is its form factor. Built in the Mini-ITX style, this storage system is optimized for space-saving applications without compromising performance. Its compact design allows it to be integrated into a variety of systems, from home media servers to business workstations, facilitating enhanced flexibility in deployment.

The MAN-STOR-ITX27-CLI utilizes advanced storage technologies to deliver reliable and high-speed data access. It supports multiple storage drives, including SSDs and traditional HDDs, providing users with a choice for speed or capacity according to their specific needs. The RAID configuration support enhances data redundancy and performance, ensuring that critical data remains accessible and secure.

In terms of connectivity, the MAN-STOR-ITX27-CLI is equipped with an array of ports, including USB 3.0, HDMI, and Ethernet, which facilitate seamless integration with other devices. High-speed data transfer rates are achieved, making it ideal for applications requiring quick data retrieval and storage, such as video editing and large-scale data analysis.

Another notable characteristic is its cooling system. The MAN-STOR-ITX27-CLI incorporates an efficient thermal management solution that helps maintain optimal operating temperatures, thus ensuring longevity and stability. This feature is particularly important in high-performance scenarios where excessive heat could impact system reliability.

Furthermore, the MAN-STOR-ITX27-CLI is designed with user-friendly features in mind. It allows for easy upgrades and expansions, making it a future-proof choice as storage demands continue to grow. The intuitive setup process and compatibility with a range of operating systems further simplify installation and management.

In conclusion, the American Megatrends MAN-STOR-ITX27-CLI is a versatile and powerful storage solution that excels in both performance and user convenience. Its advanced technology, compact design, and robust features make it a leading choice for anyone seeking reliable and efficient storage in a dynamic computing environment. With the increasing demand for data-driven solutions, products like the MAN-STOR-ITX27-CLI showcase AMI's commitment to innovation and quality in the field of technology.