NetBSD-Users archive

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

Re: Problem with gpt partitioning in NetBSD-5.0.2 amd64

Thanks for all info. Any idea why I cannot execute the gpt destroy command 

server1# gpt destroy sd0
gpt: unable to open device 'rsd0d': Invalid argument


On 04/01/2010 09:28 AM, Michael van Elst wrote:
> (Peter Kerwien) writes:
>> Thanks for your answers. Yes I have created wedges, but after that I
>> have destroyed my array and re-created it. Perhaps the information is
>> still there somewhere. How do I remove wedges properly?
> Wedges are only data structures in memory that are not persisent.
> You delete them with dkctl delwedge.
> Wedges are automatically created when a disk is attached from
> information on that disk (MBR, BSD disklabel, GPT) and only if
> your kernel has DKWEDGE_AUTODISCOVER and one or more of the
> DKWEDGE_METHOD_* enabled.
> because autodiscover applies to all disks including your boot disk.
> DKWEDGE_METHOD_GPT is easy unless you have an EFI system that uses
> GPT on the boot disk.
> gpt destroy will erase a GPT, autodiscover will then not find
> anything to create wedges from.

Home | Main Index | Thread Index | Old Index