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

2017-11-20 Thread Andy Ruhl
On Mon, Nov 20, 2017 at 3:17 AM, Stephen Borrill wrote: > Have I missed some context here? It is not complex to boot a BIOS-based > machine from a GPT disk. That's what gpt biosboot is for. I've been using > even on NetBSD 5 on a 4TB hardware RAID array (backported the

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

2017-11-20 Thread Stephen Borrill
On Sat, 18 Nov 2017, Michael van Elst wrote: On Sat, Nov 18, 2017 at 02:42:30PM +0100, Havard Eidnes wrote: Now, installing a bootable netbsd onto such a disk is something else, but as a data disk it's even easier than before. I admit to not knowing how / whether that can be done, and from

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

2017-11-18 Thread Michael van Elst
On Sat, Nov 18, 2017 at 02:42:30PM +0100, Havard Eidnes wrote: > > Now, installing a bootable netbsd onto such a disk is something else, > > but as a data disk it's even easier than before. > > I admit to not knowing how / whether that can be done, and from which > version etc. Your existing

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

2017-11-18 Thread Havard Eidnes
> Now, installing a bootable netbsd onto such a disk is something else, > but as a data disk it's even easier than before. I admit to not knowing how / whether that can be done, and from which version etc. Your existing wiki page about "using-large-disks" is useful; could you perhaps be inspired

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

2017-11-18 Thread Andy Ruhl
On Sat, Nov 18, 2017 at 3:42 AM, Michael van Elst wrote: > Use the gpt tool to create a GUUID Partition Table and add a ffs partition > covering all free space, aligned for 4k physical sectors. > > - gpt create wd1 > - gpt add -a 4096 -t ffs -l A_unique_name_for_it wd1 > > On

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

2017-11-18 Thread Michael van Elst
acr...@gmail.com (Andy Ruhl) writes: >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. That's because MBR and BSD disklabel are limited to 2TB for disks with a logical block size of 512 bytes.

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

2017-11-17 Thread gary
You want a GPT: man gpt. I also found an example at https://wiki.netbsd.org/users/mlelstv/using-large-disks/#index4h1 . Those should be enough to get you started. Good luck... Gary Duzan => On Thu, Nov 2, 2017 at 6:15 AM, Jonathan A. Kollasch =>

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

2017-11-17 Thread Andy Ruhl
On Thu, Nov 2, 2017 at 6:15 AM, Jonathan A. Kollasch 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