Operating System - HP-UX
1745909 Members
4215 Online
108723 Solutions
New Discussion юеВ

Re: Test write performance found error

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: Test write performance found error

This command will write to a file, so nothing will be overwritten.

You will get an error, if the file system is full before the command has finished.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: Test write performance found error

>if it runs command "dd ... count=1000 bs=512kb", /tmp/sysinfo.tgz file will be overwrite part of original data, right?

All of 512 Mb of /tmp/sysinfo.tgz will be overwritten.
Dennis Handly
Acclaimed Contributor

Re: Test write performance found error

>ME: All of 512 Mb

Oops, I rounded it up too much, 500 Mb as you said.
study unix
Regular Advisor

Re: Test write performance found error

Hi Torsten, Dennis,
Thanks for your help,
Torsten ---This command will write to a file, so nothing will be overwritten.
Dennis---All of 512 Mb of /tmp/sysinfo.tgz will be overwritten.
original data will be overwrite or not ?
Dennis Handly
Acclaimed Contributor

Re: Test write performance found error

>original data will be overwrite or not?

Yes, provided it was <= 500 Mb.
Torsten.
Acclaimed Contributor

Re: Test write performance found error

The file /tmp/sysinfo.tgz will be overwritten.



But why you want to write to this file???

Write to another file!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
study unix
Regular Advisor

Re: Test write performance found error

Hi Dennis and Torsten,
Thanks for all help, as your points,
If I test one disk write performance, it should run command "dd if=/dev/zero of=/dev/rdsk/cxdxtx count=xxx bs=xxx, but if original data exists in /dev/rdsk/cxtxdx, it will lose part of data due to be overwrite, right? that is what other ways to test disk write performance?
Torsten.
Acclaimed Contributor

Re: Test write performance found error

Consider to sarch the hp-ux forum for related threads - you'll get a lot of good hits.

http://forums.itrc.hp.com/service/james/home.do?from=forums

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!