Please help, I will be forever grateful!
I've built a system to use as a file server, with one 120GB SSD and one 4TB HDD. I've installed Ubuntu Server and I want to have the OS on the SSD and the files on the HDD. During the installation process the SSD was sda and the HDD was sdb. During install I created 3 new partitions. One 112GB partition on the 120GB SSD with mount point
/, one 8GB swap area on the 120GB SSD and one 4TB partition on the 4TB HDD with mount point
(I installed grub boot loader on sda, which was the SSD)
How can I check that this is all set up correctly? When I type in
sudo fdisk -l it says
"Disk /dev/sda: 4000GB" (this was sdb during install?!?)
"/dev/sda1: Partition 1 does not start on a physical sector boundary. (I didn't create a 2nd partition on the HDD though??)
And it also says
"/dev/sdb: 120GB (So my SSD has somehow changed from sda to sdb?)
Disk /dev/mapper/cryptswap1: 8033MD
Disk /dev/mapper/cryptswap1 doesnt contain a valid partition table"
So does this mean the swap area I made didnt work? And my sda and sda have somehow swapped names? How can I confirm the OS is installed on the SSD and then create some directories like 'Movies' Music' 'Photos' etc on the HDD so I can them share them across my network.
I've just installed openssh-server and samba and stuff and now the tutorial says to cd to root directory and then use mkdir to create my folders. But will this create them on the HDD like I want? Or on the SSD? So confused!
If someone could tell me the commands to type in to see which drive the OS is installed on and the commands to create directories on the HDD it would be much much appreciated.