Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hot Backup Procedure

Hot Backup Procedure

Hi,

Could you please tell me some thing about backup commands. I am using fbackup command.

1. How to eject the tape using script.
2. How to check tape is not into Tape Drive.
3. Hot to check tape is into tape drive.
4. How to check tape is busy. Writing Data on the tape.

Thanks

GSM
Ghulam
3 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: Hot Backup Procedure

Hi,

1. mt -f /dev/rmt/... offl

Looking for the other things,

Michael
steven Burgess_2
Honored Contributor

Re: Hot Backup Procedure

Hi

You need to use the mt commands to manipulate drive

man mt

HT

Steve

take your time and think things through
Jean-Luc Oudart
Honored Contributor

Re: Hot Backup Procedure

Check a tape is (or is not )in the drive :
mt -f /dev/rmt/0m rew
check return code

a process running on the drive
fuser -fu /dev/rmt/0m
check output

Rgds,
Jean-Luc
fiat lux