Operating System - HP-UX
1825800 Members
2546 Online
109687 Solutions
New Discussion

Re: formatting tha DDS tape completely

 
SOLVED
Go to solution
Katsu39
Frequent Advisor

formatting tha DDS tape completely

Hello all;

Would someboy tell me that how can I format the DDS tape completely.
Which mean from B.O.T to E.O.T.

"mediainit" can format only data area?

Sorry such a begginers question,

Thanks.

Katsu
9 REPLIES 9
Mark Grant
Honored Contributor

Re: formatting tha DDS tape completely

You generally don't actually need to format the tape. Any particular reason why you want to in this case?
Never preceed any demonstration with anything more predictive than "watch this"
Michael Schulte zur Sur
Honored Contributor

Re: formatting tha DDS tape completely

Hi,

why do you want to format the unused part?
You yould use:
dd if=/dev/zero of=/dev/rmt/"tape device" bs=1024 count=10000000
Use a device with no compression.

Michael
H.Merijn Brand (procura
Honored Contributor
Solution

Re: formatting tha DDS tape completely

# mknod /dev/zero c 3 0x00003

Overwrite the tape with zeros as follows:

# dd if=/dev/zero of=/dev/rmt/0m

If you have to be absolutely sure, put a magnet on the tape for a day, or burn it

It's very easy to write a C program or a perl script to do the same as above. Maybe even better, by writing 0x55555555 first from BOT to EOT, then rewind and write 0xAAAAAAAA from bot to EOT, but the /dev/zero method is a whole lot easier

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Katsu39
Frequent Advisor

Re: formatting tha DDS tape completely

Hello Michael & Mark

Thank you for quickly replying.

We have a customer who has very very strict security rule for them data.

So,we have to elase all of the data on the tape completely.

dd is best way to elase those?

Thanks

Katsu
Mark Grant
Honored Contributor

Re: formatting tha DDS tape completely

Nope, in this case, I would go for procura's solution above. A big magnet or a fire.
Never preceed any demonstration with anything more predictive than "watch this"
Leif Halvarsson_2
Honored Contributor

Re: formatting tha DDS tape completely

Hi,
If there is a large number of tapes dd will be rather slow. There is bulk erase equipment avilable on the market.
Katsu39
Frequent Advisor

Re: formatting tha DDS tape completely

Thank you all;

Now we are trying the recommendation of Procura's one.

We know destroying the tape is best way,but I think ,we will not be able to do that.

Thank you for your cooperation.

Regards

Katsu

John Carr_2
Honored Contributor

Re: formatting tha DDS tape completely

DDS tapes are cheap it may be an option to physically destroy the tapes and purchase new one rather than the amount of time loading tapes and destroying the existing data. The methods of writing to the tape are good but they are writing over the existing data not formatting the tape.

:-) John.
Katsu39
Frequent Advisor

Re: formatting tha DDS tape completely

Hi all;

The result was, 7 hours 10 minutes.
125m DDS3 Tpae in DDS3 Drive.

Oh great! I will be able to get enough sleep.

Thanks

Katsu