NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using a 4TB (Now 3TB) SATA disk with i386?



On Thu, Nov 2, 2017 at 6:15 AM, Jonathan A. Kollasch
<jakllsch%kollasch.net@localhost> wrote:
> On Thu, Nov 02, 2017 at 05:56:07AM -0700, Andy Ruhl wrote:
> It's not uncommon for newer USB drives to present themselves with 4KiB
> logical sectors, despite the fact that the disks within are actually
> 4KiB physical sectors with 512-byte logical sectors.  Some of our tools,
> particularly back in the netbsd-6 days, do not deal well with
> non-DEV_BSIZE logical sectors.
>
> You should have little to no issue with internal SATA drives, as most
> of them present themselves with 512-byte logical sectors.

I now have a NetBSD-8/i386 machine with a 3TB disk:

wd1 at atabus1 drive 0
wd1: <ST3000DM001-1ER166>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)

When I try to use fdisk to create a partition, it won't let me go
higher than 2TB.

I tried just using disklabel as well, and I have the same problem.

I see a Wiki page about creating wedges but it's talking about using
ccd and raid which I don't want to do. I just want a regular 3TB disk
with 1 ffsv2 partition.

Where should I start? I'm not finding "official" documentation (in the
guide for example).

Andy


Home | Main Index | Thread Index | Old Index