Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 21:34:59 +0100
From:      Joerg Pernfuss <elessar@bsdforen.de>
To:        Jerry McAllister <jerrymc@msu.edu>
Cc:        freebsd-questions@freebsd.org, up@3.am
Subject:   Re: Questions re: disklabel for external USB drives
Message-ID:  <20061211213459.739348d5@loki.starkstrom.lan>
In-Reply-To: <20061211191729.GA66953@gizmo.acns.msu.edu>
References:  <Pine.BSF.4.44.0612111400430.41176-100000@richard2.pil.net> <20061211191729.GA66953@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <jerrymc@msu.edu> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061211213459.739348d5>