cancel
Showing results for 
Search instead for 
Did you mean: 

Dismount tapes

SARA_8
Level 4
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
1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

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

View solution in original post

6 REPLIES 6

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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
Moderator
Moderator
Partner    VIP   

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

SARA_8
Level 4

Thanks Nicolai :)

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

 

 

Ankit_Maheshwar
Level 5

cmd_proc -l

q drive all 

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

 

Ankit Maheshwari

watsons
Level 6

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

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

 

Nicolai
Moderator
Moderator
Partner    VIP   

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

Use grep '0,' for ACS0

use grep '1,' for ACS1