Hello,
My background: Using Mac for a long time. Installed 12.04 desktop on a laptop to try out Gimp and Inkscape to see if they perform better than on a Mac. I never really mess with
OS' unless something's not working.
End Goal: I'd like to put together a multipurpose server for: Minecraft host, local file server, remote file server, and stuff. Stuff being anything that strikes me as something
I'd want to try.
Current Goal: Get the base server install done so I can start on the other things. This will be a bare metal install with LVM.
Hardware: 32 GB RAM, 256 GB SSD, 3 X 1 TB HDD
When I get to the partition portion of the install I get stuck. I want to minimize the SSD use since I may go dual-boot with Windows 7 at a later point or build another box with a smaller SSD (the build was originally going to be a gaming pc for my son but he has to come up with the video card(s), peripherals, and OS, and he hasn't so it's mine for now)
300 MB /boot ext4, noatime, primary, on the SSD. I'm not sure about the file system though I've read ext4 should be fine.
20 GB? /root lvm, logical, on the SSD. I'm not sure as to a reasonable initial size. Under lvm if the VG runs out of space I'd have to add a new partition to the drive and then add it to the VG. Is this right?
Everything else I was planning on putting on the HDDs. I think I'll be foregoing any RAID options. For the rest of the partitions, should I make each it's own PV or the whole drive as a PV and then break it down? I have seen both methods used and I'm not sure what the benefits are of either.
I'm new to servers and I understand the amount of users can be a factor in partition size and necessity. But I'm not sure what qualifies as a user. Minecraft will have a max of 10 people on it, local file server 2, remote file server 5, and ssh maybe 2.
??? GB /swap I've read 1 or 2 X RAM for swap. Do I really need 64 GB for swap? I was planning on allocating 8GB.
??? GB /home The sizes I've seen for the home partition vary a lot and I'm not sure what the determining factor is.
??? GB /var I know this is separated in order to keep the /root from getting too big, but that's about it.
??? GB /tmp This gets dumped at boot and rewritten so I don't want it on the SSD. I've seen it assigned to tmpfs and placed on RAM. Can this be done from within lvm? Should I go that route at all?
??? GB /usr I've no idea what to do with this one. I think it would be easier to create it now though and avoid possible complications from trying it later. The recommended partitioning scheme (https://help.ubuntu.com/12.04/instal...pc/apcs03.html) also recommends usr/local in certain instances which I'm not certain I fall under.
Thanks for your time,
Raul
Bookmarks