Datacentre Support Reference Guides

AIX:  vmstat - can't read from device or file

 

 
 

If/when receiving an error from vmstat which states:

# vmstat 5 10
<<Normal VMSTAT header>>
read: No such device or file

you should check the following as well:

SAR:

You should be getting an error something to the effect:

sadc: read of fsvar structure failed: No such device or address

You can also run vmtune (ref vmtune locations per OS level). If the vmtune parameters are out of whack, you can try the following to fix all these errors:

# bosboot -a -d /dev/hdisk##
# shutdown -F -r now

The hdisk## is the boot device. You can check this out by getting into diags, then listing the boot list, or doing a lsvg -p rootvg.