growfs can only extend not reduce, right? If I can reduce, that's awesome - I'll do that.
On Thu, 17 Apr 2025, 20:09 Chris Bennett, <cpb_m...@bennettconstruction.us> wrote: > On Wed, Apr 16, 2025 at 08:56:02PM GMT, Gwen Nelson wrote: > > Hey all > > > > Just wondering if this is possible without having to do a full > dump/restore. > > > > I'd like to setup a dual boot on one of my machines, currently the whole > > disk is devoted to OpenBSD, the disk label is setup with everything at / > > for simplicity reasons as until now I had no need for dual-boot. > > > > Is this possible? On a Linux box I'd obviously use gparted or similar, > with > > integrated support for resizing extfs. > > > > When you set up your partitions, they need to be in an order that you can > plan > ahead for growing partitions. For example, let's say that you might need > to grow > /usr/local later. Then you should put a partition immediately after it > that you > can lose (or move) later. growfs needs to use a partition immediately > after it > or you cannot do it. > /usr/local/ > /evil_data/ > /home/ > > Losing /evil_data is no problem, but losing /home would be a serious > problem if > you had decided to set /home right after /usr/local. > -- > Regards, > Chris Bennett > >