From owner-freebsd-scsi@freebsd.org Tue Jul 10 15:28:01 2018 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 343151030B75 for ; Tue, 10 Jul 2018 15:28:01 +0000 (UTC) (envelope-from stephen.mcconnell@broadcom.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFA137BB7F for ; Tue, 10 Jul 2018 15:28:00 +0000 (UTC) (envelope-from stephen.mcconnell@broadcom.com) Received: by mail-it0-x22e.google.com with SMTP id s7-v6so31057483itb.4 for ; Tue, 10 Jul 2018 08:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to; bh=8JKS9kLc8sx3h7ROseTAjQcXHeXH1u6wpZHsZSgT0+8=; b=dJrC3C8v6DjzejHqmq0iQaJ1muH5+FBgUbtOPx5OEHaLVyP8vcQ5hIl4cCnoRgyu7Y P8lOJgJL4xi6ceKijEJfxmFYJ9LRmOIcVo1ggzcllTwRe1liOeg97/c0CZ+H1h+ATYUf EA/YolCz5b+aA6IFOsmyAbqAM6jfU84utwYQXkqnCqK7QsGCnKbeIsSZxZXL7Yxjjt6h eVC3u9DJZh0t0iaCji3AjuRvBJ0dGy3oK9wSei77P16aWD/ZeGv/s23uJQKvmWnOBFFY Ao+/X6q63ABxV3cLuWZxacSRg1g4OARfVbOEO9njRXQScCRn1dCFTESI7G+g0nioxW7U 5Gvg== X-Gm-Message-State: APt69E2+01YH9sFFaqJE8XwZMFJCJzG8cGeeledmkgSS0P6+RBP+1YJI lgIAxTDQNfmpN8tqtb4JgaKze6qKHWDTkE6fTU1rBA== X-Google-Smtp-Source: AAOMgpdq/vXldhG/5by/Zpa4vUMFMXF41QT8snno5cNZIx+3KiR4uWHmAjQ4UOqDQJ4+LDzRDvT/qf7ZpFIM0wftpj4= X-Received: by 2002:a24:3a87:: with SMTP id m129-v6mr20177298itm.90.1531236479801; Tue, 10 Jul 2018 08:27:59 -0700 (PDT) From: Stephen Mcconnell References: <237f77ab-89e2-188b-b2b1-84c6d88609b0@gmx.net> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHJZ/UmTT9Y1rodqvzH7TRwbPT2YALnpLW+Ap4aqgkCOUyURaRf/K0A Date: Tue, 10 Jul 2018 09:27:58 -0600 Message-ID: <3caf8ccd6fde8cfc4db25bae5327c46b@mail.gmail.com> Subject: RE: problems with SAS JBODs 2 To: Oliver Sech , FreeBSD-scsi Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 15:28:01 -0000 Hi Oliver, I can't get to your links. Can you try to send the logs in another way? Steve > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > scsi@freebsd.org] On Behalf Of Oliver Sech > Sent: Tuesday, July 10, 2018 9:14 AM > To: FreeBSD-scsi > Subject: Re: problems with SAS JBODs 2 > > I tested a few additional things. I don't think this is a multipath, daisy > chain > nor a SAS wide ports problem. > I can reproduce the problem with just a single connection to an > Expander/JBOD. > > Test: > * physically disconnect all shelves > * reboot system > * connect one shelf via SAS cable > * check number of disks (after a reboot everything always shows up) > * disconnect the shelf and wait (geom disk list still shows most disks.) > * connect the shelf (missing disks) > > Tested Hardware: > * Supermicro SAS3 847E2C-R1K28JBOD + SAS3 LSI 9305-16e ( internal > daisy > chain + wide links) > * Supermicro SAS3 847E2C-R1K28JBOD + SAS3 LSI 9305-16e (straight HBA > <- > > EXPANDER connection. (no wide links, no daisy chain)) > * Supermicro SAS2 SC847E26-RJBOD1 + SAS3 LSI 9305-16e (internal daisy > chain) > * Promise SAS2 VTrak 830 + SAS3 LSI 9305-16e (straight HBA > <-> > EXPANDER connection.) > > > > On 07/04/2018 12:15 PM, Oliver Sech wrote: > >> 1) Are the expanders daisy chained? Some SAS expanders don't work > reliably > >> when daisy chained. Best to direct connect each one to the server. > > At the moment I have 1 JBOD connected to 1 HBA Port with 1 cable (4 > lanes?). > > Unfortunately the JBOD has 24 slots in the front and 20 in the back and, > those are connected via a internal SAS daisy chaining. > > I could rewire and connect each backplane directly to the server, but > unfortunately I do not have enough ports.. > > > > JOBD Model: Supermicro 847E2C-R1K28JBOD > > > >> 2) Are the expanders connected in multipath or single path? You need > >> geom_multipath if you're going to do that. > > See answer 1. There is a single path from the host to the first > > expander. > > > >> 3) Are you attempting to use wide ports (two SAS cables connecting each > >> expander to the HBA). If do, you'll need to make sure that each pair > >> of > >> SAS cables goes to the same HBA chip (not merely the same card, as some > >> cards contain two HBA chips). > > see 1. The last time I opened one of those JBODs there were 8 SAS cables > between the Front and Back expander. I assume that wide ports are being > used. > > (2 expanders per backplane as well) > > > >> 4) Are you trying to remove an expander while ZFS is active on that > >> expander? That will suspend your pool, and ZFS doesn't always recover > from > >> a suspended state. > > I'm testing with a new unused disk shelf that was never part of the ZFS > pool. There were > > _______________________________________________ > > freebsd-scsi@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"