Determine high i/o reads/write directories
>I have a DRBL server, basically an nfs fileserver, which I am rebuilding. I want to
>put the high i/o directories on a separate raid array for performance. Currently
>everything is under / in one raid array.
>How can I tell which directories, obviously other than /home, are getting high
>reads and/or writes? Any tools to measure i/o per directory?
Well there certainly might be better ways, but if iotop for example indicates a
process is producing high file IO, lsof -p <pid> will show which file.
CentOS mailing list