Erase hard disk data

Thread Tools Search this Thread
Operating Systems AIX Erase hard disk data
# 1  
Old 02-28-2005
Erase hard disk data

How to erase/format hard disk data in RS6000 AIX PowerPC model 43 Smilie ?
# 2  
Old 03-01-2005

You can erase or format by diag menu, tape:
# diag
-Task Selection(Diagnostics, Advanced Diagnostics, Service Aids,etc.)
-Format media.
Good Luck,

# 3  
Old 03-02-2005

But I can't. It said "The 'diag' command is not supported on this system".
Anyway, I had manually take out the hard disk and throw on the floor for several times. Think the data in the hard disk can't be recovered. Smilie
# 4  
Old 03-02-2005
We drill holes through our hard drives for old PC's.
# 5  
Old 03-03-2005

Normally all versions of AIX support the ' diag' commande, except if there are filesets that miss to your system you can verify by the control:
#lslpp -l bos.dig. *
you must have some things as:
#> lslpp -l bos.diag *
Fileset Level State Description
Path: /usr/lib/objrepos COMMITTEDS Common Hardware Diagnoses
bos.diag.rte COMMITTED Hardware Diagnoses
bos.diag.util COMMITTEDS Hardware Diagnoses Utilitieses

Path: /etc/objrepos COMMITTEDS Common Hardware Diagnoses
bos.diag.rte COMMITTED Hardware Diagnoses
bos.diag.util COMMITTEDS Hardware Diagnoses Utilitieses
if not you must install them.
# 6  
Old 06-13-2008
you can format or erase it by # diag menu. But after this your data can be recover by the use of data recovery software. To completely erase your data you should use drive wipe software which completely erase hard drive. You can get lots of erase utility over internet or try Stellar drive wipe software.

Hope it helps
# 7  
Old 06-16-2008
If you just want to make the (previous) data unreadable and beyond any chance fo recovery use /dev/zero (even better but slower: /dev/random) as a data source and use "dd" to write its output directly onto the disks device. Make sure the disk is not part of any VG first (for example: hdisk3) :

reducevg myvg hdisk3
cat /dev/zero | dd if=- of=/dev/hdisk3

This will suffice as long as the people you are trying to hide the data from are not the CIA or some similarily well equipped agency. In this case reapeat the process either several times or - better yet - make a (better: several) big hole(s) through it.

I hope this helps.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

2. AIX

How to use dd command to erase the data in disk

how to use dd command to erase the data in disk, such as hdisk2? (9 Replies)
Discussion started by: rainbow_bean
9 Replies

3. UNIX for Advanced & Expert Users

How to erase tape data in unix V4.0 D?

hi! my computer is... System: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB OS: Digital Unix Console (SRM), Digital Unix V4.0D how to erase tape data? I tried with mt erase but no success. My tape is 120m. So, how can i erase tape? ... (5 Replies)
Discussion started by: akz
5 Replies

4. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

5. AIX

Erase AIX rootvg system disk

Hello all, I need help for erasing IBM P5 machine running AIX 5.3. I have 2 system disks (Hardware mirror) and i'm looking for a way like a LIVE CD bootable CD so I can boot with the cd and then format the system disks with a "secure erase" software. (7 Replies)
Discussion started by: kobi gabai
7 Replies

6. SCO

Recover data from failed Hard disk in SCO OpenServer 5.06

One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104". I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies

7. AIX

Erase hard disk

Hi ... How to erase bootable hard disk in Pseries... (3 Replies)
Discussion started by: sumathi.k
3 Replies

8. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

9. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
Login or Register to Ask a Question

Featured Tech Videos