SUMMARY: iostat -n in Solaris 2.8

2007-12-25 0:15:00

QUESTION:
'iostat -n' can be run successfully by any user in 2.6 but this fails
in 2.8 with the message:
"iostat: stat of /dev/osa/dev/dsk failed
: Permission denied"
I am guessing that iostat -n must use the path /dev/osa/dev/dsk to
translate devices names from sd* to c*t*d*.
The permissions of /dev/osa differ between Solaris 2.6 and 2.8 in our
environment. /dev/osa, /dev/osa/dev and /dev/osa/dev/dsk lack o+x in
2.8.
Is this normal? Will adding execute other to /dev/osa, /dev/osa/dev and
/dev/osa/dev/dsk in Solaris 2.8 cause problems?

ANSWER:
"This is a known issue. The SUNWosar postinstall script performs a chmod on /dev/osa to 774. Just change permissions to 775 and that
will fix the problem." - Arlina, Sun Microsystems, Solaris UFS File System/Format section of http://supportforum.sun.com

By the way, patch 106655-04 or higher will make iostat -n work on Solaris 2.6.

Comments

Got something to say?

You must be logged in to post a comment.