From owner-freebsd-questions@FreeBSD.ORG Thu Nov 20 08:26:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1992887E for ; Thu, 20 Nov 2014 08:26:05 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A59211E8 for ; Thu, 20 Nov 2014 08:26:04 +0000 (UTC) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id sAK8Pt3h040461; Thu, 20 Nov 2014 08:25:55 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <546DA593.9060603@qeng-ho.org> Date: Thu, 20 Nov 2014 08:25:55 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Polytropon Subject: /dev/ada and /dev/ad (Was: Re: Free disks enumeration needed) References: <1422065A4E115F409E22C1EC9EDAFBA4220D87FE@sofdc01exc02.postbank.bg> <20141120042016.c49dcb83.freebsd@edvax.de> In-Reply-To: <20141120042016.c49dcb83.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 08:26:05 -0000 On 20/11/2014 03:20, Polytropon wrote: [snip] > The usage does not depend on what kind of disk it is. > Actually, both disk types can be used for ZFS and UFS. > SATA disk show up as /dev/ad* or /dev/ada* (preferred), > while SCSI disks will be /dev/da*, the generic naming > for direct access disks and media. Slightly off topic, but possibly useful to a wider audience. If you're fully converted to using /dev/ada* rather than /dev/ad*, you can make the /dev/ad* names go away by adding kern.cam.ada.legacy_aliases=0 to /boot/loader.conf. This tidies up /dev a little and loses the "Used to be adN" messages during boot. This option was added at 9.0, when ada(4) was introduced but if, like me, you took a while to convert disk naming you may have forgotten that you could get rid of the old names.