<div dir="ltr"><div><div><div><div>I had 1 GB of swap. <br><br>It seems Ohava realized they had made a mistake when they provisioned a large group of nodes in October and (1) rebuilt my node and (2) offered to upgrade everyone to 40 GB of disk space in a public announcement on their web site.. My node was rebuilt last night and df now shows<br><br><span style="font-family:courier new,monospace">Filesystem Size Used Avail Use% Mounted on<br>/dev/mapper/ubuntu--vg-root 19G 1.8G 16G 10% /<br>none 4.0K 0 4.0K 0% /sys/fs/cgroup<br>udev 235M 4.0K 235M 1% /dev<br>tmpfs 50M 368K 49M 1% /run<br>none 5.0M 0 5.0M 0% /run/lock<br>none 246M 0 246M 0% /run/shm<br>none 100M 0 100M 0% /run/user<br>/dev/vda1 236M 68M 156M 31% /boot</span><br><br></div>and 1 GB of swap, according to top:<br><br><span style="font-family:courier new,monospace">top - 07:36:27 up 8:30, 1 user, load average: 0.00, 0.01, 0.05<br>Tasks: 72 total, 1 running, 71 sleeping, 0 stopped, 0 zombie<br>%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st<br>KiB Mem: 501804 total, 484280 used, 17524 free, 53080 buffers<br>KiB Swap: 1044476 total, 3472 used, 1041004 free. 353988 cached Mem</span><br><br></div>The memory is short (sb 512 MB), but that is a disagreement over 1 KB - 1,000 versus 1 KB = 1,024, which I won't win. <br><br></div>So, it seems like an "honest" mistake on their part, unless I am missing something.<br><br></div>Thanks!<br><br>Mark<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 10:03 PM, Sesso <span dir="ltr"><<a href="mailto:jason@tier1media.net" target="_blank">jason@tier1media.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">How much swap do you have?<div><br></div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Oct 16, 2014, at 9:41 PM, Mark Phillips <<a href="mailto:mark@phillipsmarketing.biz" target="_blank">mark@phillipsmarketing.biz</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div><div><div>I signed up for a free VPS on Ohava - 20GB is what is advertised. When I logged into the system, df -h showed this:<br><br><span style="font-family:courier new,monospace">Filesystem Size Used Avail Use% Mounted on<br>/dev/mapper/ubuntu--vg-root 6.6G 1.8G 4.6G 28% /<br>none 4.0K 0 4.0K 0% /sys/fs/cgroup<br>udev 235M 4.0K 235M 1% /dev<br>tmpfs 50M 368K 49M 1% /run<br>none 5.0M 0 5.0M 0% /run/lock<br>none 246M 0 246M 0% /run/shm<br>none 100M 0 100M 0% /run/user<br>/dev/vda1 236M 68M 156M 31% /boot</span><br><br></div>I queried to the support group, so they sent me instructions to add 10 more GB. <br><br>df now shows:<br><br><span style="font-family:courier new,monospace">Filesystem Size Used Avail Use% Mounted on<br>/dev/mapper/ubuntu--vg-root 17G 1.8G 14G 12% /<br>none 4.0K 0 4.0K 0% /sys/fs/cgroup<br>udev 235M 4.0K 235M 1% /dev<br>tmpfs 50M 368K 49M 1% /run<br>none 5.0M 0 5.0M 0% /run/lock<br>none 246M 0 246M 0% /run/shm<br>none 100M 0 100M 0% /run/user<br>/dev/vda1 236M 68M 156M 31% /boot</span><br><br></div>The support groups said:<br><p><i>Our apologies on the confusion. This is a current bug in the
machines being spun up, but we definitely offer (and want to help you
get) the full amount of space. Every instance gets 20GB partitioned to
them. There is some overhead in some of the other partitions of disk
space so / won't ever show the full 20GB, as small parts of the 20GBs
are allocated elsewhere. <br></i></p><p><i>The instructions sent to you
are for extending the / partition an additional 10GB. Since there was
already some amount of storage there, the result after completing the
instructions (and the correction to the error that we made when we
originally sent you instructions on expanding the lvm volume..."sudo
lvextend -L+10G /dev/ubuntu-vg/root") should get you as close as
possible to 20GB (~18.75GB) on /root while allowing for the overhead. <br></i></p>I get the calculation of disk size issue, so a 20 GB drive is really only 18.63 GB. But shouldn't df show 18.63 GB and not 17 GB? Is the discrepancy (1.63 GB or 8.75% of the drive) due to formatting the disk and adding Ubuntu server?<br><br></div><div>Thanks,<br><br></div><div>Mark<br></div></div></div></div>
---------------------------------------------------<br>PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>To subscribe, unsubscribe, or to change your mail settings:<br><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></div></blockquote></div><br></div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>