https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082011-12-18T20:02:56ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=103792011-12-18T20:02:56Zftigeot
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>Size of boot slice created by gpt(8) has been bumped to 768MB.</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=104202012-01-11T03:57:46Zswildner
<ul><li><strong>Assignee</strong> set to <i>swildner</i></li></ul><p>grab</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=108952012-08-12T22:40:43Zswildner
<ul></ul><p>AHCI attached disks will give 2TB maximum it seems.</p>
<p>AHCI itself reports the size correctly:</p>
<p>ahci0.1: Found DISK "Hitachi HDS723030ALA640 MKAOA3B0" serial="MK0311YHG3U8MA" <br />ahci0.1: tags=32/32 satacap=170e satafea=005e NCQ=YES capacity=2861588.46MB<br />ahci0.1: f85=7469 f86=bc41 f87=4763 WC=enabled RA=enabled SEC=freezing<br />ahci0.1: Set dummy xfer mode to 46</p>
<p>But then CAM's da then goes:</p>
<p>da1 at ahci0 bus 1 target 0 lun 0<br />da1: <SATA Hitachi HDS72303 MKAO> Fixed Direct Access SCSI-4 device<br />da1: Serial Number MK0311YHG3U8MA<br />da1: 150.000MB/s transfers<br />da1: 2097151MB (4294967295 512 byte sectors: 255H 63S/T 267349C)</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=108962012-08-13T00:37:24Zswildner
<ul></ul><p>The ahci(4) (and sili(4)) bug has been fixed in 09e5fa07c78a9f63a62b8070731e3cbe5371ad39 and it is detected correctly now:</p>
<p>da1 at ahci0 bus 1 target 0 lun 0<br />da1: <SATA Hitachi HDS72303 MKAO> Fixed Direct Access SCSI-4 device<br />da1: Serial Number MK0311YHG3U8MA<br />da1: 150.000MB/s transfers<br />da1: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C)</p>
<p>I'll look at the installer next.</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=109002012-08-13T19:09:42Zswildner
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>I've pushed a fix that fixes installing to >2TB drives (a096577d7d6db4aaa199cf083e70a11e7c496267).</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=109012012-08-13T19:21:03ZAnonymous
<ul></ul><p>Out of curiosity, would the BIOS have any affect on this? I tried installing a 3TB drive recently and DF only saw 2TB of it. After a bit of digging, I found that my BIOS didn't support >2TB and no firmware patch was planned, so I returned the drive. Is there a possibility that this patch would have gotten around the BIOS problem?</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=109022012-08-13T19:30:59Zswildner
<ul></ul><p>On Mon, 13 Aug 2012 21:21:03 +0200, Tim Darby via Redmine <br /><<a class="email" href="mailto:bugtracker-admin@leaf.dragonflybsd.org">bugtracker-admin@leaf.dragonflybsd.org</a>> wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: DragonFly can't be installed on bigger than 2TB volumes (Closed)" href="https://bugs.dragonflybsd.org/issues/2264">#2264</a> has been updated by Tim Darby.</p>
<p>Out of curiosity, would the BIOS have any affect on this? I tried <br />installing a 3TB drive recently and DF only saw 2TB of it. After a bit <br />of digging, I found that my BIOS didn't support >2TB and no firmware <br />patch was planned, so I returned the drive. Is there a possibility that <br />this patch would have gotten around the BIOS problem?</p>
</blockquote>
<p>Assuming this was a disk attaching via ahci(4), I think you were suffering <br /> from the issue that was fixed with 0d92877a ("ahci(4)/sili(4): Fix for <br />drives >2TB."), which corrected ahci's reporting of the capacity to CAM <br />that was limiting it to 2TB.</p>
<p>My 3TB drive shows up here as 800something GB in the BIOS' messages on <br />boot, but in DragonFly it now all works as expected.</p>
<p>The installer fix was just to make the installer play nice with all that <br />too.</p>
<p>Sascha</p> DragonFlyBSD - Bug #2264: DragonFly can't be installed on bigger than 2TB volumeshttps://bugs.dragonflybsd.org/issues/2264?journal_id=119752014-05-28T10:31:39Zftigeot
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/2674">Bug #2674</a>: GPT Support</i> added</li></ul>