From owner-freebsd-questions Tue Jul 30 15:36:11 2002 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 B22D837B400 for ; Tue, 30 Jul 2002 15:36:08 -0700 (PDT) Received: from spin.web.net (spin.web.net [192.139.37.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CA1C43E31 for ; Tue, 30 Jul 2002 15:36:08 -0700 (PDT) (envelope-from rob@web.net) Received: by spin.web.net (Postfix, from userid 1000) id 0DC8212E4E3; Tue, 30 Jul 2002 18:36:08 -0400 (EDT) Date: Tue, 30 Jul 2002 18:36:08 -0400 From: Rob Ellis To: freebsd-questions@freebsd.org Subject: vinum + /var ? Message-ID: <20020730223607.GN68679@web.ca> Mail-Followup-To: Rob Ellis , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG when setting up a machine with vinum, is it ok to symlink /var to a directory on a vinum partition? does anything open files on /var before vinum starts? i was thinking of doing something like this... # make a mirrored filesystem mirror -n local /dev/ad0s2e /dev/ad2s2e newfs -v /dev/vinum/local # cp /var to /usr/local/var cp -Rp /var /usr/local # now mount the vinum'd filesystem on /usr/local # over top of non-vinum /usr/local/... mount /dev/vinum/local /usr/local # cp /var again cp -Rp /var /usr/local # replace /var with a symlink to /usr/local/var mv /var /var.orig && ln -s /usr/local/var /var is this ok? i'm copying /var twice so that the /var symlink will point to a viable /usr/local/var even if vinum isn't running (for use in single-user). does this make sense? :-) thanks. - rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message