6.5 HP StoreAll OS CLI Reference Guide
Table Of Contents
- HP StoreAll OS CLI Reference Guide
- Contents
- 1 General CLI information
- 2 StoreAll commands
- ibrix_activedirectory
- ibrix_archiving
- ibrix_audit_reports
- ibrix_auth
- ibrix_av
- ibrix_avconfig
- ibrix_avquarantine
- ibrix_avscan
- ibrix_caseinsensitive
- ibrix_certificate
- ibrix_chassis
- ibrix_cifs
- ibrix_cifsconfig
- ibrix_cifsmonitor
- ibrix_cifsperms
- ibrix_client
- ibrix_cluster
- ibrix_clusterconfig
- ibrix_collect
- ibrix_crr
- ibrix_crreq
- ibrix_crr_export
- ibrix_crrhealth
- ibrix_crr_nic
- ibrix_datavalidation
- ibrix_dbck
- ibrix_df
- ibrix_edquota
- ibrix_evacuate
- ibrix_event
- ibrix_exportfs
- ibrix_fm
- ibrix_fm_tune
- ibrix_fs
- Description
- Synopsis
- Create a file system
- View information about file systems
- Extend a file system
- Audit log expiration policy
- Archiving/auditing synchronizer (Retention Expiration and Autocommit)
- Delete a file system
- Migrate segment ownership
- Enable or disable quotas
- Enable, disable, or display Express Query and auditing settings
- Mark a bad segment
- Enable or disable Export Control
- Assign or delete a standby server for the specified segments
- Options
- See also
- ibrix_fs_ops
- ibrix_fs_tune
- ibrix_fsck
- ibrix_ftpconfig
- ibrix_ftpshare
- ibrix_haconfig
- ibrix_hba
- ibrix_health
- ibrix_healthconfig
- ibrix_host_tune
- ibrix_hostgroup
- ibrix_hostpower
- ibrix_httpconfig
- ibrix_httpshare
- ibrix_httpvhost
- ibrix_idmapping
- ibrix_ldapconfig
- ibrix_ldapidmapping
- ibrix_license
- ibrix_localgroups
- ibrix_localusers
- ibrix_lookup
- ibrix_lv
- ibrix_lwhost
- ibrix_lwmount
- ibrix_lwumount
- ibrix_migrator
- ibrix_mount
- ibrix_mountpoint
- ibrix_ndmpconfig
- ibrix_ndmpsession
- ibrix_nic
- ibrix_objectstore
- ibrix_objectstoreadmin
- ibrix_objectstoremonitor
- ibrix_onlinequotacheck
- ibrix_phonehome
- ibrix_powersrc
- ibrix_profile
- ibrix_pv
- ibrix_rebalance
- ibrix_reports
- ibrix_reten_adm
- ibrix_server
- ibrix_snap
- ibrix_snapreclamation
- ibrix_snmpagent
- ibrix_snmpgroup
- ibrix_snmptrap
- ibrix_snmpuser
- ibrix_snmpview
- ibrix_stats
- ibrix_tape
- ibrix_task
- ibrix_tier
- ibrix_top
- ibrix_umount
- ibrix_usernamemapping
- ibrix_version
- ibrix_vg
- ibrix_vs
- ibrix_vs_snap
- ibrix_vs_snap_strategy
- MDexport
- MDimport
- upgrade60.sh
- verify_client_update
- 3 Support and other resources
- 4 Documentation feedback
- Glossary
- Index
The following example uses a relative date:
ibrix_migrator -A -f ifs2 -r "atime older than 2 days " -S TIER1 -D
TIER2
Rule keywords
Rules consist of keywords, qualifiers, and operators.
DefinitionKeyword
Access time, used in a rule as a fixed or relative time.atime
Change time, used in a rule as a fixed or relative time.ctime
Modification time, used in a rule as a fixed or relative time.mtime
An integer corresponding to a group ID.gid
A string corresponding to a group name. Enclose the name string in double quotes.gname
An integer corresponding to a user ID.uid
Value is a string corresponding to a user name, where the user is the owner of the file. Enclose the
name string in double quotes.
NOTE: LDAP and AD users cannot be used. Only local users are supported.
uname
In size-based rules, the threshold value for determining migration. This is an integer specified in K
(KB), M (MB), G (GB), or T (TB). Do not separate the value from its unit (for example 24K).
size
The file-system entity the rule operates on. Only the file entity is supported in the current version of
the product.
type
A regular expression, typically used to match file names. Enclose a regular expression in double
quotes. The asterisk (*) wildcard is valid. For example:
name
name = "*.mpg"
A name cannot contain a “ / ” character; you cannot specify a path. Only a file name is allowed.
Path name that allows these wild cards: *, ?, /. For example, if the mountpoint for the file system
is /mnt, path=ibfs1/mydir/* matches the entire directory subtree under /mnt/ibfs1/mydir.
(A path cannot start with a /).
path
Path name that rigidly conforms to UNIX shell file name expansion behavior. For example,
strict_path=/mnt/ibfs1/mydir/* matches only the files that are explicitly in the mydir
directory, but does not match any files in subdirectories of mydir.
strict_path
Examples of migration rules
When writing a rule, identify the following:
• File system (-f)
• Source tier (-S)
• Destination tier (-D)
The rule portion of the command must be enclosed in single quotes. The format for writing a rule
is:
ibrix_migrator -A -f FSNAME -r 'RULE' -S SOURCE_TIER -D DEST_TIER
Example 1: This example writes a rule based on the file’s last modification time, using a relative
time period. All files that were last modified more than one month ago will be moved. The rule
string is always enclosed in single quotes.
# ibrix_migrator -A -f ifs2 -r 'mtime older than 1 month' -S T1 -D T2
ibrix_migrator 141