1834711 Members
2474 Online
110069 Solutions
New Discussion

Re: Format harddisk

 
SOLVED
Go to solution
Kenn Chen
Advisor

Format harddisk

I would like remove all my applications (oracle) and data files inside my UNIX H60
server before trade in to vendor. How could I totally delete/format the disks.
Note : we are using LVM
Cyber Zen
2 REPLIES 2
Madhu Sudhan_1
Respected Contributor
Solution

Re: Format harddisk

CHEN WAI !
It depends how you want to handover the server. If you want to handover with OS working and not to have application data,

One way to clear of the data is remove all the application related lvolumes and the vg.

If you have seperate vg for applications then it is more easier. Use vgremove and remove the volume group and you can also use pvcreate to clear off the data from the hardisks which are part of your application vg. pvcreate does formatting.

Also, if you are using disk arrays use format (1M) to format the LUNs.

Hope this helps.
Enjoy !
...Madhu
Think Positive
James R. Ferguson
Acclaimed Contributor

Re: Format harddisk

Hi:

See "man mediainit". 'mediainit' will destroy all data on a disk writing test patterns in their place.

...JRF...