Command Line for making a B2D Disk ONLINE?
I rotate through 6 Disks each weekend. It's time consuming for me to fireup the console, mount the drive, exit the console.
There has to be a way for me to do this via the command line, but I am having trouble with the syntax.
Looking here: http://ictfreak.files.wordpress.com/2009/01/bemcmd1.pdf
For Example, one of my B2Ds is named "WEEKLY DUPLICATE 02 (E:)".
I would think I could it by doing this:
bemcmd.exe -o79 -e"WEEKLY DUPLICATE 02 (E:)"
But that gives me a return of -1
Tried this too:
bemcmd.exe -o79 -e -d"WEEKLY DUPLICATE 02 (E:)"
Give me a return value of 1, but doesn't actually mount the drive.
If from the help doc:
Set drive properties
|-o79 |* -d<drive name>
| | -nd:<new drive name>
| | -ps:<pause or resume drive>
| | -e<enable or disable drive>
| | -m<enable or disable compression>
| | -bk:<block size>
| | -bf:<buffer size>
| | -bc:<buffer count>
| | -hw:<high water count>
| | -rs:<Read single block mode>
| | -ws:<Write single block mode>
| | -rp:<Read SCSI pass-through mode>
| | -wp:<Write SCSI pass-through mode>
| | -r
| | -s
Comments
Try bemcmd.exe -o79
Try
bemcmd.exe -o79 -d"WEEKLY DUPLICATE 02" -ps:0 to resume -ps:1 to pause
You can place all your devices in one CMD file and pause them all , then unpause them all
The ones that are connected should then be online
I'd also suggest fighting very hard to get authorization to upgrade BackupExec as v10d is very old
End of Life 2006-11-06
"End of Life" means the day that a Symantec product enters a process to wind down distribution and the delivery of technical support services.
End of Limited Support 2009-05-06 Last date for patch releases
End of Support Life 2012-01-18 Last date to contact support
If this response answers your concern, please mark it as a "solution"
Edit, found a better manaul
Edit, found a better manaul by Symantc. I have to pass a 1 (Enable), or 2 (Disable) to the -e command. This worked:
bemcmd.exe -o79 -e1 -d"WEEKLY DUPLICATE 05 (E:)"
Now, how can I scan and inventory that disk? (Something I have always done for good measure). Otherwise, I have noticed, BE jobs will not run against it.
EDIT:
http://www.symantec.com/business/support/index?page=content&id=TECH28895&actp=search&viewlocale=en_US&searchid=1328907506041
Done.
So... I'll save this thread so people can find it for future reference.
The v10/v10d Cmd Line Guide
The v10/v10d Cmd Line Guide is actually here
http://www.symantec.com/docs/DOC2818
If this response answers your concern, please mark it as a "solution"
Would you like to reply?
Login or Register to post your comment.