| From | Sent On | Attachments |
|---|---|---|
| Robison, Dave | Feb 17, 2012 2:05 pm | |
| Chuck Swiger | Feb 17, 2012 2:17 pm | |
| Devin Teske | Feb 17, 2012 2:34 pm | |
| Maxim Khitrov | Feb 17, 2012 2:40 pm | |
| Douglas Carmichael | Feb 17, 2012 2:42 pm | |
| Polytropon | Feb 17, 2012 2:46 pm | |
| Jerry McAllister | Feb 17, 2012 2:48 pm | |
| Douglas Carmichael | Feb 17, 2012 2:50 pm | |
| Jerry McAllister | Feb 17, 2012 2:53 pm | |
| Da Rock | Feb 17, 2012 2:54 pm | |
| Devin Teske | Feb 17, 2012 3:11 pm | |
| Julian H. Stacey | Feb 17, 2012 3:19 pm | |
| Polytropon | Feb 17, 2012 3:22 pm | |
| Robison, Dave | Feb 17, 2012 3:24 pm | |
| Da Rock | Feb 17, 2012 3:29 pm | |
| Chris Hill | Feb 17, 2012 3:49 pm | |
| Chuck Swiger | Feb 17, 2012 3:55 pm | |
| Devin Teske | Feb 17, 2012 4:02 pm | |
| Robison, Dave | Feb 17, 2012 4:09 pm | |
| Devin Teske | Feb 17, 2012 4:11 pm | |
| Chuck Swiger | Feb 17, 2012 4:40 pm | |
| Devin Teske | Feb 17, 2012 4:54 pm | |
| Da Rock | Feb 17, 2012 4:54 pm | |
| Da Rock | Feb 17, 2012 4:59 pm | |
| Devin Teske | Feb 17, 2012 5:05 pm | |
| Devin Teske | Feb 17, 2012 5:09 pm | |
| Chuck Swiger | Feb 17, 2012 5:13 pm | |
| David Brodbeck | Feb 17, 2012 5:17 pm | |
| Da Rock | Feb 17, 2012 5:17 pm | |
| Doug Hardie | Feb 17, 2012 5:50 pm | |
| Erich Dollansky | Feb 17, 2012 6:08 pm | |
| Daniel Staal | Feb 17, 2012 6:16 pm | |
| Da Rock | Feb 17, 2012 7:16 pm | |
| Leslie Jensen | Feb 17, 2012 9:44 pm | |
| Lars Eighner | Feb 17, 2012 10:05 pm | |
| Robert Bonomi | Feb 17, 2012 10:32 pm | |
| Robert Bonomi | Feb 17, 2012 11:15 pm | |
| Erich Dollansky | Feb 17, 2012 11:47 pm | |
| Doug Hardie | Feb 17, 2012 11:54 pm | |
| Matthew Seaman | Feb 18, 2012 12:39 am | |
| Polytropon | Feb 18, 2012 2:12 am | |
| Polytropon | Feb 18, 2012 2:22 am | |
| Da Rock | Feb 18, 2012 2:43 am | |
| Damien Fleuriot | Feb 18, 2012 3:06 am | |
| Damien Fleuriot | Feb 18, 2012 3:10 am | |
| Matthew Seaman | Feb 18, 2012 3:23 am | |
| Da Rock | Feb 18, 2012 3:36 am | |
| Polytropon | Feb 18, 2012 3:39 am | |
| Da Rock | Feb 18, 2012 3:56 am | |
| Matthew Seaman | Feb 18, 2012 5:38 am | |
| Da Rock | Feb 18, 2012 5:47 am | |
| Matthew Seaman | Feb 18, 2012 6:28 am | |
| Robert Bonomi | Feb 18, 2012 6:45 am | |
| RW | Feb 18, 2012 6:54 am | |
| Da Rock | Feb 18, 2012 6:54 am | |
| Polytropon | Feb 18, 2012 8:26 am | |
| Jerry McAllister | Feb 18, 2012 1:06 pm | |
| Jerry McAllister | Feb 18, 2012 1:33 pm | |
| Michael Sierchio | Feb 18, 2012 2:45 pm | |
| Matthew Story | Feb 18, 2012 3:08 pm | |
| Daniel Staal | Feb 18, 2012 3:10 pm | |
| Michael Sierchio | Feb 18, 2012 3:31 pm | |
| Erich Dollansky | Feb 18, 2012 5:03 pm | |
| Jerry McAllister | Feb 18, 2012 6:30 pm | |
| Erich Dollansky | Feb 18, 2012 7:54 pm | |
| Carl Johnson | Feb 18, 2012 8:39 pm | |
| Erich Dollansky | Feb 18, 2012 9:26 pm | |
| Stephen Cook | Feb 18, 2012 11:21 pm | |
| Julian H. Stacey | Feb 19, 2012 6:29 am | |
| Daniel Staal | Feb 19, 2012 8:10 am | |
| parv | Feb 19, 2012 8:43 am | |
| Julian H. Stacey | Feb 19, 2012 10:37 am | |
| Da Rock | Feb 20, 2012 6:44 am | |
| Jerry McAllister | Feb 20, 2012 6:47 am | |
| Jerry McAllister | Feb 20, 2012 6:55 am | |
| Jerry McAllister | Feb 20, 2012 6:58 am | |
| Julian H. Stacey | Feb 20, 2012 8:14 am | |
| Jerry McAllister | Feb 20, 2012 8:34 am | |
| Devin Teske | Feb 20, 2012 8:36 am | |
| Julian H. Stacey | Feb 20, 2012 9:43 am | |
| Robison, Dave | Feb 20, 2012 1:43 pm | |
| Paul Mather | Feb 20, 2012 2:05 pm | |
| Erich Dollansky | Feb 20, 2012 6:09 pm | |
| Chip Camden | Feb 20, 2012 9:25 pm | |
| Erich Dollansky | Feb 20, 2012 9:40 pm | |
| Robert Bonomi | Feb 20, 2012 10:06 pm | |
| Chip Camden | Feb 20, 2012 10:19 pm | |
| Doug Hardie | Feb 20, 2012 10:52 pm | |
| Erich Dollansky | Feb 20, 2012 11:37 pm | |
| Erich Dollansky | Feb 20, 2012 11:43 pm | |
| Robert Bonomi | Feb 21, 2012 4:38 am | |
| Polytropon | Feb 21, 2012 7:18 am | |
| Jerry McAllister | Feb 21, 2012 7:56 am | |
| per...@pluto.rain.com | Feb 21, 2012 10:13 am | |
| David Brodbeck | Feb 21, 2012 11:47 am | |
| Erich Dollansky | Feb 21, 2012 4:43 pm | |
| Erich Dollansky | Feb 21, 2012 4:50 pm |
| Subject: | Re: One or Four? | |
|---|---|---|
| From: | Paul Mather (pa...@gromit.dlib.vt.edu) | |
| Date: | Feb 20, 2012 2:05:30 pm | |
| List: | org.freebsd.freebsd-questions | |
On Sat, 18 Feb 2012 08:39:53, Matthew Seaman <m.se...@infracaninophile.co.uk>
wrote:
On 17/02/2012 22:17, Chuck Swiger wrote:
On Feb 17, 2012, at 2:05 PM, Robison, Dave wrote:
We'd like a show of hands to see if folks prefer the "old" style default with 4 partitions and swap, or the newer iteration with 1 partition and swap.
For a user/desktop machine, I prefer one root partition. For other roles like a server, I prefer multiple partitions which have been sized for the intended usage.
I thought the installer switched to the one-partition style based on disk size? Whatever. Personally I much prefer using one big partition, even for servers -- this applies to /, /usr, /usr/local, /var -- standard OS level bits, and not to application specific bits like partitions dedicated to RDBMS data areas (particularly if the application needs to write a lot of data). Having /tmp on a separate memory backed fiesystem is important though: if sshd can't create its socket there, then you won't be able to login remotely and fix things.
The reasoning is simple: running out of space in any partition requires expensive sys-admin intervention to fix. The root partition has historically been a particular problem in this regard. Even if it is just log files filling up /var -- sure you can just remove some files, but why would you keep the logs in the first place if they weren't important? Splitting space up into many small pieces means each piece has limited headroom in which to expand. Having effectively one common chunk of free space makes that scenario much less likely[*].
Yes, in principle you can fill up the entire disk like this. However, firstly, on FreeBSD that doesn't actually tend to kill the server entirely, unless the workload is write-heavy (but see the caveat above about application specific partitions) and the system will generally carry on perfectly happily if you can get rid of some files and create space. [Note: this is not true of most OSes -- FreeBSD is particularly good in this regard.] Secondly, typical server grade hardware will have something like 80--120GB for system drives nowadays. FreeBSD + a selection of server applications takes under 5GB. Even allowing for a pretty large load of application data, you're going to have tens of Gb of free space there. Generally your monitoring is going to flag that the disk is filling up well before the space does run out. Yes, I know there are disaster scenarios where the disk fills up in minutes; you're screwed whatever partitioning scheme you use in those cases, just a few seconds slower than in the multiple partitions case.
I'm coming into this thread part way through, so maybe this has been pointed out
already, but, if so, I didn't see it.
It seems from reading this thread that the focus has been on the running out of
space aspect. Using multiple partitions has a value that goes beyond that: it
can afford extra protection and help enhance security and even performance.
Separate partitions can have different mount options. (Even in the Linux world
they recognise this: the NSA hardening tips for RHEL 5
[http://www.nsa.gov/ia/_files/os/redhat/rhel5-pamphlet-i731.pdf] suggests
putting areas with user-writeable directories on separately-mounted file systems
and to use mount options to limit user access appropriately.) Options like
noexec and nosuid may help improve security. Options like noatime and async may
help improve performance.
Using multiple partitions is very helpful if you are backing up using dump. It
can also help segregate areas of high file system churn, e.g., /usr/ports;
/usr/obj; /usr/src; etc. I like to keep these on separate file systems so I can
treat them differently to system areas I consider to be more stable and
valuable.
[*] Mostly I prefer ZFS nowadays, which renders this whole argument moot, as having one common pool of free space is exactly how ZFS works.
I almost always use ZFS-only installs these days, for exactly the reasons you
mention. You get the best of both worlds: pooled storage (meaning not having to
agonize over partition sizes) and fine-grained control over file sets (meaning
being able to tune attributes to enhance security and performance).
Cheers,
Paul.
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "free...@freebsd.org"





