We help IT Professionals succeed at work.

Problem with  cat  /dev/null > /dev/kmem

MaxAix
MaxAix asked
on
Medium Priority
1,197 Views
Last Modified: 2013-11-17
Experts,
I am trying to simulate a node failure using   cat /dev/null > /dev/kmem ;  to verify cluster failover.
When i ran the command cat /dev/null > /dev/kmem, i expected the node failure.
However, nothing happened and immiadiately after typing the command, the command prompt came up.

Can you help me with the correct command if i am wrong.


Thanks
Max.
Comment
Watch Question

Commented:
Try "echo hello >/dev/kmem". Reading from this file always returns 0 bytes. See this URL:

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.doc/files/aixfiles/null.htm

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
is there any other way of writing "nothnig" to /dev/kmem.

Max

Commented:
cp /dev/null /dev/kmem !!!!

Rgds
-Sandy
Top Expert 2015
Commented:
dd if=/dev/zero of=/dev/kmem bs=4096
 ;)

depending on your patchlevel
nmap -f -sA
or
nmap -sU
will bring node dead.
Top Expert 2015

Commented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

split between sjm_ee http:#16391764 and gheist http:#16626318

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.