From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 09:07:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1D85E16A41F for ; Thu, 10 Nov 2005 09:07:29 +0000 (GMT) (envelope-from dwebman@telus.net) Received: from priv-edmwes25.telusplanet.net (defout.telus.net [204.209.205.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA60943D45 for ; Thu, 10 Nov 2005 09:07:28 +0000 (GMT) (envelope-from dwebman@telus.net) Received: from [10.0.10.6] (really [154.20.242.227]) by priv-edmwes25.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20051110090727.NZJD17831.priv-edmwes25.telusplanet.net@[10.0.10.6]> for ; Thu, 10 Nov 2005 02:07:27 -0700 From: Dave Webster To: FreeBSD questions Content-Type: text/plain Date: Thu, 10 Nov 2005 01:05:20 -0800 Message-Id: <1131613531.814.17.camel@Freeman.myLQ.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: adding a second hard 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: Thu, 10 Nov 2005 09:07:29 -0000 To solve a problem I'm having with /var running out of space, I decided to add a second hard drive. I found info at freebsd.org on adding disks using sysinstall and followed the advice. The old disk is a Maxtor 6Y080L0 80G as ad0 and the new disk is a Maxtor 6Y120P0 as ad3. I ran sysinstall, chose ad3 and parition it with: / 512M, /swap 2G, /tmp 3G, /var 4G, /usr 30G, /data 76G. Did an installation with Kern source and documentation. Added a new user, and set a password for root. I added the FreeBSD boot manager. I rebooted to ad0 (didn't have the FreeBSD boot manager on this drive yet), and found I could no longer login as the regular user and that my root password was the one I had just set up on ad3. I adduser my old login and assigned it the original ID and got back the settings in my home directory, although I don't know what I've doen to the configuration files in /etc. I tried to put the FreeBSD boot manager on ad0 with: boot0cfg -B ad0 but get an erro: boot0cfg: open /de/ad0: no such file or directory I've googled this problem but have found little help except that it shouldn't happen and it should be reported. I'm running FreeBSD 5.4 stable. I'm temped to start over from scratch but would hate to lose everythin on ad0 without first transferring it to ad3. I've tried to mount ad3 and ad3c (the only references to ad3 in /dev) using: mount /dev/ad3 /mnt/bigdrive but get an error: mount: /dev/ad3 on /mnt/bigdrive: incorrect super block So I'm pretty lost. Any help would be greatly appreciated. I've spent 4-5 hrs googling for solutions but nothing seems to work. thanks in advance Dave