Issue with adding more storage space to owncloud


#1

Hello,

I run a home server with owncloud 10.0.3.3 installed over Ubuntu server 16.10.
Initially I had only 2 hard disks, a 500GB for the operating system and a 2TB for owncloud. Recently I have added a 3TB disk with the intention to increase the storage space for owncloud. I used mhddfs to merge the two partitions from the 2TB and 3TB disks into one single partition of 5TB. Then I changed the data directory in config.php to the new partition and everything was ok in the sense that owncloud is running fine.

However, if I go in my owncloud admin interface and give a user 3TB of storage this is not correctly shown in the user interface. When the user opens its own interface, a different number, way smaller (for example 1.6 TB only) is shown.

I paste below the outputs from fdisk, lsblk and df.

Thank you in advance for your help.

liviu

fdisk -l

lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 2.7T 0 disk
└─sdb1 8:17 0 2.7T 0 part /mnt/disk3t
sdc 8:32 0 1.8T 0 disk
└─sdc1 8:33 0 1.8T 0 part /mnt/disk2t
sda 8:0 0 465.8G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 465.3G 0 part
│ ├─ClimeForceOne--vg-swap_1 253:1 0 4G 0 lvm [SWAP]
│ └─ClimeForceOne--vg-root 253:0 0 461.3G 0 lvm /
└─sda1 8:1 0 487M 0 part /boot

df -h

Filesystem Size Used Avail Use% Mounted on
udev 6.8G 0 6.8G 0% /dev
tmpfs 1.4G 9.3M 1.4G 1% /run
/dev/mapper/ClimeForceOne--vg-root 454G 16G 415G 4% /
tmpfs 6.9G 0 6.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 6.9G 0 6.9G 0% /sys/fs/cgroup
/mnt/disk2t;/mnt/disk3t 4.5T 485G 3.8T 12% /mnt/virtual5t
/dev/sdb1 2.7T 89M 2.6T 1% /mnt/disk3t
/dev/sda1 472M 113M 335M 26% /boot
/dev/sdc1 1.8T 485G 1.3T 28% /mnt/disk2t
tmpfs 1.4G 0 1.4G 0% /run/user/1000


#2

Has ownCloud right permissions for the new storage/ partition?

chown -R www-data:www-data /path/to/your/new_mnt_drive


#3

Yes, all partitions involved in the storage have been granted with the right permissions.

Below is my output from ll in /mnt. The initial installation has been made with /mnt/disk2t only. Now, owncloud is set on /mnt/virtual5t after I added /mnt/disk3t and merged the two partitions with mhddfs.