I suppose that you set up what you think is right for you. Whilst there is nothing officially wrong in just having /, /boot & swap there may be a problem over usage, contention and what happens if something goes wild. Assuming that you will always have /boot and swap, the other filesystems in the base volume group and indeed and other volume groups are up to you.
Consider each volume group as a room in your house. You have one room for total disk space in a volume group (say the kitchen) which you could configure as one large filesystem for the whole room. On the door you hang a clipboard to list what you have, expiry dates and free space information etc. You can just load everything randomly into this one big allocation and keep a note of where it is. You then know that to access any item, you have to read through the notes on the clipboard.
Alternatively, if you separate the room into several cupboards with their own clipboards, you can set up areas for different type of objects, e.g. temporary storage for perishables or frequently created files that are clean up at the end; tinned food for long term storage that you need to know are there but rarely used (reference database perhaps); books area for reference material such as manual pages; appliances/software resources to use etc. etc.
In the second case, you know vaguely what you're after or what is the item you have to store, so you have a clipboard on each of the cupboards. To refer to anything or to update the list is now a smaller job than reading/writing the entire catalogue. If you left the tap running and filled the sink, the tap would fail and turn off.
Back on Unix, if we have log files in /var being part of one big root filesystem then they will continue to grow until the whole of the root filesystem is full and that could be a severe headache. The alternate of having /var as a separate filesystem means that whilst logging might go badly wrong, the operating system as a whole should be protected.
Has that just confused things?
Overall I would always prefer to split the disks and work out what was critical to allow the system to boot. Keep this in the root filesystem and base volume group. Have everything else in separate filesystems from separate volume groups. Again, it's up to you what you choose for names and function of each, but I would always recommend creating the following as a minimum:-
- /var
- /usr
- /opt
- /home
- /tmp
You might consider somewhere to store software install media, be that
yum CD media copies or whatever.
If you have a disaster recovery plan, then this can help you to backup and restore just what you need to get the base OS running and then have a working system to restore all you company data and applications.
I hope that this is a useful and that I haven't just confused everyone.
Robin
Liverpool/Blackburn
UK