From owner-freebsd-questions@FreeBSD.ORG Sat Oct 10 19:28:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD8B51065676 for ; Sat, 10 Oct 2009 19:28:09 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51003.mail.re2.yahoo.com (web51003.mail.re2.yahoo.com [206.190.38.134]) by mx1.freebsd.org (Postfix) with SMTP id 93F638FC15 for ; Sat, 10 Oct 2009 19:28:09 +0000 (UTC) Received: (qmail 65887 invoked by uid 60001); 10 Oct 2009 19:28:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255202888; bh=Z/UrX0KjwLrXDrLzhEU4fXuGnbK2OSZoKwkM3mJsFms=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GcXjCLO0sonWrGZQ6e+/YQ9e5QVnwo2dm40yMiXnwUIvVyiopcHQdU1q/bvmetnyVO4FS1smqrfP4gk5lWefRBumZ3jW9r3kBBSpGcq3DFuBLje2RxG4qTeNk2NxAIzZz7aNlfuift1IVSFwS54GUwrBQt1UT03vHnXm/TqQ/pc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EPl6WQUv7wd/0cKO4U+jQifF0c8TZ0KqILMD7E70nrfXt7vN9YZIw4RshaW4zs+QOVhpET7lXQrLqmNc2mDyNSThij2hc5oMRbmJvDO3jDZPrUcvryu3YzrwDxO6WQwREH+zqnA7qJjDI4KnnLQx6VA8aJK+LTq9uy2tSt/0LU0=; Message-ID: <877212.65138.qm@web51003.mail.re2.yahoo.com> X-YMail-OSG: cgpHugcVM1n6djgQUf9aB4a6078EI.nPA9oIgVtd9CsDnnOZ1E7Gfp0cOSrYyWduoPqwXlOaHeoRPLespt4O67tcVWuQednckMIQu_2nqYEK6Fju_G188g_Z05BXaBlJG2DQI0.Y05pWR8Xb1IQrocA1tM5VK1ctEtnqKsLk5yPwL0CUsc.N6iVXYxELCiYqB5Lz9NRAAv0xXUbAJ_JHbWoZkqvjTJhkQ0HL8OjpAk_dRFysht_YTn2Rg3AOnZBLi.rrafSZQc6WERPTo4GvLjfIYyUDVBn6bRvppstk2d9_f.z6Fmj7UvOmHxGoMcPvY8Hcnz8Q_w8lvNOawSzSFdRMPsROqkzT6Hr0SJ2sx4ttjvGSL49F6Op8xxvdAPjatg9HfBwQBv_Q.8k- Received: from [71.117.53.27] by web51003.mail.re2.yahoo.com via HTTP; Sat, 10 Oct 2009 12:28:08 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Sat, 10 Oct 2009 12:28:08 -0700 (PDT) From: Richard Mahlerwein To: FreeBSD-Questions In-Reply-To: <20091010200418.8e880250.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Polytropon Subject: Re: / almost out of space just after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mahlerrd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 19:28:09 -0000 --- On Sat, 10/10/09, Polytropon wrote:=0A=0A> From: Pol= ytropon =0A> Subject: Re: / almost out of space just afte= r installation=0A> To: "Chad Perrin" =0A> Cc: freebsd-= questions@freebsd.org=0A> Date: Saturday, October 10, 2009, 2:04 PM=0A> On = Sat, 10 Oct 2009 11:36:08 -0600,=0A> Chad Perrin =0A> = wrote:=0A> > Someone mentioned giving the `home` directory its own=0A> part= ition.=A0 I think=0A> > a separate partition for /usr/home, mounted within= =0A> /usr, is a great idea.=0A> > It would help substantially with system r= ebuilds,=0A> backups, and using=0A> > separate drives for `home`, because t= hat's where the=0A> majority of the=0A> > stuff you want to keep between in= stalls will=0A> reside.=A0 Basically=0A> > everything else within /usr (wit= h the possible=0A> exception of=0A> > /usr/local/etc) is just what happens = when you install=0A> and configure your=0A> > system in the first place.=0A= > =0A> If you can estimate disk requirements good enough, or=0A> simply=0A>= have huge hard disks that can compensate any requirements,=0A> there's=0A>= no problem giving /home a separate partition. There's no=0A> need=0A> to p= ut the mountpoint into /usr, because /home could=0A> "physically"=0A> exist= ; in the "home in usr" setting, /home is just a=0A> symlink to=0A> /usr/hom= e.=0A> =0A> Personally, I often put /home on a separate partition,=0A> simp= ly=0A> because of comfortability. If I can't say enough about how=0A> /usr= =0A> and /home will grow, I go with the default approach. I=0A> sometimes= =0A> even use the "one big /" setting.=0A> =0A> One advantage of /home as a= separate partition is that you=0A> can=0A> easily use dump to create a bac= kup - you simply backup the=0A> whole=0A> partition. You could have a direc= tory, let's say=0A> /home/settings,=0A> where you keep duplicates of /etc, = /usr/local/etc and other=0A> files=0A> that contain settings you consider w= orth being backed up.=0A> =0A> =0A> -- =0A> Polytropon=0A> Magdeburg, Germa= ny=0A> Happy FreeBSD user since 4.0=0A> Andra moi ennepe, Mousa, ...=0A=0AI= agree completely. I also go a step farther and put most other things that= I consider user data in there. Like Subversion repositories and non-user-= specific Samba shares (E.g. "public" type shares). I do not generally want= /tmp on memory, though. While it can be fun and quite a festive thing, I = have far too many systems too limited in RAM to want to do this (my current= "production" system at home is 512 MB of RAM, my "play" box is 256 MB). T= he only time I can really think I'd want /tmp to be in RAM is if I already = had too much RAM for the needs of the box - otherwise, just give me the RAM= ...=0A=0AWhile I'm reasonably happy rolling my own FS sizes, I would be eve= n happier if I didn't have to. As long as we're doing the wish list, I'd g= uess for this (all numbers significantly flexible):=0A=0ADrive < 16 GB =3D = keep current layout?=0A=0ADrive > 16 and < 40 GB =3D =0A/ =3D 1 GB=0Aswap = =3D 1.5x RAM =0A/tmp =3D 2 GB=0A/var =3D 2 GB=0A/usr =3D remaining space=0A= =0ADrive > 40 GB =3D =0A/ =3D 1 GB=0Aswap =3D 1.5x RAM =0A/tmp =3D 2 GB=0A/= var =3D 2 GB=0A/usr =3D 1/2 of remaining space, min 20 GB, max 35 GB=0A/hom= e =3D everything else.=0A=0AAnd, as long as this is a wish list, how about.= ..=0A=0A1) When I create, I would love to not to *always* have to backspace= over like 17 digits every time to type something short like "16G". Can we= just make it operate in MB or something instead of blocks? Does anyone ne= ed smaller than 1 MB divisions now? =0A1.1) If it would take a decimal poi= nt, I'd be fine with GB, for that matter. (For compatibility, allow either= , or . as decimal.)=0A1.2) Or if there was just a quick key to delete all = 14 digits of "number of blocks left" at once.=0A=0A2) When I 'auto' size, I= end up deleting most except / and swap partition and remaking (it is just = habit I 'a'uto before I think, and no harm in it) except the last few times= I've done it, as I deleted all the other partitions, / kept expanding from= the default (512 MB?) until it was 1.5 GB. So I had to deleted them ALL a= nd start over. Bug or Feature?=0A=0A3) Ability to resize any partition dir= ectly, if there's empty space left. So if I have 30 GB of my 400 GB drive = already decided upon, and I decide that I want /var to be 5 GB instead of 2= GB, I would love to be able to just highlight it and press some key to "Re= size" and it would just move the rest of them up to fit.=0A=0AOf course, Ju= st because this is a bike shed doesn't mean I will get upset if any or even= all of this is too much to implement and doesn't make it in any revision o= f sysinstall. It's just a wish list. In fact, I may pull open the code my= self... though I've heard it's pretty nasty...=0A=0A-Rich=0A=0A=0A