NetBSD-Users archive

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

Re: booting from gpt/raid?



In article <cb1b88ad-a894-c2da-e160-3aeb63810d36%spg.tu-darmstadt.de@localhost>,
Hauke Fath  <hf%spg.tu-darmstadt.de@localhost> wrote:
>On 07/01/18 22:55, MLH wrote:
>> Things are generally going well but before I actually install a
>> system, one question I have is how to make the configuration
>> bootable.
>
>Unfortunately, gpt-on-raid1-on-gpt is not bootable, as opposed to 
>disklabel-on-RAID1-on-disklabel (which has size limitations).

Mine works... The trick is to use a umass sd0 to boot from :-)

christos

[...]
[    1.710175] wd0 at atabus1 drive 1
[    1.710175] wd0: <ST3000DM001-1ER166>
[    1.710175] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[    1.710175] wd0: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors
[    1.740187] wd0: GPT GUID: b9dd57fb-9dea-4bd4-98d3-ce1c0ccff5f4
[    1.750191] dk0 at wd0: "raid0.0", 5860531200 blocks at 1024, type: raidframe
[    1.750191] wd0: 32-bit data port
[    1.750191] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[    1.750191] wd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA), WRITE DMA FUA EXT
[    3.890025] umass0 at uhub5 port 4 configuration 1 interface 0
[    3.890025] umass0: SanDisk (0x781) Cruzer Fit (0x5571), rev 2.00/1.27, addr 2
[    3.890025] umass0: using SCSI over Bulk-Only
[    3.890025] scsibus0 at umass0: 2 targets, 1 lun per target
[    3.890025] sd0 at scsibus0 target 0 lun 0: <SanDisk, Cruzer Fit, 1.27> disk removable
[    3.890025] sd0: 30532 MB, 62034 cyl, 16 head, 63 sec, 512 bytes/sect x 62530624 sectors
[    3.909860] dk1 at sd0: "sd0a", 62530561 blocks at 63, type: ffs
[    4.199655] ehci0: handing over low speed device on port 6 to uhci2
[    4.719361] wd1 at atabus2 drive 0
[    4.719361] wd1: <ST3000DM001-1ER166>
[    4.719361] wd1: drive supports 16-sector PIO transfers, LBA48 addressing
[    4.719361] wd1: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors
[    4.759314] wd1: GPT GUID: ee945b1e-2d48-4d47-81f2-8fb1c17effa8
[    4.759314] dk2 at wd1: "raid0.1", 5860531200 blocks at 1024, type: raidframe
[    4.759314] wd1: 32-bit data port
[    4.769299] wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[    4.769299] wd1(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA), WRITE DMA FUA EXT
[    4.808910] Component on: dk0: 5860531200
[    4.808910] Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
[    4.808910] Version: 2 Serial Number: 2016042301 Mod Counter: 4985
[    4.808910] Clean: Yes Status: 0
[    4.808910] sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
[    4.808910] RAID Level: 1  blocksize: 512 numBlocks: 5860531072
[    4.808910] Autoconfig: Yes
[    4.808910] Root partition: Force
[    4.808910] Last configured as: raid0
[    4.808910] Component on: dk2: 5860531200
[    4.808910] Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
[    4.808910] Version: 2 Serial Number: 2016042301 Mod Counter: 4985
[    4.808910] Clean: Yes Status: 0
[    4.808910] sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
[    4.808910] RAID Level: 1  blocksize: 512 numBlocks: 5860531072
[    4.808910] Autoconfig: Yes
[    4.808910] Root partition: Force
[    4.808910] Last configured as: raid0
[    4.828722] Found: dk0 at 0
[    4.828722] Found: dk2 at 1
[    4.828722] RAID autoconfigure
[    4.828722] Configuring raid0:
[    4.828722] Starting autoconfiguration of RAID set...
[    4.828722] Looking for 0 in autoconfig
[    4.828722] Found: dk0 at 0
[    4.828722] Looking for 1 in autoconfig
[    4.828722] Found: dk2 at 1
[    4.828722] raid0: allocating 20 buffers of 65536 bytes.
[    4.828722] raid0: RAID Level 1
[    4.828722] raid0: Components: /dev/dk0 /dev/dk2
[    4.828722] raid0: Total Sectors: 5860531072 (2861587 MB)
[    4.838659] raid0: GPT GUID: 2f48057f-f281-485e-a11d-8f1eb6a9293d
[    4.838659] dk3 at raid0: "root", 1024000 blocks at 34, type: ffs
[    4.838659] dk4 at raid0: "swap", 16777216 blocks at 1024034, type: swap
[    4.838659] dk5 at raid0: "usr", 125829120 blocks at 17801250, type: ffs
[    4.838659] dk6 at raid0: "var", 62914560 blocks at 143630370, type: ffs
[    4.838659] dk7 at raid0: "src-7", 125829120 blocks at 206544930, type: ffs
[    4.838659] dk8 at raid0: "u-7", 125829120 blocks at 332374050, type: ffs
[    4.838659] dk9 at raid0: "backup-7", 5402327869 blocks at 458203170, type: ffs
[    4.838659] boot device: dk3
[    4.838659] root on dk3 dumps on dk4
[    4.848556] dump_misc_init: max_paddr = 0x140000000
[    4.848556] mountroot: trying lfs...
[    4.848556] mountroot: trying ext2fs...
[    4.848556] mountroot: trying ffs...
[    4.858454] root file system type: ffs
[    4.858454] kern.module.path=/stand/amd64/8.99.15/modules
[    4.868439] init: copying out path `/sbin/init' 11




Home | Main Index | Thread Index | Old Index