[Bug 494084] Re: arch parameter is not passed by the image proxy during image install from store

Andreas Hasenack andreas at canonical.com
Thu Apr 8 19:51:28 BST 2010


> I see in the web UI that the disk size for this type of VM ("small") is
> > 5Gb. Is that it?
> >
> > IIRC, I at one point had it set to a lower value, but then the VMs
> > wouldn't start, so I changed it to 5Gb a while ago.
> then you should have swap, so what did you mean by they don't have swap?

I mean the instance only has the RAM I gave it (256Mb) and no swap
enabled, i.e., the output of "free" shows zero for swap.

It may be that there is just a missing swapon. Let me check by creating
another instance quickly...

root at 192:~# fdisk -l

Disk /dev/sda: 5415 MB, 5415895040 bytes
4 heads, 32 sectors/track, 82640 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Disk identifier: 0x000b20b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       32769     2097152+  83  Linux
/dev/sda2           32769       71894     2504000+  83  Linux
/dev/sda3           71894       82640      687775+  82  Linux swap / Solaris

root at 192:~# free
             total       used       free     shared    buffers     cached
Mem:        247984     185772      62212          0       4316      91716
-/+ buffers/cache:      89740     158244
Swap:            0          0          0

root at 192:~# cat /etc/fstab
# /etc/fstab: static file system information.
# <file system>                                 <mount point>   <type>  <options>       <dump>  <pass>
proc                                            /proc           proc    defaults        0       0
/dev/sda1                                       /               ext3    defaults        0       0
/dev/sda2                                        /mnt            ext2    defaults        0       0
root at 192:~# 
root at 192:~# swapon /dev/sda3
root at 192:~# free
             total       used       free     shared    buffers     cached
Mem:        247984     186072      61912          0       4364      91744
-/+ buffers/cache:      89964     158020
Swap:       687764          0     687764
root at 192:~# 


Yep, looks like it's a missing swapon and/or entry in /etc/fstab.

-- 
arch parameter is not passed by the image proxy during image install from store
https://bugs.launchpad.net/bugs/494084
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to image-store-proxy in ubuntu.



More information about the Ubuntu-server-bugs mailing list