Date: Mon, 11 Dec 2006 14:46:44 -0500 From: Jerry McAllister <jerrymc@msu.edu> To: up@3.am Cc: questions@freebsd.org Subject: Re: Questions re: disklabel for external USB drives Message-ID: <20061211194644.GA67170@gizmo.acns.msu.edu> In-Reply-To: <Pine.BSF.4.44.0612111426300.71811-100000@richard2.pil.net> References: <20061211191729.GA66953@gizmo.acns.msu.edu> <Pine.BSF.4.44.0612111426300.71811-100000@richard2.pil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > ========================================================================= >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061211194644.GA67170>