Yum update nohup Insufficient space in download directory

Yum update is used to patch red hat/oracle enterprise linux. Can take a while, so best run nohup:

rm -f nohup.out
nohup yum -y update &

By default yum stores its temporary downloads into /var, if that is low in space a symbolic link will workaround:

rm -fr /var/cache/yum/updates/packages
mkdir /bigfs/packages
ln -s /bigfs/packages /var/cache/yum/updates/packages

After patching OS, each oracle home should be relinked as the oracle user:

$ORACLE_HOME/bin/relink all

H/t Peter Farrows and flyingfsck.

July 3, 2013

Leave a Reply

Your email address will not be published. Required fields are marked *