- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Format command?
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
Forums
Discussions
Discussions
Discussions
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
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-09-2003 10:23 PM
12-09-2003 10:23 PM
I am using HP 877 10.20...
What command do I use for erase/format all hard drives?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 10:26 PM
12-09-2003 10:26 PM
Re: Format command?
to remove all the files from a disk
cd /disk_mount_point
rm -r *
there is generally no need to format HP disks is there any particular reason for wanting to do this ?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 10:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 10:33 PM
12-09-2003 10:33 PM
Re: Format command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 10:52 PM
12-09-2003 10:52 PM
Re: Format command?
If your trying to clear drives for your own reuse, you're going about it the wrong way entirely.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:00 PM
12-09-2003 11:00 PM
Re: Format command?
Surely, I am using ioscan -funC disk first.
Now, tell me how can I wipe it out by using dd command?
Like this: dd if=/dev/zero of=/dev/rdsk/xx
Right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:08 PM
12-09-2003 11:08 PM
Re: Format command?
Exactly!
But, I still ask what you are trying to accomplish.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:18 PM
12-09-2003 11:18 PM
Re: Format command?
IGOR >> ll /dev/zero
crw-rw-rw- 1 bin sys 3 0x000004 May 17 2002 /dev/zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:22 PM
12-09-2003 11:22 PM
Re: Format command?
why are you needing to do this ?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:28 PM
12-09-2003 11:28 PM
Re: Format command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:39 PM
12-09-2003 11:39 PM
Re: Format command?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:42 PM
12-09-2003 11:42 PM
Re: Format command?
True but I am working for the Pentagon so I HAVE to format/erase all disks NO MATTER WHAT!
All I do is:
ioscan -funC disk
dd if=/dev/zero of=/dev/rdsk/xxxx
Hope it works... Smile.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:43 PM
12-09-2003 11:43 PM
Re: Format command?
If you are throwing it away and there is no need for *anyone* to be able to access the disks then mediainit is fine. I don't know as I see any real advantage over using the dd command, though. In fact, I think dd might be faster. I would suggest:
dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=1024k
for all non root drives, and rm -rf /* for the root drive.
Have fun!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:47 PM
12-09-2003 11:47 PM
Re: Format command?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 11:57 PM
12-09-2003 11:57 PM
Re: Format command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 12:18 AM
12-10-2003 12:18 AM
Re: Format command?
I'm not familiar with your 877, but I'm guessing you would have to open the case to access the hard drive and then pass the magnet over it, though you might be able to do it through the case - you could try waving the magnet at it and then see if it boots.
Otherwise, I would go back to my earlier suggestion: use "dd" on the non-root drives and "rm -rf" or "dd" on the root drive. Either way, the drive is going to be pretty well trashed.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 12:24 AM
12-10-2003 12:24 AM