1752749 Members
5106 Online
108789 Solutions
New Discussion юеВ

Re: dd command

 
SOLVED
Go to solution
nagarjuna reddy
Advisor

dd command

Hi,

I typed the following command few minutes ago, what would be the result of the command. pls help me, i am not a sys admin.

#dd if=/dev/dsk/c1t1d0s2 of=/dev/null bs=4k

thanks & regards,
nagarjuna
12 REPLIES 12
VK2COT
Honored Contributor
Solution

Re: dd command

Hello,

The command will copy raw blocks fro
your disk into "bit bucket" and
it will take a very long time due to your small
block size of 4 KB.

In other words, you are, in a very simple
way, checking if slice 2 of a boot disk
has some read errors.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
nagarjuna reddy
Advisor

Re: dd command

hi,

can i stop the dd process now,

what will happen then?
Shibin_2
Honored Contributor

Re: dd command

Yes you can break it, nothing will happen for this.

But you wont' get the expected result.

Looks like your disk has problem.
Regards
Shibin
nagarjuna reddy
Advisor

Re: dd command

thanks for the reply,

can i kill the process or is there any way??
pls suggest me.

thnks
nagarjuna reddy
Advisor

Re: dd command

hi,

when i kill the dd process it is not going to kill.

pls. suggest me for further step. its very urgent,
Johnson Punniyalingam
Honored Contributor

Re: dd command

you can press ctrl c to break it ,

try if it helps , otherwise

Post command output.

ps -ef |grep -i dd
Problems are common to all, but attitude makes the difference
Shibin_2
Honored Contributor

Re: dd command

When you press Ctrl+c it breaks. If that doesn't work, open a new session, search for the PID of dd command.

ps -ef |grep -i dd

then kill it.

kill -9
Regards
Shibin
nagarjuna reddy
Advisor

Re: dd command

hi,

it did not worked, and the server is running very slow,

its a prodution server
Shibin_2
Honored Contributor

Re: dd command

>> it did not worked, and the server is running very slow,

What? Ctrl+c or kill command?
Regards
Shibin