I''m trying to add extra zvols to a Solaris10 DomU, sv_113 Dom0 I can use virsh attach-disk <name> <zvol> hdb --device phy to attach the zvol as c0d1. Replacing hdb by hdd gives me c1d1 but then that is it. Being able to attach several more zvols would be nice but even being able to get at c1d0 would be useful Am I missing something or can I only attach to hda/hdb/hdd? Thanks John -- John Landamore School of Mathematics & Computer Science University of Leicester University Road, LEICESTER, LE1 7RH J.Landamore@mcs.le.ac.uk Phone: +44 (0)116 2523410 Fax: +44 (0)116 2523604
On Tue, Jun 16, 2009 at 8:30 PM, J. Landamore<jal@mcs.le.ac.uk> wrote:> I''m trying to add extra zvols to a Solaris10 DomU, sv_113 Dom0> > Am I missing something or can I only attach to hda/hdb/hdd?It''s a HVM domU, right? You''re limited to four IDE drives max (hda-hdd) on HVM domU. Additional drives can be added as xvda and so on, but to access them you need PV drivers on domU. Linux (at least RHEL/Centos) has one, Windows has one (3rd party driver), but I''m not sure about Solaris 10. -- Fajar
My original question was --- I''m trying to add extra zvols to a Solaris10 DomU, sv_113 Dom0 I can use virsh attach-disk <name> <zvol> hdb --device phy to attach the zvol as c0d1. Replacing hdb by hdd gives me c1d1 but then that is it. Being able to attach several more zvols would be nice but even being able to get at c1d0 would be useful Am I missing something or can I only attach to hda/hdb/hdd? --- to which Fajar A. Nugraha replied It''s a HVM domU, right? You''re limited to four IDE drives max (hda-hdd) on HVM domU. Additional drives can be added as xvda and so on, but to access them you need PV drivers on domU. Linux (at least RHEL/Centos) has one, Windows has one (3rd party driver), but I''m not sure about Solaris 10. --- I''m now slightly confused and would greatly appreciate any clarification people can provide. I understand from previous posts to this list that Solaris after 10u6 (and I''m using 10u7) has PV drivers in the distro for disk and net. My understanding was that you still had to install as a HVM but the PV drivers were automagically used. This is borne out, at least for the net, as the interface appears as xnf0. My problem indictates that the HVM limit applies, please can someone tell me how I can find out if the system is using the PV disk drivers or not. Thanks for any help John -- John Landamore School of Mathematics & Computer Science University of Leicester University Road, LEICESTER, LE1 7RH J.Landamore@mcs.le.ac.uk Phone: +44 (0)116 2523410 Fax: +44 (0)116 2523604
On Wed, Jun 17, 2009 at 11:44:28AM +0100, J. Landamore wrote:> You''re limited to four IDE drives max (hda-hdd) on HVM domU. > Additional drives can be added as xvda and so on, but to access them > you need PV drivers on domU. Linux (at least RHEL/Centos) has one, > Windows has one (3rd party driver), but I''m not sure about Solaris 10.This is generally correct. Unfortunately, the Solaris 10 PV drivers are not smart enough to understand ''xvde'' drives: they only deal with the standard IDE ones. Thus, you have a maximum of four. I just tried adding xvde at runtime, and the domU panicked. I''ll be filing a bug soon.> I''m using 10u7) has PV drivers in the distro for disk and net. My > understanding was that you still had to install as a HVM but the PV > drivers were automagically used. This is borne out, at least for the net, > as the interface appears as xnf0.This is correct. regards john