[Bug 1374166] Re: Document how to add swap space on Azure resource disk
trialotto
admiraalmichiel at gmail.com
Tue Jan 20 02:15:33 UTC 2015
@Daniel,
The documentation looks great.
However, can you add the following (important) remarks to the
documentation page:
a) as from cloud-init 0.7.6, the option exists to create swap by means
of the swap stanza
b) in good practice, swap partitions should be at the start of the disk
(and a function of the size of memory available)
Also note that your documentation is very suitable, if adapted slightly,
for general documentation about creating partitions.
As a personal (and internal) note, the following:
- the new swap stanza (in newer versions of cloud-init) are
automatically determined with some code logic, this should also be
applied to swap partitions (and that is possible, since the settings are
only applied on provisiniong or a restart of the VM),
- in general, cloud-init should be able to detect existing swap files
and/or swap partitions and leaving them as is, when restarting a VM
(instead of creating them again, as happens at this moment, with swap
files and swap partitions). In essence, a restart (a shut-down and
start-up sequence) should not be required to CHANGE swap space.
Can you react on the above personal notes?
Kind regards.....
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1374166
Title:
Document how to add swap space on Azure resource disk
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374166/+subscriptions
More information about the Ubuntu-server-bugs
mailing list