[Ovirt-devel] RE: [Bug 481107] storage reconfiguration prevention behavior

Alan Pevec apevec at gmail.com
Mon Jan 26 11:15:01 UTC 2009


> [IH] this means we will need different configuration for a new install and for an upgrade. So we need an option that will use existing partitions if possible, but will create them if not.

Hmm, that seems fragile, existing partitions might be completely
invalid and initial installation should really overwrite the disk. But
for the auto-install mode it makes sense: I'll patch it to skip
partitioning if /config is mounted from the disk chosen by ovirt_init
parameter.
We still need an explicit option to allow admin to overwrite the disk,
I'll use ovirt_firstboot parameter (patch just posted by Perry) also
in auto-install mode.

Proposed parameter changes are:

+ ovirt_init=[usb|scsi[:serial#]|/dev/...]
  # local installation target disk
  # usb|scsi - select disk type, as reported by udev ID_BUS
  # serial# - select exact disk using serial number, as reported by
  #           udev ID_SERIAL
+ # /dev/... - use specified disk device (for cases when HAL doesn't handle it)
+ # empty value - grab the first disk (/dev/?da)

  #   ovirt_firstboot
  # force firstboot configuration even if it has already been run
+ # in auto-install mode, overwrite the disk chosen by ovirt_init parameter




More information about the ovirt-devel mailing list