Hello, I''m trying to make dom0 boot from SAN (iSCSI), things looks complicated. Just wanted to ask, is it possible to boot dom0 over pxe with kernel and initrd, then mount nfs or iscsi volume with vm images and have completely diskless dom0 ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Denis J. Cirulis schreef:> I''m trying to make dom0 boot from SAN (iSCSI), things looks complicated. > Just wanted to ask, is it possible to boot dom0 over pxe with kernel and > initrd, then mount nfs or iscsi volume with vm images and have > completely diskless dom0 ?I''m currently diskless with PXE and NFS. Ultimately I want to try out PXE plus initrd, but that is long term. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki4OfgACgkQYH1+F2Rqwn2gWgCeJGbkHvNvEyOvpgH8uui/f7cl kEQAn1F5+vbynYz980viguwz/M8Qqp0y =hLR6 -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2008-08-29 at 13:52 -0400, Denis J. Cirulis wrote:> Hello, > > I''m trying to make dom0 boot from SAN (iSCSI), things looks complicated. > Just wanted to ask, is it possible to boot dom0 over pxe with kernel and > initrd, then mount nfs or iscsi volume with vm images and have > completely diskless dom0 ?Yes, you''ll just need to do some initrd hacking if you want to have them boot, login to their targets and mount a root file system on LUN. There are some programs out there which take a lot of the manual surgery out of this, though I can''t think of their names off hand. The fastest route to this is to put dom-0''s root file system on something that can be exported via nfs. Since nfs is already supported by the kernel you won''t have to change the initrd, just the boot options. What I highly recommend is having a small, local disk that dom-0 and guests can use for swap. -- Monkey + Typewriter = Echoreply ( http://echoreply.us ) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
NFS in my case is not a problem, i''ve trying to use iscsi because of speed. On Sat, Aug 30, 2008 at 10:11:57AM +0800, Tim Post wrote:> On Fri, 2008-08-29 at 13:52 -0400, Denis J. Cirulis wrote: > > Hello, > > > > I''m trying to make dom0 boot from SAN (iSCSI), things looks complicated. > > Just wanted to ask, is it possible to boot dom0 over pxe with kernel and > > initrd, then mount nfs or iscsi volume with vm images and have > > completely diskless dom0 ? > > Yes, you''ll just need to do some initrd hacking if you want to have them > boot, login to their targets and mount a root file system on LUN. There > are some programs out there which take a lot of the manual surgery out > of this, though I can''t think of their names off hand. > > The fastest route to this is to put dom-0''s root file system on > something that can be exported via nfs. Since nfs is already supported > by the kernel you won''t have to change the initrd, just the boot > options. > > What I highly recommend is having a small, local disk that dom-0 and > guests can use for swap. > > -- > Monkey + Typewriter = Echoreply ( http://echoreply.us ) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Which version of NFS is best to use to achieve speed ? My nas has 4 GiB links which are configured to act as one 802.3ad trunk. But the speed of NFSv3 is not as fast as my iSCSI. On Sat, Aug 30, 2008 at 10:11:57AM +0800, Tim Post wrote:> On Fri, 2008-08-29 at 13:52 -0400, Denis J. Cirulis wrote: > > Hello, > > > > I''m trying to make dom0 boot from SAN (iSCSI), things looks complicated. > > Just wanted to ask, is it possible to boot dom0 over pxe with kernel and > > initrd, then mount nfs or iscsi volume with vm images and have > > completely diskless dom0 ? > > Yes, you''ll just need to do some initrd hacking if you want to have them > boot, login to their targets and mount a root file system on LUN. There > are some programs out there which take a lot of the manual surgery out > of this, though I can''t think of their names off hand. > > The fastest route to this is to put dom-0''s root file system on > something that can be exported via nfs. Since nfs is already supported > by the kernel you won''t have to change the initrd, just the boot > options. > > What I highly recommend is having a small, local disk that dom-0 and > guests can use for swap. > > -- > Monkey + Typewriter = Echoreply ( http://echoreply.us ) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users