From nobody Tue Jan 25 23:02:15 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 44029197FD04 for ; Tue, 25 Jan 2022 23:02:33 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jk2S842BZz4ZhJ for ; Tue, 25 Jan 2022 23:02:32 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f54.google.com with SMTP id z25-20020a0568301db900b005946f536d85so27882780oti.9 for ; Tue, 25 Jan 2022 15:02:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2r9sB23iMfTYYYERFAkM/EO3PyYouMJRgFwjcVrL7tQ=; b=6osZpuY7dpj1Ms3VjQ6AX+QpoF3i92TXSLkPe+fNVRZVg27ypoZmdPXBGhVRn+DSlo BoOQxorTHN4NuSFjE8O/XSNEGPN4ZBGicz/+fVV9UaJPE9zh/yCJ9MLdlQPuDycKlVfp 5EumIVGyq9rpp7Pdstt9y6AScBWeE31/sl1CuC1rjEjWazmktu9JHe7CAfg/CJ/jVQyg mOn8U+MaKtWuUDIndm/yMxBDzOGQ/qVe9El969OtMLSGSh3DGxO0CO0a0Yfuot6MBn5o 8Ydc+w5NVgfnbtutkCBKoBZSARl4u/MRXQ8wQQjTtVZrVNW0f6FuIfTrI4Nm5242WJWL RFSA== X-Gm-Message-State: AOAM533LAATaU+/6YeJHBasUgv7a0+5KxT05lOnOxAY5Cp5ztb5dajQ4 ogLwoYsmnBjhV/pFVusXu5AndRm8D5JEYzJbBJ2yJ0o+ X-Google-Smtp-Source: ABdhPJwHr8P8XeWf5NEgjiW/vuYYgJmVQ72XJAO0aFxEkN+sIerHzBDKziyNHzH0kGDiqoC76I8ahucClC8asPQzdZ4= X-Received: by 2002:a9d:6210:: with SMTP id g16mr16537023otj.371.1643151746142; Tue, 25 Jan 2022 15:02:26 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <5d4569a7-3198-761e-9fd0-c53567ecb3ea@m5p.com> <4b2820ca-a342-9719-6d7e-ce91395e8c51@m5p.com> In-Reply-To: <4b2820ca-a342-9719-6d7e-ce91395e8c51@m5p.com> From: Alan Somers Date: Tue, 25 Jan 2022 16:02:15 -0700 Message-ID: Subject: Re: Which disk is which? To: George Mitchell Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Jk2S842BZz4ZhJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.210.54 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-1.91 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.54:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.912]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.54:from]; MLMMJ_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, Jan 25, 2022 at 3:39 PM George Mitchell wrote: > > On 1/25/22 16:04, David Wolfskill wrote: > > On Tue, Jan 25, 2022 at 03:59:45PM -0500, George Mitchell wrote: > >> "zpool status' tells me which disks are in my pool by diskid. But > >> smartd log messages refer to hardware unit numbers (adaN). How do I > >> convert between the two? -- George > > > > If your hardware supports it, "sesutil show" may be helpful here. > > > > Peace, > > david > > > Wow, I never even heard of the "ses" device, but I seem to have one. > But "sesutil show" is not at all helpful -- says "ses0:" and nothing > else. ("sesutil status" at least says "ses0: OK".) -- George That sounds like you only have an SGPIO device, which is builtin to most SATA controllers, and is almost useless. BTW, you can also use "geom disk list" to correlate device names to diskid.