- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Erasing Disks HPUX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:26 PM
тАО05-03-2005 10:26 PM
Erasing Disks HPUX 11.00
Has anybody got a script or an easy way of overwriting the data on multiple disks attached to a 9000 server?
Aidan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:35 PM
тАО05-03-2005 10:35 PM
Re: Erasing Disks HPUX 11.00
An oft-asked question around here. The best way to make disds truly un-readable involves physical destruction - magnets or hammers. If your needs only involve making data hard to retrieve, then you can use dd:
dd if=/dev/zero of=/dev/rdsk/cXtXdX bs=1024k
This does a good job of overlaying the existing data structures.
Whatever you do, don't use mediainit - it tends to make the disks un-usable in the future.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:37 PM
тАО05-03-2005 10:37 PM
Re: Erasing Disks HPUX 11.00
Creat a file with the raw device filenames of all disks which you want to erase, with each device file on each line
then,
for i in `cat filename`
do
dd if=/dev/zero of=$i
done
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:41 PM
тАО05-03-2005 10:41 PM
Re: Erasing Disks HPUX 11.00
Without a block size specification, your dd will default to 512 byte blocks and that will take days to complete! Always remember to specify a block size - 1024k is usually good.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:42 PM
тАО05-03-2005 10:42 PM
Re: Erasing Disks HPUX 11.00
Best way is to use:
dd if=/dev/zero of=/dev/vgxyz/rlvol1 bs=1024k
put it in a script like Naveej mentioned.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:43 PM
тАО05-03-2005 10:43 PM
Re: Erasing Disks HPUX 11.00
dd if=/dev/zero of=/dev/rdsk/cxtydz bs=1024k
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2005 10:52 PM
тАО05-03-2005 10:52 PM
Re: Erasing Disks HPUX 11.00
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 12:45 AM
тАО05-04-2005 12:45 AM
Re: Erasing Disks HPUX 11.00
I just realized you probably don't have a /dev/zero because you're still at 11.0. In that case, refer to this thread for solutions:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13542
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 05:48 PM
тАО05-04-2005 05:48 PM
Re: Erasing Disks HPUX 11.00
#dd if=/dev/zero of=/dev/rdsk/cXtXdX bs=1024k
Regard,
HoangChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2005 03:42 AM
тАО05-05-2005 03:42 AM
Re: Erasing Disks HPUX 11.00
That should solve the problem
Aidan