I was running out of space on my hard drive which holds the Ubuntu Server OS and Owncloud data. I bought a refurbish IDE hard drive and added to my server. My 2nd hard drive is mounted on the /home/ranjith/data. Now I need to have this folder added to my Owncloud server so that I can use this drive in the cloud.

first give this folder file permission as follows

 chown -R www-data:www-data /home/ranjith/data

There is an app call external storage support in Owncloud, we need to enable that first.


Now the app is enabled, click on Admin on Owncloud


green indicates that the folder is available to use.