From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 23:35:54 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22A228F6 for ; Sat, 5 Apr 2014 23:35:54 +0000 (UTC) Received: from icp-osb-irony-out4.external.iinet.net.au (icp-osb-irony-out4.external.iinet.net.au [203.59.1.220]) by mx1.freebsd.org (Postfix) with ESMTP id 98DFAB54 for ; Sat, 5 Apr 2014 23:35:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiUFAGGRQFPLpuAi/2dsb2JhbABYgwaDSsFagRYWdIIlAQEBAwE6PwULCw0BEyUPBQ0LMROHZQMJB8cqDYcDF4xXghoHgySBFASWbQGBbIY7P4V3hU+DQis X-IronPort-AV: E=Sophos;i="4.97,802,1389715200"; d="scan'208";a="312829776" Received: from unknown (HELO smtp.phoenix) ([203.166.224.34]) by icp-osb-irony-out4.iinet.net.au with ESMTP; 06 Apr 2014 07:35:51 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id E77BEF95; Sun, 6 Apr 2014 09:35:49 +1000 (EST) Date: Sun, 6 Apr 2014 09:35:49 +1000 From: andrew clarke To: Johan Hendriks Subject: Re: Labeling SATA ports Message-ID: <20140405233549.GA7062@ozzmosis.com> References: <533AD768.5080602@famulla.eu> <533BE77E.4070708@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <533BE77E.4070708@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD , Tobias Famulla X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 23:35:54 -0000 On Wed 2014-04-02 12:33:34 UTC+0200, Johan Hendriks (joh.hendriks@gmail.com) wrote: > > Now I would like to label the slots (not the partitions or drives, > > because this is done by ZFS) to a name like (slot0...slot7) to put a > > sticker on the enclosure to be easily able to change a HDD with a > > failure and do not have to guess in which slot the HDD is located. ... > I took another route. > I label my disks with gpart. Then I label the drive with a sticker > matching the gpart label. I also use gpart labels, but using the unique serial number of the drive as reported by smartctl. This is the same as the serial number on the sticker attached to the drive by the manufacturer. Of course, once the drive is installed in the chassis the sticker may no longer be visible, so using your own stickers might still be necessary.