<div dir="ltr">Oh, can I apply this to all the machines in one go?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 18, 2016 at 3:29 PM, Emmanuel Dreyfus <span dir="ltr"><<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Jul 18, 2016 at 09:37:19AM +0000, Emmanuel Dreyfus wrote:<br>
> On Mon, Jul 18, 2016 at 10:35:45AM +0530, Nigel Babu wrote:<br>
> > Would it be problematic if I added 20GB of block storage per machine for the<br>
> > /build, /home/jenkins and /archives folder? That should easily sort out our<br>
> > disk space troubles.<br>
><br>
> No, but first check that current image does not have some spare space<br>
> beyond the / partition<br>
<br>
</span>That is the case: diskabel xbd0 says<br>
# size offset fstype [fsize bsize cpg/sgs]<br>
a: 19922881 63 4.2BSD 2048 16384 0 # (Cyl. 0*- 9727)<br>
b: 4194304 19922944 swap # (Cyl. 9728 - 11775)<br>
c: 20971457 63 unused 0 0 # (Cyl. 0*- 10239)<br>
d: 83886080 0 unused 0 0 # (Cyl. 0 - 40959)<br>
e: 8388608 24117248 4.2BSD 2048 16384 0 # (Cyl. 11776 - 15871)<br>
<br>
NetBSD has some historic curiosity: c is the NetBSD partition in MBR, d is<br>
the whole disk. This means you have 51380224 sectors of 512 bytes left after<br>
partiton e: 24 GB.<br>
<br>
Run disklabel -e xbd0 and add a f line:<br>
f: 51380161 32505856 4.2BSD 2048 16384 0<br>
<br>
While there it will not hurt to resize c (for the sake of clarity)<br>
c: 83886017 63 unused 0 0<br>
<br>
And still while there, fdisk -iau xbd0 to ajust NetBSD partiton size in MBR.<br>
<br>
Then you can<br>
newfs /dev/rxbd0f<br>
add /dev/xbd0f in :etc/fstab<br>
mount /dev/xbd0f<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Emmanuel Dreyfus<br>
<a href="mailto:manu@netbsd.org">manu@netbsd.org</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">nigelb<br></div></div>
</div>