On Tue, Mar 12, 2024 at 11:00:02PM -0700, Paul Goyette wrote:
> 
> ``scsictl sd0 start'' makes a little bit of progress, and claims
> to be "fabricating a geometry".  ``gpt show -a sd0'' shows two
> partitions (one for NetBSD backups, and one for Windoze backups)
> 
>       # gpt show sd0
>              start        size  index  contents
>                  0           1         PMBR
>                  1           1         Pri GPT header
>                  2          32         Pri GPT table
>                 34        2014         Unused
>               2048  4294967296      1  GPT part - NetBSD FFSv1/FFSv2
>         4294969344  3518951424      2  GPT part - Windows basic data
>         7813920768       49119         Unused
>         7813969887          32         Sec GPT table
>         7813969919           1         Sec GPT header

That looks fine.

> But it does not seem to progress to the discover-wedges process,
> and no wedges seem to exist:
> 
>       # dkctl sd0 listwedges
>       /dev/rsd0: no wedges configured

The wedge autodetection happens when the device attaches (and failed
since the disk was offline). This is different from disklabels that
are fetched by the first opener (and are usually dropped with
the last close, except traditionally for vnd).

You can manually trigger autodetection with

dkctl sd0 makewedges



Greetings,
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to