-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi trialotto,
On 20/01/15 02:15, trialotto wrote: > The documentation looks great. Thanks! > 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 Thanks for the pointer. The swap directive will only create swap _files_, rather than swap partitions. I've added a note to the page and a link to the cloud-init example of how to use the swap directive. > b) in good practice, swap partitions should be at the start of the > disk (and a function of the size of memory available) Best practices for swap partitions are outside of the scope of this documentation (particularly given that when we're talking about storage in a cloud, it's very difficult to know what it's actually backing on to). > - 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), Feel free to open a new bug for this, explaining precisely the change in behaviour you would want to see. :) > - 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. I'm not 100% sure what behaviour you are seeing that you don't expect to. Could you file a new bug with details? Thanks, Dan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUvi4EAAoJEO7mh3btsT6gtjQP/0HypN2gaBNwYOJ7iLpZsvuM guG19/Cq+Cjz4V1cD56i3bj7isFHo7jYUp+ZfGZZq3jvU7CssjGeQIllAs7shrDb G4xrmVj8Lsm5+oytmaiff3k6sPY1QHOlKZNRGmPBsjYqA5Ni3cp+mWMQppwd4aI1 NwHvLQRwVOD40dbJuzmP7+IKoGUx9fhnmN9FjpMDBfEV5Hgdyld6xLhI3iGUZICO S6qg1Y3L8TWTeihx6Kvlh3my+gDbEQW3Z8y+/3OdT9hUKBZt2aZZtcDr9WHSlx2Z 5thycOaYCZjHqKzc4ih/zxmlS+9oIYqba8Gk4tu0KlCLl9wZQHdl/ByH7gzIW5P5 AfB2/mBmZqvEIJooykcqds3nNiE/yx/3IBd59LKUwHOtr3RegzFInf1jqIC8XHMi CoxMoEfhud2d5MRF7YApJU/DsMAKXTBd/kXesZGu+nN9BbcFMu7+4y5bNQFixz0U dsfA70YZMbh6fHMYeouGZ3M0aGouwW7lMfzSlHRUnr2Vb8p1NppIgv1c6KOwHgQR mZ39YCx2+XIOHbZ/daB2UFg2lpOv30VFPNuws8Vr7bdYCRLA7jT9clbzcgUyoMbz eUHepQSQTgNykXfJS3/hCvMivFv/pRWWNV5JVIaRTwLQU62TfUyE7v5edsoXVM/b kYIKEv56MRnh7oKcN/k2 =SHJb -----END PGP SIGNATURE----- -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs