Re: softraid & GPT configuration.
On 2017-03-03, Eric Huibanwrote: > bioctl needs a mandatory bootable partition to act correctly even on > disks not aimed to be bootable. I find that very surprising. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: softraid & GPT configuration.
On 2017-03-03, Eric Huibanwrote: > i just performed some remote connection... recreating GPT with an .i EFI > boot partition. The softraid is now 2.7TiB... Grumbl! conclusion : > bioctl needs a mandatory bootable partition to act correctly even on > disks not aimed to be bootable. Too late now but you don't need GPT for this if it's OpenBSD-only, just do 'b' '*' in disklabel.
Re: softraid & GPT configuration.
Eric Huiban wrote: Stefan Sperling wrote: On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: Hello, I should have miss something in the man pages with softraid and bioctl. But i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting like 2TiB MBR disks with OpenBSD 6.0. fdisk -ig sd1 is OK. Did you also use the -b option? The FAQ now lists the steps for EFI setups: http://www.openbsd.org/faq/faq14.html#softraid Did you see this already? I saw that but i dismissed it since i do not need a EFI boot for my "data container" disks. (aside of the container disks i've got a system disk with traditional image & rsync backups). Anyway i did not find "anywhere" the mention that a softraid 1 needs to be based on a bootable units. As well as "huge" discs management topic seemed to me not so covered. Such idea of mandatory boot partition looked weird to me... i just posted an open question on the list. Eric. i just performed some remote connection... recreating GPT with an .i EFI boot partition. The softraid is now 2.7TiB... Grumbl! conclusion : bioctl needs a mandatory bootable partition to act correctly even on disks not aimed to be bootable. Sorry for the noise. Eric.
Re: softraid & GPT configuration.
Stefan Sperling wrote: On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: Hello, I should have miss something in the man pages with softraid and bioctl. But i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting like 2TiB MBR disks with OpenBSD 6.0. fdisk -ig sd1 is OK. Did you also use the -b option? The FAQ now lists the steps for EFI setups: http://www.openbsd.org/faq/faq14.html#softraid Did you see this already? I saw that but i dismissed it since i do not need a EFI boot for my "data container" disks. (aside of the container disks i've got a system disk with traditional image & rsync backups). Anyway i did not find "anywhere" the mention that a softraid 1 needs to be based on a bootable units. As well as "huge" discs management topic seemed to me not so covered. Such idea of mandatory boot partition looked weird to me... i just posted an open question on the list. Eric.
Re: softraid & GPT configuration.
On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: > Hello, > > I should have miss something in the man pages with softraid and bioctl. But > i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting > like 2TiB MBR disks with OpenBSD 6.0. > > fdisk -ig sd1 is OK. Did you also use the -b option? The FAQ now lists the steps for EFI setups: http://www.openbsd.org/faq/faq14.html#softraid Did you see this already?
softraid & GPT configuration.
Hello, I should have miss something in the man pages with softraid and bioctl. But i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting like 2TiB MBR disks with OpenBSD 6.0. fdisk -ig sd1 is OK. same for sd2. No EFI boot partition. disklabel is ok with a 2.7TiB ".a and .c" RAID partitions on each disk. (the check with newfs and mount is also OK). checked as per man pages. but when i construct the RAID with bioctl -c 1 -l /dev/sd1a,/dev/sd2a softraid the softraid reports only 2TiB partitions on sd1 and sd2 thus building 2TiB raid unit sd3. Does someone have any advise about such behavior, or about what i'm missing ? Both man, apropos and google seem a little bit shy about such topic. Regards, Eric.