From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 01:39:57 2005 Return-Path: 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 EBA9816A4CE for ; Thu, 3 Mar 2005 01:39:56 +0000 (GMT) Received: from no-such-agency.net (eschelon.no-such-agency.net [216.93.183.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF8D43D2D for ; Thu, 3 Mar 2005 01:39:56 +0000 (GMT) (envelope-from jpp@cloudview.com) Received: from eschelon.no-such-agency.net (localhost [127.0.0.1]) by guardian (Postfix) with SMTP id 5D6981746EB; Wed, 2 Mar 2005 17:39:56 -0800 (PST) Received: from no-such-agency.net ([216.93.183.141]) by eschelon.no-such-agency.net ([216.93.183.141]) with SMTP (gateway) id A00FF42EE5A; Wed, 02 Mar 2005 17:39:56 -0800 Received: from [192.168.2.120] (blackhole.no-such-agency.net [64.142.103.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by no-such-agency.net (Postfix) with ESMTP id E6971173ED9; Wed, 2 Mar 2005 17:39:55 -0800 (PST) Message-ID: <42266AEB.8070500@cloudview.com> Date: Wed, 02 Mar 2005 17:39:55 -0800 From: John Pettitt Organization: CloudView Photographic User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <42264DC5.6030409@cloudview.com> <20050303000414.GF77052@dan.emsphone.com> In-Reply-To: <20050303000414.GF77052@dan.emsphone.com> X-Enigmail-Version: 0.90.1.1 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: Stable device names for USB disks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 01:39:57 -0000 Dan Nelson wrote: >In the last episode (Mar 02), John Pettitt said: > > >>I seem to recall there was a neat trick involving GEOM to allow USB >>disks to be mounted in the same place every time the system boots but I >>can't find it. Right now my system (5.3 RELEASE) seems to being a >>random da? device for each drive that changes with every reboot - >>clearly not a good situation. >> >>Does anybody have a fix for this? >> >> > >Two options: > >- Wire your devices down (man scsi) so that your usb controller is > always, say, scbus1, and target 0 off scbus1 is da1. You may also > have to wire down your boot controller and disk. > >- Use geom_label, label your FAT32 or ufs filesystems, and always mount > /dev/msdosfs/blah or /dev/ufs/blah > > Very cool - I built a stripe set whihc is showing up fine a /dev/stripe/data2 but I can't get a single volume to show up I did tunefs -L data /dev/da1s1d - added GEOM_LABEL to the kernel config, rebuilt and rebooted but no /dev/ufs appears - what am I missing?