[RESOLVED] Can't see all the free space

Nextcloud version: 20.0.7
Operating system and version: Raspberry Pi OS Kernel version: 5.4
Apache or nginx version: Apache/2.4.38 (Raspbian)
PHP version 7.3.19

So i mounted a HDD 2TB on /var/clouddata and added to the “data folder”. I can see that the files are writen in the “clouddata” but i can’t see how much space is on it.

As in the tutorial here: How to install Nextcloud on your Raspberry Pi 4 | by Auios | Medium

I also added to the www-data (user and group).
Can you help me?

Steps to replicate it:

  1. mountent the HDD to /var/clouddata
  2. Added the directori to “Data folder”
  3. Finish the setup.

Thank you :slight_smile:

How do you mean please xplain your problem in more details, whats the exact problem ?

Adriaan

I can’t see the storage (clouddata) in the nextcloud serverinfo…
I can see only “root” and “mmcblk0p1” but nothing with “clouddata” :frowning:

.

PLease execute follwing command and post the result here ok

df -h

Thanks

i’ve done this and i can’t see it :frowning:
image

Only with

sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL

Sure that it is mounted then? Mountpoint just shows where it is or will be mounted.

Ok…I think i have seen the problem.

So i have this, in: /etc/fstab

UUID=code-of-hdd /var/clouddrive nosuid,nodev,nofail,x-gvfs-show 0 0

if i comment the line and it mounts on “media”, I can see it with “df -h”.

Do you have something the same? can you show me an example? Maybe i didn’t mount it right…

if i do like this:

sudo mount /dev/sda1 /var/clouddrive

i can see the “dev/sda1” in the “df -h”

ok…so i changed from

/var/clouddrive

to

/media/hddcloud

But, to be onest, i realllyy don’t know why it works like this and another ways is not working.
What I’ve done wrong?

Thanks for the help

I suppose something is then not correct with this options. If you leave it in, you can try to mount it with just sudo mount /var/clouddrive and then it will give you more specific errors. Or you can check your system or boot log. What is the x-gvfs-show option supposed to do?
I never used it on a server but I haven’t installed a x-system either, if you search for it you find stuff like fstab - Unrecognized mount option "x-gvfs-show" or missing value - Ask Ubuntu

well…it was a bug in the Raspberry Pi OS, after 2 days it crashed completely. Made a fresh install and now it works perfect.

Thanks a lot!