I created a Nextcloud (20.0.7) with nginx, MariaDB, php, Redis en Fail2ban on Ubuntu 20.04.1 Server.
My computer has a 4 TiB HDD. When setting up Ubuntu I used the entire disk for Ubuntu.
I also connected Dropbox to my server and want to copy the files from Dropbox to Nextcloud.
While Dropbox is syncing the files to my hard drive, the computer tells me after a while when I reboot the server:
=> / is using 94.3% of 195.86GB
Why is my computer not using the large partition of 4 TiB for my files?
How can I set the partition where my files should saved?
Best regards,
Marianne
Please show the console output of: df -h
What type of Nextcloud installation is this? (manual, snap, docker, etc.)
And what is the location of your Nextcloud data folder?
#df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 785M 1.2M 784M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 196G 6.6G 180G 4% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 976M 104M 806M 12% /boot
/dev/loop0 72M 72M 0 100% /snap/lxd/16099
/dev/loop1 55M 55M 0 100% /snap/core18/1880
/dev/loop2 30M 30M 0 100% /snap/snapd/8542
tmpfs 785M 0 785M 0% /run/user/1000
I don’t know why I don’t see my large disk of 4 TB:
#fdisk -l
Disk /dev/loop0: 71.28 MiB, 74735616 bytes, 145968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 54.98 MiB, 57626624 bytes, 112552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 29.9 MiB, 31334400 bytes, 61200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 3.65 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A73DC290-79B3-4145-A434-63160B676A83
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 7814033407 7811932160 3.7T Linux filesystem
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 200 GiB, 214748364800 bytes, 419430400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
I am setting up Nextcloud manual
My Nextcloud data folder should be /var/nextcloud_data.
I am starting with an empty HDD and first I have to install Ubuntu Server 20.04.1. May be I don’t have to use the entire disk, but partition it. Which partitions are the best for me?
Best regards,
Marianne