NetBSD-Bugs archive

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

Re: install/55991: GPT installation of NetBSD/amd64 9.99.80 has unused space in disk



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: install/55991: GPT installation of NetBSD/amd64 9.99.80 has unused space in disk
Date: Sun, 14 Feb 2021 00:08:34 +0700

     Date:        Sat, 13 Feb 2021 07:25:01 +0000 (UTC)
     From:        Martin Husemann <martin%duskware.de@localhost>
     Message-ID:  <20210213072501.70CD51A9241%mollari.NetBSD.org@localhost>
 
   |  The installer aligns partitions (depending on disk total size and sector
   |  size, in your case apparently to 2048 block boundaries). The second gap
   |  in your setup is a side effect of that and could be avoided though.
 
 I would suggest (which is probably what you're already doing) that when
 in some specification size mode other than individual blocks, and when
 partitions are being aligned, that the sizes be rounded up to the next
 alignment boundary.
 
 When someone says they want a 200GB filesystem, they don't care if it is
 200GB plus a few hundred blocks - making an exact 200GB sized filesystem,
 and then leaving a gap so the next one can be properly aligned is distinctly
 sub-optimal.   On the other hand, if the user tells you the exact number
 of blocks to use, believe them, and use exactly that number (if possible, and
 if not, error).
 
 kre
 


Home | Main Index | Thread Index | Old Index