From owner-freebsd-questions@FreeBSD.ORG Wed May 31 13:37:48 2006 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 DF20316AE84 for ; Wed, 31 May 2006 13:37:48 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 521A443D7E for ; Wed, 31 May 2006 13:37:48 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k4VDb6IK041161; Wed, 31 May 2006 08:37:14 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <447D9BFC.9080304@daleco.biz> Date: Wed, 31 May 2006 08:37:00 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060509 SeaMonkey/1.0.1 MIME-Version: 1.0 To: Philip Radford References: <012001c684ae$cbecaf60$0207a8c0@P800> In-Reply-To: <012001c684ae$cbecaf60$0207a8c0@P800> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Mounting to a second hard disk 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, 31 May 2006 13:37:53 -0000 Philip Radford wrote: > Hi All, > > I have just installed FreeBSD 5.4 on a server with two hard disks. Cool ... :) > > I have access to all my partitions on the first disk :- > > /dev/ad0s1a - / > /dev/ad0s1e - /tmp > /dev/ad0s1f - /usr > /dev/ad0s1d - /var > > How do I go about mounting to the second drive which I > assume would start with /dev/ad1* > $ dmesg | grep ad might help you turn the assumption into known fact. It will be "ad1" if (and only if) it's an ATA (not SCSI) hard disk on the primary IDE controller in the slave position. For example, the "secondary master" is ad2. > I can find no reference to devices in the /dev directory > and there is no MAKEDEV script as I have used on a previous unix OS. > FreeBSD 5 and later uses devfs, therefore no MAKEDEV is necessary. However, I don't think you'll see any /dev/ad1 entries until you prepare the disk. Brief overview is "fdisk, bsdlabel, newfs". See www.freebsd.org/handbook, chapter 17 --- in particular, 17.3 is "Adding Disks". HTH, Kevin Kinsey -- If I had to live my life again, I'd make the same mistakes, only sooner. -- Tallulah Bankhead