I have Owncloud installed and working, but I want it to use my secondary hard drive as opposed to the drive I have Ubuntu installed on. How is this possible?
The documentation is rather confusing and outdated (I'm using Owncloud 5).
For allowing the use of a personalized storage media, you need the External Storage module enabled in your Apps.
Once you have enabled this module, you will have new options in the Admin page called External Storage. Configure the Folder name, the type (if it's Local, Google Drive, WebDAV, etc.), the configuration (in the case of a Local, the target directory) and the users with access.
Once you have ended, you can go to the main screen and you will find a directory with the name of the resource.
ownCloud save all files in /var/www/owncloud/data.
You may open '/var/www/ownclou/config/config.php' and search for ‘datadirectory’. Replace ‘/var/www/owncloud/data’ with your shared folder full path. Make sure ownCloud has enough privilege to write to that folder.
You may see detail in Assign a different Directory in ownCloud to Store All Backup Files.
chown -R www-data:www-data /path/to/your/new_mnt_drive