Koozali.org: home of the SME Server

flexbackup - erase tape ?

John

flexbackup - erase tape ?
« on: June 09, 2002, 12:10:17 PM »
Hi
How can I erase my tape when to tape is full
-John

FredS


John

Re: flexbackup - erase tape ?
« Reply #2 on: June 14, 2002, 04:17:24 AM »
Thank you,

>flexbackup -toc -delete
Can you tell me what I have to type for to delete all on the tape.
- John

FredS

Re: flexbackup - erase tape ?
« Reply #3 on: June 16, 2002, 10:50:50 PM »
John wrote:
>
> Thank you,
>
> >flexbackup -toc -delete
> Can you tell me what I have to type for to delete all
> on the tape.
> - John

flexbackup -toc -delete

FredS

Re: flexbackup - erase tape ?
« Reply #4 on: June 16, 2002, 10:51:58 PM »
Or try flexbackup -toc -erase

John

Re: flexbackup - erase tape ?
« Reply #5 on: June 17, 2002, 02:39:08 AM »
Nope :(

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| ERROR: This tape doesn't have an index! (use -erase?)
|------------------------------------------------

and
[root@gw /root]# flexbackup -toc -delete

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| ERROR: This tape doesn't have an index! (use -erase?)
|------------------------------------------------

Regards John

Des Dougan

Re: flexbackup - erase tape ?
« Reply #6 on: June 17, 2002, 09:46:05 AM »
In its Mitel SME configuration, flexbackup uses the dump command, rather than one of the other options, such as tar. As such, it does not create a toc on the tape. If you run "flexbackup --help" from the command line, you can see the various options available. A full dump automatically erases the contents of the tape, for example.

Des Dougan

FredS

Re: flexbackup - erase tape ?
« Reply #7 on: June 17, 2002, 09:49:53 AM »
Humm

Try
mt -f /dev/st0 erase