2024-10-25, 05:50 PM
I'm assuming /dev/sdc is the drive you are already using.
So the remaining two drives are /dev/sda and /dev/sdb.
From that, make note of the PARTUUID for each.
Then
And add the follow to the bottom of the file.
Replace "drive1" and "drive2" with whatever folder name you want to use. Whatever name you choose, you need to create the folder in /mnt.
Then you can use "sudo mount -a" to mount your drives automatically.
So the remaining two drives are /dev/sda and /dev/sdb.
Code:
blkid /dev/sda1 /dev/sdb1
From that, make note of the PARTUUID for each.
Then
Code:
sudo nano /etc/fstab
And add the follow to the bottom of the file.
Code:
UUID={insert UUID for /dev/sda1} /mnt/drive1 ext4 defaults 0 0
UUID={insert UUID for /dev/sdb1} /mnt/drive2 ext4 defaults 0 0
Replace "drive1" and "drive2" with whatever folder name you want to use. Whatever name you choose, you need to create the folder in /mnt.
Code:
sudo mkdir -p /mnt/drive1 /mnt/drive2
Then you can use "sudo mount -a" to mount your drives automatically.