smohekey@insightful.co.nz
2005-Jan-23 22:06 UTC
[Xen-devel] Partitioning VBDs in unpriviledged domains.
I''m trying to partition a vbd in an unpriviledged domain, that is an lvm partition exported from dom0. Ideally I''d like to have the partition exported as device /dev/hda. However I can only seem to get it to export as /dev/hda0. I''m using udev on Gentoo, with xen 2.0.1 and linux 2.6.9. Once inside the unpriviledged domain, I can partition the vbd using fdisk, which seems to work. However, it sees the partitions as /dev/hda0p1 etc, which is causing trouble with udev (the device nodes are not created). I saw something similar discussed earlier in the mailing list, but I think that my issue is slightly different. Does anybody have any idea about how I should fix this? ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2005-Jan-23 22:45 UTC
RE: [Xen-devel] Partitioning VBDs in unpriviledged domains.
> I''m trying to partition a vbd in an unpriviledged domain, > that is an lvm partition exported from dom0. Ideally I''d like > to have the partition exported as > device /dev/hda. However I can only seem to get it to export > as /dev/hda0. I''m using udev on Gentoo, with xen 2.0.1 and > linux 2.6.9. Once inside the > unpriviledged domain, I can partition the > vbd using fdisk, which seems to work. However, it sees the > partitions as /dev/hda0p1 etc, which is causing trouble with > udev (the device nodes are not > created).Please can you try exporting as ''sda''. Also, please can you try to see if it works with a 2.4 unpriv kernel. It certainly used to work, but its possible its never been tested on 2.6. Thanks, Ian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
smohekey@insightful.co.nz
2005-Jan-23 22:53 UTC
Re: [Xen-devel] Partitioning VBDs in unpriviledged domains.
I initially tried exporting as sda, but because my dom0 is using devfs and these devices don''t exist, I''m having to specify the unpriviledged device nodes via major minor node numbers. I''ll try this with 2.4 and see how I get on. Thanks, Scott. On Sun, Jan 23, 2005 at 10:45:17PM -0000, Ian Pratt wrote:> > I''m trying to partition a vbd in an unpriviledged domain, > > that is an lvm partition exported from dom0. Ideally I''d like > > to have the partition exported as > > device /dev/hda. However I can only seem to get it to export > > as /dev/hda0. I''m using udev on Gentoo, with xen 2.0.1 and > > linux 2.6.9. Once inside the > > unpriviledged domain, I can partition the > > vbd using fdisk, which seems to work. However, it sees the > > partitions as /dev/hda0p1 etc, which is causing trouble with > > udev (the device nodes are not > > created). > > Please can you try exporting as ''sda''. Also, please can you try to see > if it works with a 2.4 unpriv kernel. It certainly used to work, but its > possible its never been tested on 2.6. > > Thanks, > Ian > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2005-Jan-23 23:16 UTC
RE: [Xen-devel] Partitioning VBDs in unpriviledged domains.
> I initially tried exporting as sda, but because my dom0 is > using devfs and these devices don''t exist, I''m having to > specify the unpriviledged device nodes via > major minor node numbers. I''ll try this with 2.4 and see how I get on.You should find that ''sda'' work in the latest 2.0-testing.bk repo. Ian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
smohekey@insightful.co.nz
2005-Jan-23 23:19 UTC
Re: [Xen-devel] Partitioning VBDs in unpriviledged domains.
Is the testing tree suitable for production environments? If not, would it be trivial for me to back port to the stable tree? On Sun, Jan 23, 2005 at 11:16:47PM -0000, Ian Pratt wrote:> > I initially tried exporting as sda, but because my dom0 is > > using devfs and these devices don''t exist, I''m having to > > specify the unpriviledged device nodes via > > major minor node numbers. I''ll try this with 2.4 and see how I get on. > > You should find that ''sda'' work in the latest 2.0-testing.bk repo. > > Ian------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2005-Jan-23 23:39 UTC
RE: [Xen-devel] Partitioning VBDs in unpriviledged domains.
> Is the testing tree suitable for production environments? If > not, would it be trivial for me to back port to the stable tree?Right now, sure -- it contains some useful bug fixes. Ian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel