NetBSD-Users archive

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

Re: netbsd on vps hosting provider - expand disk?



On Fri, Jun 21, 2019 at 06:55:21PM +0000, Chris Humphries wrote:
> Hey all!
> 
> I have a VPS account on Vultr, with NetBSD on a VPS there. I would
> like to upgrade my plan, which will include an increase in disk
> size. I want to be sure that I can have NetBSD expand to the new
> available increased size of the disk without much risk of never coming
> back up, or worse, reprovisioning.
> 
> 
> 
> While searching for how to fix this or what others have done, I found
> few resources. I did find the aws ec2 ami page, that says that they
> will expand to the available ebs volume size, but doesn't detail how
> that is done. https://wiki.netbsd.org/amazon_ec2/amis/
> 
> I then searched what resources are available on my system already, and
> found /etc/rc.d/resize_root. Will adding "resize_root=YES" to rc.conf
> be all I need to do? Do I need to mess with changing disklabel and
> that mess (have messed that up before and weary to change a production
> system).

I don't think anything will happen, even if you set resize_root=YES
is set, because the partitions in the disklabel won't be changed.

The options actually depends on the actual disklabel

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index