On Wed, Feb 28, 2007 at 03:09:18PM +0000, Adrian Revill
wrote:> Hi
> Has anyone had any luck using iSCSI as the root device for a DomU.
>
> Is it possible to specify the target address in the virt-manager
> directly? as i have seen comments on google that it has to be mounted on
> Dom0 first. Which kinda defeats the object of virtual storage for
> virtual machines.
No you can''t specify anything wrt to iSCSI in virt-manager. We only
support creating guests which boot from a locally attached storage
device - since pygrub has to access the disk in dom0 to etract the
boot kernel & initrd. If you want to use iSCSI, then you''ll need to
create a diskless guest, and keep its kernel/initrd in dom0 rather
than using pygrub. None of the tools are able to help with such a
setup though, so its a mnual process.
> If i was doing a straight FC6 install i could select an iSCSI target as
> the target drive.
Basically create yourself a guest config in /etc/xen, and have it
explicitly boot the kernel/init you pull from $INSTALL_URL/images/xen
to get started. Then after install copy the newer kernel / initrd back
to Dom0
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|