ownCloud is not using all available disc space


#1

Problem

I have set a quota of “unlimited” for me or a user but ownCloud is not using all available disc space.

Background

ownCloud is using the disc space provided by the operation system. If you have two partitions within your operating system like (This is the output of “df -h” entered into the terminal of your server):

Filesystem Size Used Avail Use% Mounted on /dev/root 20G 8.3G 9.9G 46% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 2.0G 9.6M 2.0G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/sda3 1.8T 271G 1.5T 16% /home tmpfs 393M 0 393M 0% /run/user/1000

for example and oC is placed on /var/www/owncloud only the 9.9 GB free space can be used by ownCloud.

Solution

There is currently no official supported way to move the data directory of ownCloud to another partition so you have to choose one of the following solutions:

  1. Re-Install ownCloud and configure oC to use a data directory within your /home partition. This can be configured during the setup of ownCloud
  2. Re-size your partition and give more free space to the “/” partition
  3. Shrink the “/home” partiton and create a new partition from that new available space on /var/www/owncloud

How to increase local storage space on Owncloud
closed #2