Tuesday, May 7, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 511  / 1 Year ago, sun, may 28, 2023, 11:23:08

I have two ssd disks, Disk B is devoted to /home, and disk A is the filesystem and is 90% empty.



So I made on disk A a partition /dev/sda3 with 80% of the free space. Now I am wondering what is the best way to somehow add the newly created partition to my /home which is located at /dev/sdb1?


More From » partitioning

 Answers
0

Add a line in /etc/fstab for that disk and it will be mounted automatically i.e.



/dev/sdXY /mnt/data   ext4 noatime,noexec


You can mount it somewhere else and create a soft link to a folder under your home with big files (say downloads or something) and spread the files between the two



ln -s /mnt/data /home/alifish/downloads


with



df /home/alifish/downloads


you should see the true location of the directory


[#36735] Tuesday, May 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
howesale

Total Points: 224
Total Questions: 117
Total Answers: 116

Location: Nauru
Member since Thu, May 18, 2023
1 Year ago
;