The examples show some of the commands you can run when you use storacle.exe to manage storage access and to determine space reservation status on volumes.
This example launches the storacl tool.
storaclThis example launches the storacl tool and connects to the storage system called SYSTEM1.
storacl -stor SYSTEM1This example disables access control to the root user on the storage system called System1.
delete -stor System1 -user rootThis example creates a role called TESTROLE with the ability to list storage system objects.
role add -rn TESTROLE -OPN SD.Storage.ReadThis example adds storage write access to the role called TESTROLE:
role add -rn TESTROLE -OPN SD.Storage.WriteThis example removes storage read access from the role called TESTROLE:
role remove -rn TESTROLE -OPN SD.Storage.ReadThis example adds the access rights defined by the SDProvision and SDBackup role to the domain user usr1 on the volume volTest on storage system System1.
user add -rsn System1:/vol/volTest -rtype vol -un mydomain\usr1 -RN SDProvision SDBackupThis example removes only the SDBackup role for the domain user usr1 on the volume volTest on the storage system System1.
user remove -rsn System1:/vol/volvpn -rtype vol -un mydomain\usr1 -RN SDBackupThis example lists the resources that are accessible by the domain user usr1.
user list -un mydomain\user1This example lists the resources that are accessible to all users.
user listThis example removes all access rights to the domain user usr1.
user remove -un mydomain\usr1This example lists all volumes on the storage system.
storage list -rtype volThis example lists storage system volumes accessible by HOST1.
hvol list -h HOST1This example makes the volume volTest inaccessible to the host HOST1.
hvol remove -h HOST1 -vol volTestThis example removes the entry for HOST1 from the storage system.
host remove -h HOST1This example checks the current LUN space reservation policy on the volume vol1 on System1 using the root user to log in to the storage system.
spacereserve get -vol vol1 -stor System1 -user rootWhen no protocol type is specified, storacl uses HTTPS as the default. The default HTTPS port is 443. The default HTTP port is 80.
This example enables space reservation on the volume vol1 on System1 by logging on to the storage system as the user root.
spacereserve set -vol vol1 -val true -stor System1 -user rootThis example disables space reservation on the volume vol1 on the storage system System1.
spacereserve set -vol vol1 -val false -stor System1