Darryl L. Pierce
2008-Dec-23 14:18 UTC
[Ovirt-devel] ovirt-early script, scan_for_swap method
In writing up the boot description wiki page[1] I found a method in ovirt-early called scan_for_swap. But I can't find any reference to this script anywhere, nothing seems to be invoking it. Is this unused and should be removed? [1] http://ovirt.org/wiki/index.php?title=Node_Boot_Sequence -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Virtual Machine Management - http://www.ovirt.org/ "What do you care what other people think, Mr. Feynman?" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20081223/ea4766a2/attachment.sig>
On Tue, Dec 23, 2008 at 3:18 PM, Darryl L. Pierce <dpierce at redhat.com> wrote:> In writing up the boot description wiki page[1] I found a method in > ovirt-early called scan_for_swap. But I can't find any reference to > this script anywhere, nothing seems to be invoking it. Is this > unused and should be removed? > > [1] http://ovirt.org/wiki/index.php?title=Node_Boot_SequenceI moved swap scanning into a function recently and wanted to discuss whether we want to do such scanning or use only swap area created by ovirt-config-storage on /dev/HostVG/Swap Chris, since you originally wrote that swap scanning, what do you think - should we keep adding all swap areas in sight? I think this could be problematic as we add clustered storage.
Chris Lalancette
2009-Jan-05 14:42 UTC
[Ovirt-devel] ovirt-early script, scan_for_swap method
Alan Pevec wrote:> On Tue, Dec 23, 2008 at 3:18 PM, Darryl L. Pierce <dpierce at redhat.com> wrote: >> In writing up the boot description wiki page[1] I found a method in >> ovirt-early called scan_for_swap. But I can't find any reference to >> this script anywhere, nothing seems to be invoking it. Is this >> unused and should be removed? >> >> [1] http://ovirt.org/wiki/index.php?title=Node_Boot_Sequence > > I moved swap scanning into a function recently and wanted to discuss > whether we want to do such scanning or use only swap area created by > ovirt-config-storage on /dev/HostVG/Swap > Chris, since you originally wrote that swap scanning, what do you > think - should we keep adding all swap areas in sight? I think this > could be problematic as we add clustered storage.I'm sort of on the fence about it. On the one hand, it is quite convenient to get swap for "free" if you happen to boot the PXE image on a machine that already has an OS on the hard drive. On the other hand, things like clustering and full administrator control are important, so we don't necessarily want to be doing things behind the admin's back. Can we disable the scanning by default, but add a PXE boot option to enable the scanning for developers? -- Chris Lalancette