
Command Reference
45
HP StorageWorks NAS 8000 Command Reference
■
inParam[0] = Snapshot name
■
outParam[0] = Volume name
getStorageVolumeSnapshotExpiration
Returns the expiration date and time for the specified snapshot.
■
inParam[0] = Snapshot name
■
inParam[1] = Optional date format string (defaults to “%m/%d/%Y”)
■
inParam[2] = Optional time format string (defaults to “%T”)
For display, you should always select one of the “locale” safe formats:
■
%c - TIME & DATE for locale
■
%x - DATE for locale
■
%X - TIME for locale
■
%r - Time am/pm (exact format may change with locale)
■
%R - %H:%M
■
%T - %H:%M:%S (24 hour)
■
%D - %m/%d/%y - (United States specific format)
setStorageVolumeSnapshotExpiration
Sets the date and time that the specified snapshot will expire.
■
inParam[0] = Snapshot name
■
inParam[1] = Date (mm/dd/yyyy) or “NOW”
■
inParam[2] = Time (24hh:mm:ss) or “NOW”
OR, sets the amount of time the specified snapshot will exist before expiring.
■
inParam[1] = [-hours | -days | -weeks | -months | -years ]
■
inParam[2] = Count
getStorageVolumeSnapshotAutogrowEnabled
Identifies whether the specified snapshot will automatically grow when it nears full capacity.
■
inParam[0] = Volume name
■
outParam[0] = T (Enabled) or F (Disabled)
setStorageVolumeSnapshotAutogrowEnabled
Enables or disables the specified snapshot autogrow.
■
inParam[0] = Volume name
■
inParam[0] = T (Enabled) or F (Disabled)
Storage Quota Settings
Quotas are set on a per file volume basis. You can have a quota larger than the available space
on the file volume.
The following commands are used to manage storage quotas. For information on setting
quotas, see
User and Group Quota Settings
on page 71.