- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- clean disc by dd?
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
08-20-2002 06:11 AM
08-20-2002 06:11 AM
I always though a 'dd if=/dev/null of=/dev/rdsk/c1t1d0 bs=1025k' might work, but it does not. Even after the dd, the disk starts booting..
Please provide me a solution which is better than putting the disc on a fridge or in a microwave.
Ceesjan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:16 AM
08-20-2002 06:16 AM
Re: clean disc by dd?
Good and useful link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:16 AM
08-20-2002 06:16 AM
Re: clean disc by dd?
Perhaps mediainit?
Regards and Congrats,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:20 AM
08-20-2002 06:20 AM
Re: clean disc by dd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:28 AM
08-20-2002 06:28 AM
SolutionIf you want to overwrite the entire disk you should take the input from /dev/zero (0x000004).
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:34 AM
08-20-2002 06:34 AM
Re: clean disc by dd?
dd if=/dev/zero of=/dev/rdsk/cxxxx bs=1024k count=50
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:38 AM
08-20-2002 06:38 AM
Re: clean disc by dd?
I think you can write some pattern like
dd if=/dev/zero of=/dev/rdsk/c1t1d0 bs=1024K ( not 1025K)
or you can try mediainit also.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:50 AM
08-20-2002 06:50 AM
Re: clean disc by dd?
I look at the /dev/zero, but it not available on my system and ofcourse i could create myself with the help of the C-program in one of the other threads.
Nevertheless i like the if=/stand/vmunix variant. It is always at hand (otherwise you wouldn't have a prompt for typing commands) and it no need for count= option.
Thanks Team ITRC.
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 06:55 AM
08-20-2002 06:55 AM
Re: clean disc by dd?
If you are running 11.11 you should already have /dev/zero. If not, do this to create it:
# mknod /dev/zero c 3 0x000003 #...on 10.20
# mknod /dev/zero c 3 0x000004 #...on 11.x
# chown bin:bin /dev/zero
# chmod 444 /dev/zero
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 12:07 AM
08-21-2002 12:07 AM
Re: clean disc by dd?
Do *not* use mediainit for this purpose.
For details, see the recent thread "How/when (not) to use mediainit?" (<>).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 06:17 AM
08-21-2002 06:17 AM
Re: clean disc by dd?
# mediainit /dev/rdsk/cxtxdx
man mediainit(1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 11:44 AM
01-21-2003 11:44 AM
Re: clean disc by dd?
0+0 records in
0+0 records out
If I use /dev/zero I'm told the file zero does not exist. What is expected if the command works correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 11:46 AM
01-21-2003 11:46 AM
Re: clean disc by dd?
John