I like your partitioning.
We could discuss the pro and cons of having /var separated from /var/lib/nethserver.
Some food for thoughts: https://access.redhat.com/discussions/641923
Why having /var and /var/lib/nethserver on separate partitions when they actually sit on the same raid1 volume?
IF you were to separate /var and /var/lib/nethserver I would do that to have logs on a separate volume. In that case I would even opt for a separate physical disk to put /var/log on and put /var on the raid1 volume.
I’m almost ready to replace our Win 2k8 DC/AD/File Server with NS 7.3.
The last step before do that, is, of course, is “how do you share your partitions”?
I have tried a topic regarding this but without success.
Usualy, in Windows, for almost any server that I made/make, I use 2 HDDs (250 - 500 GB) for OS in RAID1 configuration and 2 HDDs (1 TB or more) for data storage in RAID1 configuration.
Sometimes, for data storage, I use at least 4 HDDs in RAID5 configuration.
Because I am beginner in Linux, I have some questions and I need your opinion regarding “my partitioning scheme”.
Partitioning scheme:
2 x 250 GB HDDs, RAID1 (let’s say: for OS):
/boot: ~ 5 GB - xfs
swap: ~ 8 GB (I have 8 GB RAM)
/var/log: the rest of HDD - xfs
4 x 1 TB HDDs, RAID5, LVM (let’s say: for data storage):
/ (root): all (~3 TB) - xfs or ext4?
Questions:
this partitioning scheme is viable?
the swap can be on RAID1 or should be on RAID5?
which file system should be used for data storage? xfs or ext4?
this partitioning scheme preserve data in case of reinstalling NS on RAID1?
Hi @giacomo !
Thank you for your downright answer!
In the meantime I read a lot of about partitioning scheme.
A lot of opinions on forums and articles, but I read carefully and documentations from RedHat, Ubuntu, …, especially regarding RAID and swap on RAID and file system.
Yes, indeed! A lot of space on 250 GB HDD! I think that 1024 MB is enough.
RAID 1, of course.
XFS
Yes, I thought that a custom installation is required. I think the “storage partition”, RAID5 LVM, will be added after the “first installation” will be done (the short story). Am I right?
I don’t know yet how to do, but I will ask for help if will be necessary! I hope will not be necessary!