Re: resize /usr

2018-09-06 Thread Ken M
As a follow up I did manage to get everything sorted out. Redid the disk labels and used newfs and well in single user mode had to use ed to cleanup the fstab. After that booting bsd.rd to reinstall sets and then a restore from backup on a usb I made of what I would be hitting and all seems well. W

Re: resize /usr

2018-09-04 Thread Ken M
On Tue, Sep 04, 2018 at 10:06:52AM -0700, Chris Cappuccio wrote: > > Just move /usr/ports back to /usr and remount /dev/sd0g as /usr/local A perfectly reasonable suggestion, something I thought about. I kind of want to tweak this and learn a little bit to make things better so I am going to give

Re: resize /usr

2018-09-04 Thread Chris Cappuccio
Ken M [k...@mack-z.com] wrote: > > $ df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/sd0a 1005M245M710M26%/ > /dev/sd0h 62.9G 21.7G 38.1G36%/home > /dev/sd0d 3.9G302K3.7G 0%/tmp > /dev/sd0f 14.8G 11.6G2.5G

Re: resize /usr

2018-09-03 Thread Ken M
On Mon, Sep 03, 2018 at 06:11:24PM -0500, ed...@pettijohn-web.com wrote: > > This obviously isn't the officially recommended way to do it, but it works > here. > > I put everything in my $HOME and use symlinks to trick the build system into > thinking it's in /usr/ports, etc. Thus, no need to f

Re: resize /usr

2018-09-03 Thread edgar
On Sep 3, 2018 4:33 PM, Ken M wrote: > > On Mon, Sep 03, 2018 at 03:59:07AM +0200, Ingo Schwarze wrote: > > Hi Ken, > > > > How exactly to distribute space among partitions really depends on what > > you want to use the machine for.  The disk you are showing above can be > > called terribly sma

Re: resize /usr

2018-09-03 Thread Ken M
On Mon, Sep 03, 2018 at 03:59:07AM +0200, Ingo Schwarze wrote: > Hi Ken, > > How exactly to distribute space among partitions really depends on what > you want to use the machine for. The disk you are showing above can be > called terribly small nowadays (though i admit that i used disks in > pro

Re: resize /usr

2018-09-02 Thread Ingo Schwarze
Hi Ken, Ken M wrote on Sun, Sep 02, 2018 at 03:47:05PM -0400: > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 2097152 64 4.2BSD 2048 16384 12958 # / > b: 8241536 2097216swap# none >

Re: resize /usr

2018-09-02 Thread Ken M
On Sun, Sep 02, 2018 at 10:53:36AM -0700, Chris Bennett wrote: > On Sun, Sep 02, 2018 at 04:16:57PM +, Ken M wrote: > > You can only do this if /usr/ports is directly after /usr. > Use disklabel sd0 to get the positions. > > However, if /usr/ports is big enough and it's in the wrong spot, you

Re: resize /usr

2018-09-02 Thread Chris Bennett
On Sun, Sep 02, 2018 at 04:16:57PM +, Ken M wrote: > OK so now that I have been saved from my stupidity, let's try to prevent more > stupidity. > > $ df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/sd0a 1005M245M710M26%/ > /dev/sd0h 62.9G 21.7G

Re: Resize /usr with disklabel - Maximum size

2011-10-25 Thread Erick Andrade
Thank you, Jeremie. Erick 2011/10/25 Jeremie Courreges-Anglas : > Erick Andrade wrote: >> I have OpenBSD4.9 running on a VPS, and i want to reduce the size of >> /home partition, >> and increase the size of /usr. >> >> After reduce the size of /home, disklabel says: >> --- OpenBSD area: 64-2096482

Re: Resize /usr with disklabel - Maximum size

2011-10-25 Thread Jeremie Courreges-Anglas
Erick Andrade wrote: > I have OpenBSD4.9 running on a VPS, and i want to reduce the size of > /home partition, > and increase the size of /usr. > > After reduce the size of /home, disklabel says: > --- OpenBSD area: 64-20964825; size: 10236.7M; free: 2000.3M > > But, when i try edit /usr partitio