From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCB9D138334 for ; Wed, 14 Aug 2019 11:21:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4C3CE085B; Wed, 14 Aug 2019 11:21:18 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 2B287E0830 for ; Wed, 14 Aug 2019 11:21:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 26B0C233CA for ; Wed, 14 Aug 2019 12:09:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CibE0FlzWxNx for ; Wed, 14 Aug 2019 12:09:14 +0200 (CEST) Received: from mailstore1.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id D8D7922AA1 for ; Wed, 14 Aug 2019 12:09:13 +0200 (CEST) Received: from andromeda.localnet (unknown [10.55.16.101]) by mailstore1.antarean.org (Postfix) with ESMTP id 373BD36 for ; Wed, 14 Aug 2019 13:21:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1565781675; bh=5nLxR9CfQ9Eq5LI7jJzg6Ix+LBF8ifVFSfVscoeGqUg=; h=From:To:Subject:Date:In-Reply-To:References; b=mm7g8nZEEH9JFuHFbfU4yPMybhLU8AmD7fBlGftAZMtzomoPMhbdFX4E6UrnWiw59 t2J4GxKdFTmJ7QxtSNbZU5UGgjLiSt4XkIBgD1vrFT6eHJXwzCemAiuI9ovkzkD/ND wzAhIvj/5NB6Gg+xSK7dz8Vi8852LSqemXwWoxt8= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] multipath.conf : learning how to use Date: Wed, 14 Aug 2019 13:20:41 +0200 Message-ID: <1786455.n5vAsDlxU6@andromeda> In-Reply-To: <38401489-dffa-b3e8-422f-3d3585ae74ad@xunil.at> References: <3271924.fr91aXinDs@andromeda> <38401489-dffa-b3e8-422f-3d3585ae74ad@xunil.at> 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 97b56b76-df84-4aa4-824b-c69bab38ac84 X-Archives-Hash: bfb8b4f099c86c919d9086d96c6350ba On woensdag 14 augustus 2019 10:14:31 CEST Stefan G. Weichinger wrote: > Am 14.08.19 um 08:36 schrieb J. Roeleveld: > > Stefan, > > > > On maandag 29 juli 2019 21:28:50 CEST Stefan G. Weichinger wrote: > >> At a customer I have to check through an older gentoo server. > >> > >> The former admin is not available anymore and among other things I have > >> to check how the SAN storage is attached. > > > > If you ever encounter that admin, make sure you hide the body :) > > I only learn day by day what a mess all that is ... If there is no documentation, it is a mess by definition. > >> I see two devices sdc and sdd that should come from the SAN. > > > > Interesting, are these supposed to be the same? > > No, I don't think so. But maybe you'r right. No sdd in fstab or in the > mounts at all and ... See next item, make sure you do NOT mount both at the same time. > > what do you get back from: > > > > # /usr/bin/sg_vpd --page=di /dev/sdc > > # /usr/bin/sg_vpd --page=di /dev/sdd > > (As suggested in the multipathd.conf file you listed above) > > these 2 look similar to me: > > samba ~ # /usr/bin/sg_vpd --page=di /dev/sdc > Device Identification VPD page: > Addressed logical unit: > designator type: NAA, code set: Binary > 0x600c0ff0001e91b2c1bae25601000000 > samba ~ # /usr/bin/sg_vpd --page=di /dev/sdd > Device Identification VPD page: > Addressed logical unit: > designator type: NAA, code set: Binary > 0x600c0ff0001e91b2c1bae25601000000 > > > If "sdc" and "sdd" are the same disk, the "Adressed logical unit" id > > should be the same for both. > > So we have 0x600c0ff0001e91b2c1bae25601000000 twice, right? Yes, IOW, the same device/LUN/whatever. Do NOT mount both at the same time EVER > There's a /dev/sdb as well, commented in fstab with "9750-8i Raid6 > (4x3TB + 2x4TB)" but that seems another "branch" of devices: > > # /usr/bin/sg_vpd --page=di /dev/sdb > Device Identification VPD page: > Addressed logical unit: > designator type: NAA, code set: Binary > 0x600605b00d0ce810217ccffe19f851e8 Yes, this one is different. I checked the above ID and it looks like it is already correctly configured. Is " multipathd " actually running? If it were running correctly, you would mount " /dev/mapper/.... " instead of " /dev/sdc " or " /dev/sdd ". > In the first week of september I travel there and I have the job to > reinstall that server using Debian Linux (yes, gentoo-users, I am > getting OT here ;-)). For something that doesn't get updated/managed often, Gentoo might not be the best choice, I agree. I would prefer Centos for this one though, as there is far more info on multipath from Redhat.