I'm really new to linux. I have a server hosted with a reputable company and I just ran out of space on my /var directory. I knew this when i uploaded files and figured that there was a write error.
I do know that the server I've purchased has two hard drives. I'm confused at several things :
- Mounting = Putting your hard drive "into" a local directory so that directory will act as storage now?
- How you can add more space(mounting?) to your /var or eg : /home2 directory?[i made this directory myself]
- Does Boot and * means it's booted up on boot/reboot?
- It says Disk /dev/sda at the top, does sda1,sda2,sda3 stand for partitions on the sda drive? if so, is this the same for sdb?
- Then there's the dev/md1 and /dev/md2, This is where i'm greatly confused about.. when purchasing my server the specs were only 2 SSD drives.. why are there 3 drives at 400GB for /dev/sda, /dev/sdb and /dev/md2?
- What is the difference between md1 and sda?
I've also browsed online thoroughly, so here's my mount (probably because you'll need it? i'm not sure..)
My /etc/fstab file
# <file system> <mount point> <type> <options> <dump> <pass> /dev/md1 / ext4 errors=remount-ro,relatime,discard 0 1 /dev/md2 /home ext4 defaults,relatime,discard 1 2 /dev/sda3 swap swap defaults 0 0 /dev/sdb3 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devtmpfs /dev devtmpfs rw 0 0
Thank you a lot for looking through this and assisting me! I greatly thank you for your time!