NetBSD-Bugs archive

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

Re: bin/56300: gpt useless on gpt labels extending beyond disk size (also affects sysinst)



The following reply was made to PR bin/56300; it has been noted by GNATS.

From: Frank Kardel <kardel%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56300: gpt useless on gpt labels extending beyond disk size
 (also affects sysinst)
Date: Tue, 6 Jul 2021 13:29:30 +0200

 Sorry, but no.
 
 gpt resizedisk
 
 fails the same way as destroy:
 
 # gpt resizedisk sd2
 gpt: /dev/rsd2: map entry doesn't fit media: new start + new size < start + size
 (22 + 37d3ffde < 800 + 37e42800)
 #
 
 So at least these two should be fixed.
 
 Frank
 
 
 On 07/06/21 13:25, Martin Husemann wrote:
 > The following reply was made to PR bin/56300; it has been noted by GNATS.
 >
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: bin/56300: gpt useless on gpt labels extending beyond disk size
 >   (also affects sysinst)
 > Date: Tue, 6 Jul 2021 13:22:23 +0200
 >
 >   On Tue, Jul 06, 2021 at 10:55:00AM +0000, kardel%netbsd.org@localhost wrote:
 >   > 	gpt becomes useless when it hits a gpt label that extends beyond the size of
 >   > 	the disk
 >   
 >   Doesn't
 >   
 >   	gpt resizedisk
 >   
 >   work for this case? I think that "resizedisk" and "destroy" should
 >   definitively work, but all other commands could be argued to fail for
 >   good reasons.
 >   
 >   Martin
 >   
 
 


Home | Main Index | Thread Index | Old Index