NetBSD-Bugs archive

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

bin/55601: Unable to destroy gpt on disk with invalid GPT



>Number:         55601
>Category:       bin
>Synopsis:       Unable to destroy gpt on disk with invalid GPT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 23 23:05:00 +0000 2020
>Originator:     David Brownlee
>Release:        NetBSD 9.0_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD iris.absd.org 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Thu Aug 20 16:16:33 UTC 2020 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
        I have a disk component on an mfii controller which is half of a
        previous raid0 instance. As such it has an invalig GPT which
        represents a disk twice its size
	Unfortunately I cannot destroy the gpt:

        # gpt -v destroy sd3
        /dev/rsd3: mediasize=8000987201536; sectorsize=512; blocks=15626928128
        gpt: /dev/rsd3: map entry doesn't fit media: new start + new size < start + size
        (22 + 3a36fffde < 800 + 746dff000)
	
        Resize disk suffers similarly
>How-To-Repeat:
        Boot with an invalid GPT which describes a larger disk and then
        try to destroy it to create a valid GPT
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index