From owner-freebsd-fs@freebsd.org Sun Jun 4 05:08:33 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACE5AAFAD73 for ; Sun, 4 Jun 2017 05:08:33 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 5227665646 for ; Sun, 4 Jun 2017 05:08:33 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id d73so1369474wma.0 for ; Sat, 03 Jun 2017 22:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vS0ebhQ/EywTUPWDRcGsJpLwCiR6a6+PWIPQ8XwnSJQ=; b=nZUXrJTcnPqMqXBNt3I5mqr8VsLpehBAHAp9v6eDQVxHKsO6UNXppuzpjzhYDlKKlu exicrxYc24zy+oOVnQ4iB+SCDKhpKqUoMv1Gp2iiiPFTvT1LPWaeGf26mDONozNBnE48 vp+y35WZKfl0qSbQ1aF7JsCdsacvF+nRDM3bgFoJzIaTcvE2Jz/gCfTHFKHJePbs1Vby iq3njxchA0KoADPKWAvoCtNuOQTQQd7lquBMTt5raTk9o3AiQ825dfP1bmStXMYPZ3Ba XXR/M6vqpI4ESp+NoqmWzPAC4BgROBWGoaApGuKqMVTJZAsd4gjZfJXCHUuMArI5dvWX NKfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vS0ebhQ/EywTUPWDRcGsJpLwCiR6a6+PWIPQ8XwnSJQ=; b=JFuTTOS0bLeKDruE78MI3AgCUCQCj4qNPZcTomYQhGOqJpLG2QuDpw5dcKWc4s6B9f 9T9gLnSmVDNTLUeQXmP2v3AAmmVfIY7HkGcXSqc3maCRf4ZST+dzvuelvEJDQtM3P5EF CX6aZ3vWX6NodU3Ur41j+GGXEynXCQ5DD2FkzklQtOd8iPT9wakuWofRMxXooaJvStyG 7jLm9RcADM20rjadjuFU1dJPon8NvQQn/9/rOX48BLRldeNnmgvWve8U52K696MOAGk4 SyBqIHEL7lKfYrPlrPDUSg4J+v8ujIxwxAfa67FqJFFDgkcLE1/ykoXJZ3L5sLvT4Dcs pNwg== X-Gm-Message-State: AODbwcAgkkd+LaeIQPQpXKcqo9x3p+qnAfb4uLcHMc29JP0D6NmxKlCi tMaGrIbuQ3LPUA+3dJr4by3n4oUJuBsL X-Received: by 10.80.167.4 with SMTP id h4mr11672014edc.142.1496552910933; Sat, 03 Jun 2017 22:08:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.135.133 with HTTP; Sat, 3 Jun 2017 22:08:30 -0700 (PDT) From: Zaphod Beeblebrox Date: Sun, 4 Jun 2017 01:08:30 -0400 Message-ID: Subject: Is it Geom, the mfi driver or the HBA? To: freebsd-fs Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 05:08:33 -0000 So... when I put a drive in my USB enclosure, it shows up as a 4T drive, but when I attach it to my mfi-driver card, it shows up as 2T. Not the size that 2T drives commonly are (which is 1.8T), but 2T. (BTW... mfi is in passs-thru mode) So... how the world sees this drive: da6 at mfi0 bus 0 scbus4 target 6 lun 0 da6: Fixed Direct Access SPC-3 SCSI device da6: Serial Number ZDH1BN4H da6: 150.000MB/s transfers da6: Command Queueing enabled da6: 2097151MB (4294967294 512 byte sectors) da6: quirks=0x8<4K> but: [1:46:346]root@vr:~> camcontrol identify da6 | grep LBA48 LBA48 supported 7814037168 sectors yet is there a quirk to correct this? If camcontrol sees 4T, why doesn't it probe as 4T?