On 03/12/2012 02:48 PM, Markus Armbruster wrote:
Floris Bos<b...@je-eigen-domein.nl> writes:
Some Linux distributions use the
/dev/disk/by-id/scsi-SATA_name-of-disk-model_serial addressing scheme
when refering to partitions in /etc/fstab and elsewhere.
This causes problems when starting a disk image taken from an existing physical
server under qemu,
because when running under qemu name-of-disk-model is always "QEMU HARDDISK"
This patch introduces a model=s option which in combination with the existing
serial=s option can be used to
fake the disk the operating system was previously on, allowing the OS to boot
properly.
Cc: kw...@redhat.com
Signed-off-by: Floris Bos<d...@noc-ps.com>
At first glance:
1. IDE only, scsi-disk is missing.
Correct.
IDE support is easy.
Adding SCSI support is more complicated, because "model" and "serial"
are not the only factors that can make up a /dev/disk/by-id link
Could be a combination of 3 fields: vendor, model and serial.
But could also be based on another unique ascii or binary identifier
provided by the drive through Vital Product Data page 83h.
--
Yours sincerely,
Floris Bos