I had a query as to what are the partitions that should be necessary in RHEL 6. My knowledge says that
should be sufficient. But, I am seeing in my production environment which is RHEL 5 that there are partitions also for
Are there any advantages of having separate partitions for /var, /tmp & /usr?
I hope my query is clear that are the partitions of /var, tmp & /usr necessary.
Please revert with the reply to my query.
The partition schema for the OS, looks to protect for 2 different scenarios
1. What will happen when a filesystem run out of space
2. what will happen when in a crash some files/filesystem get corrupted.
The logic behind the fist one is to protect the OS from those users or apps
Is a good start point.
The number 2 today is very uncommon.. still happen, but not common.
If your application won't use space on /var or /usr, then, you can say /var and /usr will be OS level, so you could reduce the partitions
However, several apps use /tmp or /var/tmp, so will be nice have those separate.
If no users will be at the server, you way even reduce /home
hope this helps
Partitions are useful for several reasons:
- to separate or support different file systems for system and user data.
- protect critical partitions from running out of disk space.
- to work around 16/32-bit BIOS limitations.
Partitions do not:
- distribute the risk of data loss due to disk failures.
- distribute the I/O workload to separate controllers or disks.
Required for PC Linux as in absolutely necessary is only one:
Required as in reasonable are 3:
This is the default.
If you want to get fancy and protect (root) from running out of disk space and create partitions for log files and have other users than root in your system, you can usually get along with the following additional partitions:
Everything else is most likely nonsense unless you have to deal with disks that are 200 MB. It is generally a good idea to use a small amount of partitions as possible, in particular if you cannot estimate the maximum required size and usage. Considering the large sizes of disks available today the benefit of not limiting space usage by partitions is often higher than possible protection from bad processes.
If you have a PC with a PC-BIOS you need a Master Boot Record (MBR). In which case each hard drive is limited to a maximum of 4 primary partitions, or 3 primary partitions and one extended partition with any number of logical partitions. If you have PC with EFI and GPT than you can have up to 128 primary partitions.
Cross-posted to another forum:
... and you once again didn't have the courtesy to let anyone know that fact.
You have been advised of your lack of manners before: Re: Copy on right click not available on FTP URL
yet you continue to show a lack of respect toward anyone that might choose to respond to your forum posts.