From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 20:22:03 2006 Return-Path: X-Original-To: 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 170E916A526 for ; Mon, 11 Dec 2006 20:22:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id A73B544531 for ; Mon, 11 Dec 2006 19:48:30 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id kBBJkiNV067238; Mon, 11 Dec 2006 14:46:44 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id kBBJkiIW067235; Mon, 11 Dec 2006 14:46:44 -0500 (EST) (envelope-from jerrymc) Date: Mon, 11 Dec 2006 14:46:44 -0500 From: Jerry McAllister To: up@3.am Message-ID: <20061211194644.GA67170@gizmo.acns.msu.edu> References: <20061211191729.GA66953@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org Subject: Re: Questions re: disklabel for external USB drives 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: Mon, 11 Dec 2006 20:22:03 -0000 On Mon, Dec 11, 2006 at 02:26:42PM -0500, up@3.am wrote: > On Mon, 11 Dec 2006, Jerry McAllister wrote: > > > On Mon, Dec 11, 2006 at 02:05:27PM -0500, up@3.am wrote: > > > > > > > > I just got an external USB drive that I want to use for disk-based > > > backups. It is important that this drive be useable on different FreeBSD > > > servers that we have. > > > > > > I got it working on a test server ok, but I noticed that the sysinstall > > > utility labeled the device as: > > > > > > /dev/da0s1d > > > > > > Since the test server only has an IDE drive, that's fine, but this > > > external USB drive needs to be able to work on productions servers that > > > already have SCSI and SAS devices, one of which already uses that label > > > for its active "/usr" partition. > > > > > > Is there an easy way to force the device to work as something like: > > > > > > /dev/da1s1d > > > > > > on all of the servers, including ones that do not already have a SCSI disk > > > subsystem and existing /dev/da0 devices? > > > > You don't have to do that unless you are worried about getting confused. > > If you put the drive on a machine that already has da0 used up, it will > > magically become da1. The label doesn't have anything to do with > > whether it is da0 or da1. That is determined by its position on the > > controller. > > > > I think, in FreeBSD SCSI device stuff, you can force it to be > > something, but I have never done it and don't know how - and since > > it doesn't matter, don't see the reason to try. > > > > ////jerry > > Cool! Thanks! Of course, you have to keep track of the different device labels when you mount the file systems and/or put them in /etc/fstab on whichever machine so they mount the right device for that machine. ////jerry > > James Smallacombe PlantageNet, Inc. CEO and Janitor > up@3.am http://3.am > ========================================================================= >