Operating System - HP-UX
1752793 Members
6057 Online
108789 Solutions
New Discussion юеВ

How do I erase a K class disk (a3353a)

 
Eric Firkey
Regular Advisor

How do I erase a K class disk (a3353a)

In my K460, I want to wipe the data clean. Is there a simple command to do this. Can I take it out of my K class and put it in a workstation to erase the data? I want to format the disk like I am in a windows environment. The disk will not be used in a windows environment, however.
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: How do I erase a K class disk (a3353a)


mediainit


live free or die
harry
Live Free or Die
S.K. Chan
Honored Contributor

Re: How do I erase a K class disk (a3353a)

The command "mediainit" is probably what you want. Do a "man mediainit" for more info ..

# mediainit /dev/rdsk/

OR

# cd /dev
# ls -l zero
===> if this pseudo driver is not available, create it as such ..
# mknod /dev/zero c 3 0x000003

To overwrite all the data on the disk with 0s, run this ..
# dd if=/dev/zero of=/dev/rdsk/