"mt erase" command does not work

Hi
I have some data in my tape which I want to erase with the command

mt erase

The process runs for a long time without cleaning data.

What can be the problem??

krishan

Krishan,

there are many ways to clear a tape... one method involves writing /dev/null or /dev/zero to the tape...

tar -cvf zero.TAR /dev/zero

tar -cvf /dev/rmt/0mn

or

mediainit -v /dev/rmt/0m ## works on HPUX not sure if it is available on your platform.

fyi - lto3 400gb/800gb takes upwards of 1.5 hours to erase.