Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 788
  • Last Modified:

Eject DAT tape through command line

Can I eject a backup tape in a DAT drive from a command line ?
0
Northumberland
Asked:
Northumberland
  • 4
  • 4
1 Solution
 
grbladesCommented:
Hi Northumberland,
Yes just use the command :-
mt -f /dev/st0 unload
0
 
NorthumberlandAuthor Commented:
grblades - I tried the command :

mt -f /dev/st0 unload

but it dosent like the unload option.  I have lock, unlock, load and a load of others.

0
 
grbladesCommented:
Sorry the command should be :-
mt -f /dev/st0 eject
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
NorthumberlandAuthor Commented:
Nope dont have an eject either I have :

usage: mt [-v] [--version] [-h] [ -f device ] command [ count ]
commands: weof, wset, eof, fsf, fsfm, bsf, bsfm, fsr, bsr, fss, bss, rewind,
          offline, rewoffl, retension, eod, seod, seek, tell, status,
          erase, setblk, lock, unlock, load, compression, setdensity,
          drvbuffer, stwrthreshold, stoptions, stsetoptions, stclearoptions,
          defblksize, defdensity, defdrvbuffer, defcompression, sttimeout,
          stlongtimeout, densities, setpartition, mkpartition, partseek,
          asf.
[root@linux root]#
0
 
grbladesCommented:
Use 'offline' or 'rewoffl' as they both do the same thing.
0
 
NorthumberlandAuthor Commented:
All that does is just eject the tape right - I can put another tape in and do a backup as normal without having to do anything else ?

0
 
grbladesCommented:
Yes thats correct. If you have an autoloader it will normally automatically load the next tape aswell.
0
 
NorthumberlandAuthor Commented:
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now