Operating System - HP-UX
1855871 Members
11408 Online
104107 Solutions
New Discussion

Formatting a disk on HP UIX

 
Rahul.J.A
Occasional Contributor

Formatting a disk on HP UIX

Formatting a disk on HP UIX so that data cannot be restored
7 REPLIES 7
V. Nyga
Honored Contributor

Re: Formatting a disk on HP UIX

Hi,

the best tipp I read here was using a hammer.
There are some threads about this question.
Another tipp (zeroing a disk) is here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=893646

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
freddy_21
Respected Contributor

Re: Formatting a disk on HP UIX

You can use mediainit or pvcreate.
mediainit not recommend to do that.

for logical volume, you can use newfs

thanks
freddy
V. Nyga
Honored Contributor

Re: Formatting a disk on HP UIX

Hi again,

also:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=458247
or
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=870349

Just search for 'destroy data' or 'destroy disk'

Volkmar
*** Say 'Thanks' with Kudos ***
MarkSyder
Honored Contributor

Re: Formatting a disk on HP UIX

Do you want the disc to be re-used? If not, do what we do - take it out and hit it on the corner of a cabinet.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
wip
Frequent Advisor

Re: Formatting a disk on HP UIX

the command to re-format a disk is

"mediainit"

hth
Wip
Steven E. Protter
Exalted Contributor

Re: Formatting a disk on HP UIX

Shalom,

mediainit will usually do the job.

There is no 100% reliable way to make sure the data can not be recovered. The NSA has ways of recovering data from disks that have been formatted.

If acceptable I do an OS install on the disk, which makes the average non-governmental entitiy have a tough time recovering the data.

My employer does not trust that. If a disk is no longer useful to us, it is not sold, it is physically destroyed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Raj D.
Honored Contributor

Re: Formatting a disk on HP UIX

Rahul ,

You can use :


# dd if=/dev/zero of=/dev/dsk/c?t?d? bs=1024

# mediainit /dev/rdsk/c?t?d?



Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "