From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D85551582EF for ; Sun, 16 Feb 2025 16:51:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A1F7D34316A for ; Sun, 16 Feb 2025 16:51:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A50A311047E; Sun, 16 Feb 2025 16:50:22 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 887411102CD for ; Sun, 16 Feb 2025 16:50:21 +0000 (UTC) Received: from [109.180.99.107] (helo=[192.168.1.99]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1tjhqV-00000000Bco-54bm for gentoo-user@lists.gentoo.org; Sun, 16 Feb 2025 16:50:19 +0000 Message-ID: <83da23d6-4320-4858-af1d-9f1e7fd38ef7@youngman.org.uk> Date: Sun, 16 Feb 2025 16:50:18 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Problem with detecting ZFS HDD To: gentoo-user@lists.gentoo.org References: <3335789.aeNJFYEL58@rogueboard> Content-Language: en-GB From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e6bd5cee-0f68-456d-9a01-85969162c0f8 X-Archives-Hash: ad7a8a4cb6747cebd34414d431eee15f On 01/02/2025 00:13, gevisz wrote: > The problem is that after booting with an additional HDD, > one of these ZFS HDDs does not report any of its disk id: > nor wwn neighter in the form ata-WDC_WD5000*. > >>> The situation remained the same even after swapping the >>> undetected 500GB WD HDD with the one. > And now, this makes me think that the problem is indeed with the SATA port. I know I'm very late to the party but ... As linux boots, it will allocate an sd* address to all the drives it sees. So if you've got three drives, but only sda and sdb, then one of them hasn't been detected. Seeing as /dev/disk/by-id is only a symlink to /dev/sda, /dev/sdb etc, from what you say I suspect you won't see the relevant sdx entry in /dev That to me seems the obvious way to do things - linux assigns a "random" name to the device, so it can read the device, and then symlinks the device name to whatever random code got assigned initially. As to why, do you have a manual for your mobo? It's an unfortunate fact (and I don't know when it started) that a lot of SATA ports nowadays don't work a lot of the time. When I was looking for a mobo, there was a lot of "if you stick an NVMe in, it will disable SATA4" or whatever. Likewise, if you used an external graphics card, depending on what PCIe it was, it might disable certain SATA ports. Given that I wanted about six *working* sata ports, that was a pain in the proverbial! Basically, a lot of things nowadays run over the PCIe bus, and it's very common for (a) lanes to be shared between different devices, and (b) there's a pecking order - if multiple devices share a lane, only the highest up the pecking order will work. So of course, sods law probably says you can't even get a SATA expansion board, because that will require the hijacked lane and won't work ... Cheers, Wol