[one-users] mkswap doesn't include "-L SWAP" option

Jaime Melis j.melis at fdi.ucm.es
Thu Aug 12 15:29:44 PDT 2010


Hi Dan,

that's a very good idea. I have included it in issue 255, and it will be
part of the 2.0 final release:
http://dev.opennebula.org/issues/255

Thanks for your great feedback!

cheers,
Jaime

On Thu, Aug 12, 2010 at 8:43 PM, Dan Yocum <yocum at fnal.gov> wrote:

> Hi,
>
> I have noticed that my VM image doesn't automatically add the swap that is
> created during the instantiation process.
>
> I propose that this should be solved by creating the swap partition with
> the label of "SWAP" which then can be used in the VM /etc/fstab to specify
> the swap partition.  For example, this will be the line in the VM fstab:
>
> LABEL=SWAP         swap                    swap    defaults        0 0
>
> The scripts that need to be changed are ~oneadmin/lib/*/tm_mkswap.sh and
> simply add the "-L SWAP" option to the mkswap command.
>
> Dan
>
> --
> Dan Yocum
> Fermilab  630.840.6509
> yocum at fnal.gov, http://fermigrid.fnal.gov
> "I fly because it releases my mind from the tyranny of petty things."
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100813/525c1be6/attachment-0003.htm>


More information about the Users mailing list