From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 01:27:45 2003 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 B1B6A16A4CE for ; Sat, 22 Nov 2003 01:27:45 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F34E43FE3 for ; Sat, 22 Nov 2003 01:27:44 -0800 (PST) (envelope-from sa.deutscher@tiscali.de) Received: from localhost (217.235.7.85) by webmail.tiscali.de (6.7.019) id 3F9D2AE200B45748 for freebsd-questions@freebsd.org; Sat, 22 Nov 2003 10:27:43 +0100 Received: by localhost (IBM OS/2 SENDMAIL VERSION 2.0/2.0) id KAA208.01; Sat, 22 Nov 2003 10:38:56 -0500 Date: Sat, 22 Nov 2003 10:38:52 +0000 From: "Stefan A. Deutscher" To: freebsd-questions@freebsd.org Message-ID: <20031122103852.E3319@tiscali.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i X-Operating-System: OS/2 2.45 X-Machine-Uptime: localhost: uptime is 6 days, 08:42 hours and 55 seconds Subject: FBSD 5.1 and 4.8 sharing the same /home (and /var) possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sad@mailaps.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 09:27:45 -0000 Hi folks, I have a 5.1R install working and would like to keep a fall-back 4.8R on my system as well. From both, I want to be able to use the same /home, /scratch, and, possibly, /var or at least /var/mail to avoid duplication of mail. To be nice on my disks, I also ponder sharing swap space such that the system does not swap to its own system disk (i.e. 5.1R would swap to da0, da2 and da3, 4.8R to da0, da1 and da3) - this seems to work. The rough disk layout is da0 - OS/2 BSD Swap da1 - BSD 5.1R / BSD 5.1R swap BSD 5.1R /tmp BSD 5.1R /var BSD 5.1R /usr da2 - BSD 4.8R / BSD 4.8R swap BSD 4.8R /tmp BSD 4.8R /var BSD 4.8R /scratch BSD 4.8R /usr da3 BSD 5.1R swap BSD 5.1R /home (63 GB) Maybe I'll add another 18 or 36 GB disk for /scratch and /backup space. Now, as per default, the 5.1R install uses ufs2 throughout, the 4.8 one ufs1. Poking around google I am led to believe that this is not free of potential for trouble. So, here are my questions, before shooting myself in the foot (a) Is it OK to have the slices to be shared on ufs2, or will 4.8R wreck havoc when accessing those (or, better: just not be able to see them) (b) If ufs2 is not OK for use on both systems, are there any things to consider when making them ufs1? I suppose I would have to backup, newfs -O1, and restore the /var slice on da1, or is it advisable to just make /var/mail a symlink to some separate ufs1 /mail slice? (c) Will the background file system checks introduced with 5.x still work on these ufs1 slices? Any thoughts, warings, pointers & hints are most welcome! Thanks in advance & cheers, Stefan -- ============================================================================ Stefan A. Deutscher | Donostia International Physics Center | office: ++34-943-018174 Universidad del Pais Vasco, Facultad de Quimica | fax : ++34-943-015600 Departamento de Fisica de Materiales | home : ++34-943-270647 Apartado 1072, San Sebastian 20080, Spain | email : sad@mailaps.org ============================================================================