From: Anthony Liguori <anthony@codemonkey.ws>
To: infernix <infernix@infernix.net>
Cc: kvm@vger.kernel.org
Subject: Re: KVM incompatible with multipath?
Date: Sat, 27 Jun 2009 13:18:56 -0500 [thread overview]
Message-ID: <4A466290.2010804@codemonkey.ws> (raw)
In-Reply-To: <4A46414E.6050505@infernix.net>
infernix wrote:
> Hi,
>
> I've got an Equallogic iSCSI box with 3x1GBit nics on my storage
> network. I also have a server with 4 nics of which 3 are connected to
> the storage network with 3x1GBit.
>
> On this host, open-iscsi is running and connecting to the SAN over 3
> interfaces. I'm seeing /dev/sdb, sdc and sdd, which are all the same
> harddisk (same WWID).
>
> With multipath I combine them to one disk to get a nice boost in
> performance. This works perfectly fine (and very speedy) on the host.
> Relevant multipath.conf data:
>
> device {
> vendor "EQLOGIC"
> product "100E-00"
> path_grouping_policy multibus
> getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
> features "1 queue_if_no_path"
> path_checker readsector0
> failback immediate
> path_selector "round-robin 0"
> rr_weight uniform
> rr_min_io 128
> }
>
> The problem with KVM (version 87) is that KVM cannot make use of the
> multipath device in /dev/mapper.
>
> If I boot a debootstrapped Debian Lenny KVM guest and configure it with
> -hda /dev/mapper/my-multipathed-iscsi-disk, I cannot mount the root
> partition. It'll complain about "Invalid target".
How do you get the disk image onto /dev/mapper/my-multipathed-iscsi-disk?
You need to create a partition table and setup grub in order to be able
to use something as -hda. You don't get that automatically with
debootstrap.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-06-27 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-27 15:57 KVM incompatible with multipath? infernix
2009-06-27 18:18 ` Anthony Liguori [this message]
2009-06-27 22:42 ` infernix
2009-06-27 23:00 ` infernix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A466290.2010804@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=infernix@infernix.net \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox