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



On Feb 13,  7:25, Martin Husemann wrote:
}
} The following reply was made to PR install/55991; it has been noted by GNATS.
} 
} From: Martin Husemann <martin%duskware.de@localhost>
} Date: Sat, 13 Feb 2021 08:24:44 +0100
} 
}  On Sat, Feb 13, 2021 at 05:35:00AM +0000, ryo%tetera.org@localhost wrote:
}  > Unused space (size: 1427) is created.
}  > I want to use full disk space.
}  
}  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.
}  
}  You should be able to work around it by switching from "MB" or "GB" as
}  input size to single blocks (which is considered an expert option and
}  not recommended for normal installs).

     See this to get automatic alignment of both start and size:

     gpt add [-a alignment] [-b blocknr] [-i index] [-l label] [-s size] [-t
             type]
             The add command allows the user to add a new partition to an
             existing table.  By default, it will create a UFS partition
             covering the first available block of an unused disk space.  The
             command-specific options can be used to control this behaviour.

             The -a alignment option allows the user to specify an alignment
             for the start and size.  The alignment is given in bytes and may
             have a suffix to indicate its magnitude.  gpt will attempt to
             align the partition.

}-- End of excerpt from Martin Husemann


Home | Main Index | Thread Index | Old Index