I have a Oracle Enterprise Linux Server that is serving a website at /var/www/html/, there is a directory inside /var/www/html/ called "Attachments". This directory is growing very big (around 17GB atm) and the "/" partition is only 50GB.
The website reads and writes data from/to /var/www/html/Attachments/ , What i want is to move the files to /home/Attachment and maybe create a link on /var/www/html/Attachment to avoid filling / and using /home/ as storage. Is that possible ? will the PHP application be affected ? and if it is possible how can i achieve that ?
Below is the file system portioning:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_oel-lv_root
50G 17G 33G 34% /
tmpfs 7.9G 3.8G 4.1G 48% /dev/shm
/dev/sda1 485M 56M 404M 13% /boot
/dev/mapper/vg_oel-lv_home
835G 57G 745G 7% /home
Best regards