-
Notifications
You must be signed in to change notification settings - Fork 255
Using 2nd Harddrive
CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://plexguide.com/wikis/ - This is the old wiki!
Works, need cleaning up
Situation: Have a 250GB SSD and a second 2TB harddrive? The problem that you'll run into with PlexGuide is that all of your stuff downloading and uploading will target your PRIMARY DRIVE (in this example, the 250GB SSD). The following instructions will assist you in SETTING up your second harddrive.
To check, type df -h and if you notice your OTHER HD not there, you need to follow the steps below.
These notes are very loose, just added, please be patient
http://linux-sys-adm.com/how-to-add-second-hdd-additional-disk-drive-in-ubuntu-14-04-linux/
creating a file partition fdisk -l
Pay attention to the name of the new disk
type fdisk name-of-drive (mine was /dev/sdb)
m - print menu
if there is a valid partition, you can delete it with d
n - add new partition
p - to create a primary partition
1 - choose number of partition (pick only 1)
Press enter twice
press w to write to disk and exit
create a file system
mkfs.ext4 /dev/sdb -- keep pushing enter until done
now to add hhd so ubuntu can see it
mkdir /mnt/hd2/
type blkid
- look for the name of device you're loooking for, mine was /dev/sdb copy the uuid number
/dev/sdb: UUID="707cf076-5656-4b07-a062-989df6813fa3" TYPE="ext4"
type: nano /etc/fstab
Enter at the bottom of the file:
UUID="707cf076-5656-4b07-a062-989df6813fa3" /mnt2 ext4 defaults 0 0
(edit the UUID with the UUID of your harddrive you found earlier)
ctrl + x to save
type: sudo reboot
then
type: mount /mnt2
To ensure link the 2nd to back to the original
sudo rm -r /mnt/move
sudo mkdir /mnt2/move
sudo ln -s /mnt2/move /mnt/move
Home - https://plexguide.com