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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ntbackup fails with 'No unused media available'

Status
Not open for further replies.

age

Technical User
May 31, 2001
191
GB
Hi, I am running a scheduled ntbackup job on a win2k server (Dell Poweredge 2600 and DLT1 drive) using the following scripts:

first this runs to refresh the RSM database to stop ntbackup saying there is no available media:

@ECHO OFF
RSM REFRESH /LF"Benchmark DLTtape(tm) DLT1/VS80 Drive"
RSM INVENTORY /LF"Benchmark DLTtape(tm) DLT1/VS80 Drive" /A"DEFAULT"

then this runs to start the backup job:

NTBACKUP.EXE BACKUP "@C:\Backup\Daily Backup.bks" /j "Full Backup" /v:no /hc:eek:n /m normal /l:s /r:no /rs:no /p "DLT" /um

According to everything I've read, this should ensure that the backup will use whatever media you give it, BUT I still sometimes get the backup failing with "The operation was not performed because no unused media was available." being logged in the backup log.

Is there a way to avoid this every time with ntbackup?

Thanks,

Adrian.
 
For me it works without problems. I have DLT not DLT1 device. Are you sure you have "DLT" device in your Media pools under Removable Storage, not "DLT1" or something else?

===
Karlis
ECDL; MCP
 
Hi, thanks for the reply :)

Yeah, definitely DLT. 90% of the time this works, but we still get, maybe once a week, a 'no unused media' error occurring, which shouldnt happen!

Strange hey.
 
Perhaps backup starts before inventory has performed. I have seen suggestions to put command 'sleep=30' from reskit (i do not remember exactly the syntax) after rsm inventory.

BTW for me backup runs without inventory and without problems.

===
Karlis
ECDL; MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top