Operating System - HP-UX
1847846 Members
2644 Online
104021 Solutions
New Discussion

Destructive Filesystem Wiping - Recommendations

 
SOLVED
Go to solution
MattJ123
Frequent Advisor

Destructive Filesystem Wiping - Recommendations

I have some disks I need to destroy the data on, and I'm not able to hit them with a hammer, or drill through them, unfortunatly. So I'm left with 3 volume groups I need to wipe to the point where they are non-recoverable .. even by a data recovery shop.

Any software, scripts etc that can do a good job of this??

Thanks in advance

5 REPLIES 5
Sanjay_6
Honored Contributor

Re: Destructive Filesystem Wiping - Recommendations

Hi,

Deactivate the vg using vgchange -a n and then do a dd where if=/dev/zero and of=/dev/rdsk/cxtydz.

vgchange -a n /dev/vg_name -> Deactivate VG
vgexport /dev/vg_name --> This will removee the vg and all its info.

now for each disk that was part of this vg,

dd if=/dev/zero of=/dev/rdsk/cxtydz bs=1024k

Hope this helps.

Regds
MattJ123
Frequent Advisor

Re: Destructive Filesystem Wiping - Recommendations

in the linux world i would do something similar, such as /dev/urandom and then /dev/zero a couple of times.. that would wipe it good..

in this case, no /dev/zero its an hpux 10.20 system.
Sanjay_6
Honored Contributor
Solution

Re: Destructive Filesystem Wiping - Recommendations

Hi,

you can create /dev/zero using mknod, It is not part of the OS by default.

mknod /dev/zero c 3 0x000003

Hope this helps.

Regds
MattJ123
Frequent Advisor

Re: Destructive Filesystem Wiping - Recommendations

that'll do just fine, thanks for the tip.. i was not aware of that.
MattJ123
Frequent Advisor

Re: Destructive Filesystem Wiping - Recommendations

mknod