0

I have two mounted harddrives (one hdd and one nvme) besides my main hd, my docker file (weaviate) will install massive code, and also data. I want the code on HDD and the data on nvme.

I suppose my question is that the code will install on the default harddrive - I presume, only 30Gb and I want it to spill over automatically to my HDD 120Gb. Is there a way I can do this? I can force data to nvme. Currently I have them partitioned and mounted as follows:

Create new empty partitions:
# parted -s /dev/vdb mklabel gpt
# parted -s /dev/vdb unit mib mkpart primary 0% 100%

Create new empty filesystem:

mkfs.ext4 /dev/vdb1

Mount block storage:

mkdir /mnt/blockstorage

echo >> /etc/fstab

echo /dev/vdb1 /mnt/blockstorage ext4 defaults,noatime,nofail 0 0 >> /etc/fstab

mount /mnt/blockstorage

msj121
  • 101

0 Answers0