Use my second HDD for temporary files

Vex.xyz

New Member
Joined
May 17, 2021
Messages
2
Reaction score
0
Credits
28
Hello!!
I am a linux newbie and not a geek, at all. It's days that I am looking for a solution and not finding a way out.
I have a desktop with 500 GB SSD and a secondary 1.8 TB HDD. The SSD is partitioned among Windows and Ubuntu 20.04.
I haven't done the partition myself, because I was very useless from that side at the time. I didn't worked pretty much on a linux machine before. After almost a year I decided to start moving to linux, basically because of my job.

I am now working on pipeline installed in a miniconda environment with a very big set of data (let's say about 25 GB, compressed, that is stored in my HDD). Although my computer have 32 GB memory the pipeline crashes for lack of space for the temporary files (which are quite big). I have, indeed, realized that the guy who set up the partition allocated about 450 GB of my SSD for Windows and 50 GB for Ubuntu.

I have been looking for a solution for days. I explored the possibility to redirect the temporary files produced in the HDD but whatever I try they always end in my HOME/tmp drive.

What am I supposed to do? I have read a lot these days but I am still not capable to find a solution. I am also not very good with linux OS in general... so if can please give me some suggestions please use a simple language (like dummies level).

I will be grateful for life to anyone who would help, REALLYl!!

P.S: I don't know if this can help... This is how my partition looks like

$ lsblk
Code:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0  55,5M  1 loop /snap/core18/1988
loop1    7:1    0  55,5M  1 loop /snap/core18/1997
loop2    7:2    0  65,1M  1 loop /snap/gtk-common-themes/1515
loop3    7:3    0   219M  1 loop /snap/gnome-3-34-1804/66
loop4    7:4    0  32,1M  1 loop /snap/snapd/11841
loop5    7:5    0    51M  1 loop /snap/snap-store/518
loop6    7:6    0  32,3M  1 loop /snap/snapd/11588
loop7    7:7    0  64,8M  1 loop /snap/gtk-common-themes/1514
sda      8:0    0   477G  0 disk
├─sda1   8:1    0   529M  0 part
├─sda2   8:2    0   100M  0 part /boot/efi
├─sda3   8:3    0    16M  0 part
├─sda4   8:4    0 427,5G  0 part
└─sda5   8:5    0  48,8G  0 part /
sdb      8:16   0   1,8T  0 disk
└─sdb1   8:17   0   1,8T  0 part /media/viviana/Archivio
sr0     11:0    1  1024M  0 rom
 
Last edited:


I have just spotted an error in my msg: my dataset is 25 GB, not 250 as I wrote at first (now it's edited).
Cheers
 

Members online


Top