On my GRID server on 1 of my disks I have a directory named staging. In there are directorys that are number base. In those directorys are files which date at least 2 years back. What is this directory, what process inputs data there and how do i clean / delete data from this stagins directory. Here's how it looks like.
I can't check it at the moment but it could be the Software Library. But if nothing has changed(timestamp) the last 2 years I doubt it. You can check in EM what directory is defined as Software Directory, see http://www.oracledistilled.com/grid-control/configuring-the-software-library-for-oracle-enterprise-manager-11gr1-grid-control/
If on the other hand the staging directory is what it normally is than it is nothing more then a temporary used directory during the installation. Which is ,again, normally cleaned up. Maybe something went wrong during the installation 2 years ago and the cleanup did not happen.
If the directory can be deleted I would first rename the directory, back it up and after a week or so delete it.
Not sure which version are you but in software library is a REQUIRED component in EM 12c as it is used for a number of internal operations - such as self-update (online or offline), EM patching, etc. So deconfiguring software library is not recommended.
Can you first confirm that the staging directory is indeed the Software Library directory as defined in EM using the link in my previous post or Venkat's post? Because if this is not the case I don't see a problem removing this directory.