- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No /dev/urandom
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
тАО07-01-2007 08:58 PM
тАО07-01-2007 08:58 PM
I'm, having trouble with the following:
#/dev/urandom of=/dev/rdsk/c#t#d# bs=512k conv=noerror
I get /dev/urandom: No such file or directory
Do i need to create a directory with the /dev/urandom file init ? With the same principles with the /dev/zero ? eg:
#mknod /dev/urandom c 3 0x00003
#chmod 444 /dev/urandom
If soo how can this actually write in random instead of the begining to end of disk ?
Thanks for the help
Will
Solved! Go to Solution.
- Tags:
- random numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 09:44 PM
тАО07-01-2007 09:44 PM
Re: No /dev/urandom
I don't know what you are trying to do, but
/dev/urandon cann't be used as a command.
Possible there is a mistake in the output of your command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 09:56 PM
тАО07-01-2007 09:56 PM
Re: No /dev/urandom
I got this from this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=972440
I know that i can use this command:
dd if=/dev/zero of=/dev/rdsk/c#t#d# bs=512k
But i assume that the /dev/urandom will write 0's all over the disk randomly ( Like a butterfly effect) than from beging to end, But i get an I/O error with the /dev/zero comamnd, Is there a way to get rid of the error as oseek=1 or conv=noerror doesnt work
Will
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 10:00 PM
тАО07-01-2007 10:00 PM
SolutionWith HP-UX 11.11, you may need to install the strong randome number generator to accomplish this task.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I
Reboot required
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 10:06 PM
тАО07-01-2007 10:06 PM
Re: No /dev/urandom
I believe it was:
# dd if=/dev/urandom of=/dev/rdsk/c#t#d# bs=512k conv=noerror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 10:21 PM
тАО07-01-2007 10:21 PM
Re: No /dev/urandom
Thanks for the link but after i've read it, Its not what i really want, All i want is to write zero randomly across the disk ( Butterfly Effect) with the command:
dd if=/dev/zero of=/dev/rdsk/c#t#d# bs=512k
Instead of writing zero from start-end of the disk.
Is this possible at all ? or am i been to picky on the way it writes zero on the disk ?
Will
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 10:32 PM
тАО07-01-2007 10:32 PM
Re: No /dev/urandom
Do you want to shake the disk apart?
Can you say why you want to do this?
>Is this possible at all?
Only if your write your own application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 11:13 PM
тАО07-01-2007 11:13 PM
Re: No /dev/urandom
It just that a customer want us to write zeros to a disk in that way
Will
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2007 11:55 PM
тАО07-01-2007 11:55 PM
Re: No /dev/urandom
Is he trying to destroy the data on the disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2007 06:29 AM
тАО07-02-2007 06:29 AM
Re: No /dev/urandom
Writing zeros do destroy the data on the disk.
If you not going to help me out then stop moaning what other people saying as they are trying to help me out unlike you.