From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 20:56:03 2006 Return-Path: X-Original-To: freebsd-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 68BEF16A4A0 for ; Mon, 11 Dec 2006 20:56:03 +0000 (UTC) (envelope-from elessar@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B9E5442A0 for ; Mon, 11 Dec 2006 20:34:10 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from localhost (mail [127.0.0.12]) by mail.bsdforen.de (Postfix) with ESMTP id D25A04241BF; Mon, 11 Dec 2006 21:35:12 +0100 (CET) X-Virus-Scanned: amavisd-new at bsdforen.de Received: from mail.bsdforen.de ([127.0.0.12]) by localhost (mail.bsdforen.de [127.0.0.12]) (amavisd-new, port 10024) with ESMTP id IEw1XV6-+bxz; Mon, 11 Dec 2006 21:35:12 +0100 (CET) Received: from loki.starkstrom.lan (p57B575F1.dip.t-dialin.net [87.181.117.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 9C1164241C5; Mon, 11 Dec 2006 21:35:01 +0100 (CET) Date: Mon, 11 Dec 2006 21:34:59 +0100 From: Joerg Pernfuss To: Jerry McAllister Message-ID: <20061211213459.739348d5@loki.starkstrom.lan> In-Reply-To: <20061211191729.GA66953@gizmo.acns.msu.edu> References: <20061211191729.GA66953@gizmo.acns.msu.edu> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_kc8cTXwf3yJUhEyLb_NnIEJ; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org, up@3.am 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:56:03 -0000 --Sig_kc8cTXwf3yJUhEyLb_NnIEJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 11 Dec 2006 14:17:29 -0500 Jerry McAllister wrote: > > Is there an easy way to force the device to work as something like: > >=20 > > /dev/da1s1d > >=20 > > on all of the servers, including ones that do not already have a > > SCSI disk subsystem and existing /dev/da0 devices? >=20 > 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. A imho better solution is to load the geom_label class. Then either give the device itself a label: da3s1d -> label/usbstick42s1d or set the UFS Label field of the filesystems via 'tunefs -L', this will give you for example da5s1a -> ufs/ustick5data da5s1d -> ufs/ustick5keys or whatever you set the label to, obviously. If geom_label is loaded, you have unique device names on all servers (if you don't mix things up when you label them). Regards, Joerg --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. | --Sig_kc8cTXwf3yJUhEyLb_NnIEJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFFfcDzH31s/bvKrSQRAjoTAJ96usn8CteMywvnHhIu1yBYDPw4kQCbBUX0 5tcp4mzK350H/d02zraMQoo= =Pns6 -----END PGP SIGNATURE----- --Sig_kc8cTXwf3yJUhEyLb_NnIEJ--