Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nsrmm legato networker

Status
Not open for further replies.

bkreynolds48

Technical User
Feb 24, 2006
3
US
I am trying to relabel a tape in a script using nsrmm legato's networker program
This is the command I tried:
nsrmm -m -l -f /dev/rmt/0n -R 'test2'

I get a response back saying I can't use "-l" with "-R"
when trying to run the command without the "-R" a prompt comes up asking for a yes/no to relabel tape.
when trying without the "-l" I get the syntax incorrect error.

Any help would be appreciated.
 
Here are the actual error messages:
===================================
root# nsrmm -m -R 'test take2'
nsrmm: when used with -l, -R excludes the use of a volume name
usage: nsrmm [-v | -q] [-s server] [-f device]
or nsrmm -l [-v | -q] [-s server] [-f device] [-myB]
[-e forever] [-c capacity] [-b pool] [-R | volume]
or nsrmm {-u | -j} [-v | -q] [-s server] [-y] [-f device | volume...]
or nsrmm -p [-v | -q] [-s server] [-f device]
or nsrmm -m [-v | -q] [-s server] [-f device] [-r] [volume]
or nsrmm {-d | -o mode} [-v | -q] [-s server] [-Py]
[-S ssid[/cloneid] | -V volid | volume...]
or nsrmm [-s server] -S ssid {-w browsetime | -e retentiontime}
root# nsrmm -R 'test take2'
nsrmm: -R is only valid when used with -m or -l
usage: nsrmm [-v | -q] [-s server] [-f device]
or nsrmm -l [-v | -q] [-s server] [-f device] [-myB]
[-e forever] [-c capacity] [-b pool] [-R | volume]
or nsrmm {-u | -j} [-v | -q] [-s server] [-y] [-f device | volume...]
or nsrmm -p [-v | -q] [-s server] [-f device]
or nsrmm -m [-v | -q] [-s server] [-f device] [-r] [volume]
or nsrmm {-d | -o mode} [-v | -q] [-s server] [-Py]
[-S ssid[/cloneid] | -V volid | volume...]
or nsrmm [-s server] -S ssid {-w browsetime | -e retentiontime}
 
We don't use Legato NetWorker on Solaris, but this is what I use in a script on Compaq/HP Tru64 v5.1a :

nsrmm -m -l -y -f <tape-drive> -b "<pool-name>" <tapelabel>

I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top