- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dd coomand
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
07-20-2001 02:57 PM
07-20-2001 02:57 PM
dd coomand
what is wrong in this command
dd if=/dev/null of=/dev/vg123/rlovol1 bs=8 &
Iam doing some benchmarking stuff and want to generate lots of io's. Looking forward to your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 03:07 PM
07-20-2001 03:07 PM
Re: dd coomand
When using /dev/null as input you always read 0 bytes though you can write an unlimited number of bytes to it.
You can use /dev/zero (if it exists otherwise you will need to create it) as input and it will supply endless ASCII NUL's.
If you need to create /dev/zero
mknod /dev/zero c 3 0x000004
Also, if you use /dev/zero you should probably supply a count=xxxxx value to stop it.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 03:39 PM
07-20-2001 03:39 PM
Re: dd coomand
dd if=/dev/vgemc/rlvol22 of=/dev/vgnew1/rlvol1 bs=8
copy from one raw device to another ? Is the command ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 03:50 PM
07-20-2001 03:50 PM
Re: dd coomand
Yes that is fine but bear in mind that you may be distorting your transfer rates. It's best to use the /dev/zero device for input and the /dev/null for output because then you are not confusing the transfer rates by introducing a second disk device. I notice that you are doing your i/o's in 8 byte chunks which is not the typical raw device io size.
Transfers of this size are normally buffered by the unix buffers or SGA.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 04:07 PM
07-20-2001 04:07 PM
Re: dd coomand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 04:13 PM
07-20-2001 04:13 PM
Re: dd coomand
Do an lsdev and look for character device 'mm'. It should be 3. Minor number is 0x04.
mknod /dev/zero c 3 0x04 should work just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2001 08:39 AM
07-23-2001 08:39 AM
Re: dd coomand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 10:13 AM
08-03-2001 10:13 AM
Re: dd coomand
Bill Hassell, sysadmin