On 01/04/14 08:56, a b wrote: > > About „the one big partition“ thing: > > It is the system partition. You should add a second data disk for all your > > stuff (that will > automatically get formatted and mounted at /data). > > I will never understand why people just keep making arbitrary di- > rectories like /data off of /, when there is a very clear speci- > fication which says that /var/opt is for third party data, but it > is very upsetting when I see /data or /srv, or anything else ar- > bitrary like that. > > It would be really swell if this were /var/opt by default, like > the filesystem(5) manual page says. That is SVR4 and a Linux > Standards Base filesystem standard. There is absolutely no reason > whatsoever to re-invent the wheel. > I agree. Following the standard makes sense. When installing packaged software there is an expectation that the system will have enough space in a standard location (e.g. /var/spool/xxx, /var/lib/yyy, /var/www, /usr/share, and indeed /opt, to name a few). If a database is expected to be large, one can allocate appropriately on the correct filesystem location. With dynamic volumes (LVM, etc.), it is also possible to re-provision more space later. It's not about allocating a huge disk and hoping for the best. It's about planning and thinking ahead as far as I'm concerned. If a disk/volume does fill up for what ever reason, the rest of the system will be protected from the problem. I have seen it happen that the root user cannot execute basic commands because the one and only volume is 100% full! I've also seen file corruption destroy an entire system. On the other hand, the same kind of issue on an isolated volume (as against a single volume system), will perhaps render and application inoperable but the rest of the OS remains up and thankfully one has a backup from which to restore.
------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
signature.asc
Description: OpenPGP digital signature
