Hi all, I've just installed a second HDD and now have the following setup:
sda: SSD holding /
sdb: 1TB HDD holding swap, /var and /home
sdc: 2TB HDD (the new one), which will hold /personal and /entertainment
The point of this is to have /home hold only configurations and such, and links to /personal and /entertainment.
/personal should be owned by me and only accessible by me, /entertainment should be owned by me, and read-only to members of a group.
This way, the account I made for a friend, or a possible guest account, could listen to music or watch a film, but not remove anything.
If that disk (and only that one) could be encrypted (another thing I have absolutely no experience with), that would be even better.
I did enter a few things in /etc/fstab but I'm having trouble understanding the options section.
Currently it looks like this:
$ cat /etc/fstab
UUID=f5d7cd94-bc25-48b5-b045-b5fd6dd87964 / ext4 defaults,noatime,discard 0 1
UUID=8874720a-6d60-4a89-869b-689843458993 swap swap defaults,noatime 0 0
UUID=3c9965fd-ff4d-4271-899e-7ac7212e9c18 /var ext4 defaults,noatime 0 2
UUID=52a8edcb-b5f4-4f07-85ad-aa73bc0ebb40 /home ext4 defaults,noatime 0 2
UUID=2ee5658e-98bb-4fa9-83b2-0c39d7838ef9 /personal ext4 defaults,noatime 0 2
UUID=6c958a53-2240-47bf-bbd1-45fa6f1cd54a /entertainment ext4 defaults,noatime 0 2
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
I did read somewhere that using uid= and gid= options doesn't work well with ext4, and indeed I was dropped into emergency mode after entering those.
I'm not sure if I need to remove defaults if I want to use uid= and/or gid=, or if I'm better off using a different filesystem.
However, I don't know all too much about filesystems either.
Obviously I did search and I did RTFM, but it's a little beyond my level of expertise or understanding, I'm having serious trouble telling options apart.
Also, there seems to be constant harddisk activity since I added that drive, no idea if that's related but I might as well mention it.
Is what I'm after even possible, or am I just missing a step?