Video Screencast Help

Dismount tapes

Created: 09 Mar 2013 • Updated: 21 Apr 2013 | 6 comments
This issue has been solved. See solution.

I'm using acsls to dismount tapes
q vol all shows many tape are mounted in tape drives
Is there a way to dismount all tape under one ACS, not one tape at a time using dismount from acsls?

Thanks all

Operating Systems:
Discussion Filed Under:

Comments 6 CommentsJump to latest comment

Nagalla's picture

i dont think there is a way... Unless you go for some scripts..

is there any reason why you would like to dismount multiple tapes.

its always better to allow the backup software to dismount tapes, so that it have track of it... 

Nicolai's picture

No there is no such a command - You need to script it.

You can pipe command to cmd_proc, that will at leat ease up some of the typing:

echo "q drive all" | cmd_proc -q

echo "dismount T10000 1,2,1,0 force" | cmd_proc -q

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

SOLUTION
SARA_8's picture

Thanks Nicolai :)

is there a way to list mounted tapes under a specific ACS? using q volm all |

 

 

Nicolai's picture

echo "q dr all" | cmd_proc | grep '0,'

Use grep '0,' for ACS0

use grep '1,' for ACS1

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

Ankit Maheshwari's picture

cmd_proc -l

q drive all 

This will list all drive status which is mounted or not....

 

Ankit Maheshwari

 

 

Ankit Maheshwari

watsons's picture

These ACSLS commands are mostly available in the ACSLS admin's guide:

http://docs.oracle.com/cd/E19775-01/802UpAdm/802Up...