From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 17:29:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59C9216A4CE for ; Wed, 18 Aug 2004 17:29:40 +0000 (GMT) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 964E543D1D for ; Wed, 18 Aug 2004 17:29:39 +0000 (GMT) (envelope-from adminf@yummysoup.com) Received: from unknown (HELO skeksis.yummysoup.com) (gregory0708@65.50.155.106 with login) by smtp101.rog.mail.re2.yahoo.com with SMTP; 18 Aug 2004 17:29:38 -0000 Received: (qmail 62390 invoked from network); 18 Aug 2004 17:28:18 -0000 Received: from unknown (HELO webmail.yummysoup.com) (127.0.0.1) by localhost with SMTP; 18 Aug 2004 17:28:18 -0000 Received: from 192.168.0.123 (SquirrelMail authenticated user terry) by webmail.yummysoup.com with HTTP; Wed, 18 Aug 2004 13:28:18 -0400 (EDT) Message-ID: <2001.192.168.0.123.1092850098.squirrel@webmail.yummysoup.com> Date: Wed, 18 Aug 2004 13:28:18 -0400 (EDT) From: "Terry" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: FreeBSD 5.x /usr Partitioning advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 17:29:40 -0000 I'm planning on making two partions for data found on /usr: /usr2 which holds ports, src, and obj; and /usr which holds everything else. the /usr2 directories would be symlinked to /usr. The reason I want to do this is because I have a different backup strategy for the contents of /usr vs. /usr2. (I.e., if there's a disk failure, I can get up-and-running fast without restoring (a recent) /usr2, and can fully rebuild /usr2 with cvsup + make). One directory I wasn't sure about was /usr/src. How important is it to back up? The only crucial thing in /usr/src that comes to mind is my kernel conf (in /usr/src/sys/i386/conf/). I'm planning on either keeping that directory on /usr or scripting it to be copied periodically so that it's regularly backed up. Is there anything else in /usr/src I should concern myself with? (I recall having had to download custom source patches for certain semi-supported devices, and sometimes these would be good to back up more frequently. However, a cvsup of /usr/src would stomp over those customizations anyway (or might render them unneeded), so I think those should be backed up in a different manner than via a dump of /usr/src. Does that make sense?) Does this stretegy sound at all intelligent? Is there anything else I should consider? Notes: - my /home is on its own partition (not on /usr) for its own backup schedule - I'm using dump/restore for backups - This is a FreeBSD 5.2.1 system - I'm planning on making /usr 4G, and /usr2 6G. Does that sound sane? (I'm making /usr2 larger than I initially planned, but having recently built /usr/ports/java/jdk14 which requires 1.7G of working space alone, this size seems reasonable.) - For now, these partitions will be on the same physical ATA drive. - This machine will be a general-purpose server (mail, web, samba, shell, etc.) -- i.e., not an X workstation I know partitioning schemes have been covered many times over and that the ideal setup depends on individual needs. However, my searches haven't revealed any specific information for my objectives, so hopefully this question isn't redundant. -- terry