HP StorageWorks Storage Mirroring for Linux Scripting Guide (T2558-96319, June 2009)

3 - 3
5. If you need to see the devices available, use the device list command.
6. If you need to remove a rule, use the repset rule remove command.
7. After you have added all of the rules, save the replication set by using the repset save
command.
Command DEVICE LIST
Description Displays the block devices available on a machine
Syntax
DEVICE LIST <filter> [ON <machine>]
Options
filter—Use one of the following options for the device filter
ALL—Lists all unique devices on the specified machine. If there is no
machine specified, the source, if designated, will be tried first. The
target, if designated, will be tried second.
OKSOURCE—List all devices on the specified source that are
replication capable. If a target is specified, an error will be returned.
OKTARGET—List all devices on the specified target that are capable of
being used as a target path. If a source is specified, an error will be
returned.
machine—Name of the machine
Examples
device list all on alpha
Notes Machine names that contain non-alphanumeric characters must be enclosed
in quotation marks.
Command REPSET RULE REMOVE
Description Removes a rule from a replication set
Syntax
REPSET RULE REMOVE <path> [FROM <repset>]
Options
path—Volume, directory, wild card, and/or file name
repset—Name of the replication set
Examples
repset rule remove "c:\data" from DataFiles
Notes
If you do not specify a replication set name, the current replication set
will be used.
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.
Command REPSET SAVE
Description Saves all replication set rules for the currently selected source
Syntax REPSET SAVE