- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk scrub for 11.11 servers
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
тАО12-02-2009 07:47 AM
тАО12-02-2009 07:47 AM
I have seen that there is a disk scrub for 11.31. Is there one for 11.11?
If not, what is the best, most secure way to clean the disks?
Thanks,
Pam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 07:53 AM
тАО12-02-2009 07:53 AM
Re: disk scrub for 11.11 servers
The disk scrub of which you speak isn't available in 11.11. That said, you can do one or more passes of this:
# dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=1024k
# dd if=/dev/urandom of=/dev/rdsk/cXtYdz bs=1024k
Note the large blocksize and the use of the raw device to bypass the buffer cache.
Generally one pass is sufficient for most purposes. Multiple (>10-15) passes are required to retard the spooks who _really_ want to discover your data.
Of course, as shredder and an acid bath work wonders.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 07:56 AM
тАО12-02-2009 07:56 AM
Re: disk scrub for 11.11 servers
Can I login to the server and do this from the command line while the server is up at run level 3? Or do I need to boot it off cd and run this command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 08:39 AM
тАО12-02-2009 08:39 AM
SolutionYou can do this for all disks that are NOT boot disks while the server is at run level 3.
For your boot disks, if you have a similar server, you can take them out of their primary server, insert them into another server and run the 'dd' from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 08:47 AM
тАО12-02-2009 08:47 AM
Re: disk scrub for 11.11 servers
There are three servers in all that I am decommissioning.
I could take the internal disks from two of the disks and put them into the third server but that still leaves me with one server's disks that I will not be able to wipe clean with the dd command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 08:53 AM
тАО12-02-2009 08:53 AM
Re: disk scrub for 11.11 servers
I'd be less concerned about scrubbing a boot disk than one that had held sensitive data, assuming that its only the operating system contents on the disk. Patrick's suggestion is a good one for that, though.
If you are decommissioning a boot disk, you can start a 'dd' against it that grinds to an end. While the 'dd' runs, recursively remove mountpoints and the kernel ('/stand/vmunix') itself. You won't be booting the disk again.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 08:53 AM
тАО12-02-2009 08:53 AM
Re: disk scrub for 11.11 servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 09:00 AM
тАО12-02-2009 09:00 AM
Re: disk scrub for 11.11 servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 09:00 AM
тАО12-02-2009 09:00 AM
Re: disk scrub for 11.11 servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 01:13 PM
тАО12-17-2009 01:13 PM
Re: disk scrub for 11.11 servers
http://sourceforge.net/projects/diskscrub/files/diskscrub/1.9/disk_scrub_B.1.9_HP-UX_B.11.11_PA.depot/download
Be sure you have a REAL /dev/random. HP has a KRNG* "patch" to create /dev/random.
Scrubbing is slow, but effective.