How to expand Nextcloud storage space with volumes?

Posted October 27, 2020 3.7k views
Block Storage

I am running Nextcloud 19.04 on a Ubuntu 20.04 Droplet. I have enabled the external storage app after adding a Volume, but I don’t see it. It should have been automatically configured and mounted, but it’s not showing up. Is there anything else I need to do?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi there @dangilleran7,

In order to check if your volume has been mounted, you can SSH to your Droplet and run the following command:

  • df -h

If you do not see the new volume, you can manually mount it as described here:

Hope that this helps!

  • Hi @bobbyiliev I see the 100G volume, mounted as dev/sda, but my server doesn’t seem to be using it and reports disk space as full. Is there any reason that would be happening?

    Here is the full output of df -h if you’re curious

    $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            474M     0  474M   0% /dev
    tmpfs            99M   11M   88M  12% /run
    /dev/vda1        25G   25G     0 100% /
    tmpfs           491M     0  491M   0% /dev/shm
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           491M     0  491M   0% /sys/fs/cgroup
    /dev/vda15      105M  3.9M  101M   4% /boot/efi
    /dev/loop0       56M   56M     0 100% /snap/core18/1885
    /dev/loop1       71M   71M     0 100% /snap/lxd/16922
    /dev/loop2       31M   31M     0 100% /snap/snapd/9607
    /dev/loop3       31M   31M     0 100% /snap/snapd/9721
    /dev/loop4      253M  253M     0 100% /snap/nextcloud/24018
    /dev/sda        100G   61M   95G   1% /mnt/volume_nyc1_01
    tmpfs            99M     0   99M   0% /run/user/1000
    • Did you ever figure this out? I’m at the same point right now.

    • You’ll need to log into Nextcloud as admin.

      Go to Settings, and on the left panel, under Administration, click External Storages. In the main window click on Add Storage and select Local from the dropdown list.

      Enter a friendly name in the Folder Name field (this is the name the folder will be shown as to users when navigating Nextcloud files - I use ‘ExtraSpace’).

      Leave Authentication blank.

      In Configuration, enter /mnt/[block storage name]. (In your case it would be /mnt/volumenyc101

      Leave Available for blank for all users to have read and write access.

      Click the tick at the end of the row, and if all is well, you should get a green circle with a tick in it at the beginning of the row you have just filled in.