Hello. My host machine is Windows 7 and Guest OS is Vitual Machine Oracle Linux 5.
I installed Oracle Database 11gR1 in guest OS Oracle Linux 5.
Because I run RMAN > RESTORE DATABASE a few times and it consumes much disk space in Oracle Linux 5. I cannot continue to run RMAN > RESTORE DATABASE because the system indicates that not enough disk space to do.
As I know, in Ubuntu, when install Software, the package manager downloads all packages to the system and then cache them there in case they need to install again. This wastes much disk space. Its directory is /var/cache/apt/archives. We can delete the files in this folder to get much disk space.
But in Oracle Linux 5, I don't know which directory holds duplicated downloaded software and how to delete them to get disk space.
My question is:
How to clean up hard disk in Oracle Linux 5 to get more Disk Space ?
Thanks in advance.
depending what what do you use, yum or up2date ( for 5.5 and older )
I don't know what you installed, but a default Oracle Linux 5 server installation occupies about 3 GB. And even after a substantial update it won't increase much. If you would like to increase the root or any other Linux partition or LVM volume for the matter of exercise, fine, but since you are using a virtualization product, the most reasonable approach to me would be to simply add another virtual volume or disk image and then use that to store your rman backups. Of course your computer needs to have the necessary free disk space. Beware of creating any snapshots of your virtual machine, which depending on image type (fixed vs. dynamic) can double your storage needs. Are you using your virtual machine for browsing the Internet then you can probably save quite some disk space removing the internet cache,downloads, etc.