Re: raidframe and gpt

2024-03-18 Thread Brian Buhrow
hello. If you put a gpt label on a raid set and add partitions to it, those partitions will show up as dkn devices automatically, when the raid set is configured. This is true whether the raid set is configured automatically by the kernel at boot or manually via raidctl -C or -c. This

Re: raidframe and gpt

2024-03-17 Thread Greg Oster
On 2024-03-17 12.04, B Harder wrote: On Mar 16, 2024, at 23:16, Greg Oster wrote: RAIDframe doesn't understand NAME=gpt-label. Use /dev/dk , and then set the RAID set to autoconfigure. It'll magically figure out what devices need to be glued together. Hey Greg, can you explain that

Re: raidframe and gpt

2024-03-17 Thread B Harder
> On Mar 16, 2024, at 23:16, Greg Oster wrote: > >  > >> On 2024-03-16 21.58, Paul Goyette wrote: >>> On Sat, 16 Mar 2024, Paul Goyette wrote: >>> Does anyone have an example of how to configure raid0 on a GPT disk? >>> >>> I can easily set the partition type with gpt, but how do I reserve

Re: raidframe and gpt

2024-03-17 Thread T K Spindler (moof)
On Sat, Mar 16, 2024 at 10:58:18PM -0600, Greg Oster wrote: > On 2024-03-16 21.58, Paul Goyette wrote: > > On Sat, 16 Mar 2024, Paul Goyette wrote: > > You can use GPT instead of mbr. Wedges should show up automatically (I'm > pretty sure they do, but since I do NFS exporting of mine, I stuck

Re: raidframe and gpt

2024-03-17 Thread Greg Oster
On 2024-03-16 21.58, Paul Goyette wrote: On Sat, 16 Mar 2024, Paul Goyette wrote: Does anyone have an example of how to configure raid0 on a GPT disk? I can easily set the partition type with gpt, but how do I reserve space for the raid component label?  Do I need to reserve that space?

Re: raidframe and gpt

2024-03-16 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >> Does anyone have an example of how to configure raid0 on a GPT disk? For a manual setup, you can just reference the wedges like: # raidctl config file for /dev/rraid0 START array # numRow numCol numSpare 1 2 0 START disks NAME=raid0.0 NAME=raid0.1

re: raidframe and gpt

2024-03-16 Thread matthew green
Paul Goyette writes: > Does anyone have an example of how to configure raid0 on a GPT disk? these are my notes i refer to every so often: https://www.netbsd.org/~mrg/gpt-raid-setup.txt it's gpt on each with type raid, which gives you dkN @ diskN, you then create a raid with those dkNs, and then

Re: raidframe and gpt

2024-03-16 Thread Paul Goyette
On Sat, 16 Mar 2024, Paul Goyette wrote: Does anyone have an example of how to configure raid0 on a GPT disk? I can easily set the partition type with gpt, but how do I reserve space for the raid component label? Do I need to reserve that space? Also, does raidframe understand the

raidframe and gpt

2024-03-16 Thread Paul Goyette
Does anyone have an example of how to configure raid0 on a GPT disk? I can easily set the partition type with gpt, but how do I reserve space for the raid component label? Do I need to reserve that space? Also, does raidframe understand the NAME=gpt-label syntax in the config file? Or does it

Re: NetBSD 9_RC1 not booting from disklabel partition on RAIDframe on GPT

2019-12-12 Thread Matthias Petermann
Hello Chavdar, thanks for looking at this issue. In the meantime Emmanuel Dreyfus contacted me and did prepare a patch which solves the issue for me. It is attached to the PR misc/54748 [1]. The patch is committed to HEAD, so newer 9.99.x daily builds should already contain it. It would be

Re: NetBSD 9_RC1 not booting from disklabel partition on RAIDframe on GPT

2019-12-06 Thread Chavdar Ivanov
there seems to be a deviation of the boot behavior in NetBSD 9_RC1 > compared to NetBSD 8.1 under the following circumstances: > > 1) system has 2 disks (wd0, wd1) > 2) disks are GPT-partitioned > 3) GPT contains one GPT-partition (RAIDframe component) each > 4) RAIDframe raid0 contain