From owner-freebsd-questions@FreeBSD.ORG Wed Jul 18 08:26:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBBD816A401 for ; Wed, 18 Jul 2007 08:26:53 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from szalbot.homedns.org (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 85A8813C47E for ; Wed, 18 Jul 2007 08:26:53 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from www (helo=www) by szalbot.homedns.org with local ; Wed, 18 Jul 2007 10:26:51 +0200 To: Norberto Meijome X-PHP-Script: https://poczta.szalbot.homedns.org/index.php for 192.168.11.1 MIME-Version: 1.0 Date: Wed, 18 Jul 2007 10:26:51 +0200 From: Zbigniew Szalbot In-Reply-To: <20070718180538.636eb98a@localhost> References: <20070718180538.636eb98a@localhost> Message-ID: <1d6b2d9302d9d7813174be0184960a84@szalbot.homedns.org> X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: moving /home to new drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 08:26:53 -0000 Hello, > don't kill /usr/home :) symlink back to it, or just mount the new drive > in it - nothing wrong with having a disk mounted in a mount point which is > part of the filesystem of another disk - as long as they are mounted in the > right order during the boot process.... (eg, i wouldnt put /var/ under > /usr/ , for example... ) OK. So the procedure could be as follows (?): 1. mv -R /usr/home /usr/home-old 2. rm /home (deleting the symlink) 3. mount /dev/ad3s1c /usr/home 4. cp -pR /usr/home-old/ /usr/home/ 5. ln -s /home /usr/home Is the procedure OK? One last question - what about fstab file? I guess I need to edit it so that next time while booting the system, it will mount the new drive as /usr/home? Thank you very much! -- Zbigniew Szalbot