Alexander Egorov
2011-Aug-23 22:16 UTC
[Xen-users] Kernel parameter to emulate hdd, connected to xen vm, as sda and not hda
Hi xen-users, I am having several vm''s which are booting with different kernels: 2.6.31(Suse) and 2.6.32(CentOS). In case with 2.6.31(Suse), the hdd, connected to vm is emulated as hda, with 2.6.32(CetnOS) - as sda. What rules such behaviour? I tried to look through the kernel option, but did not find anything obvious. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Aug-24 07:05 UTC
Re: [Xen-users] Kernel parameter to emulate hdd, connected to xen vm, as sda and not hda
Alexander Egorov wrote:>I am having several vm''s which are booting with different kernels: >2.6.31(Suse) and 2.6.32(CentOS). >In case with 2.6.31(Suse), the hdd, connected to vm is emulated as >hda, with 2.6.32(CetnOS) - as sda. >What rules such behaviour? >I tried to look through the kernel option, but did not find anything obvious.Dunno about the question itself, but I thought both had been deprecated some time ago and should now be xvda. Err, having another look, isn''t it set in your "disk=" line ? disk = [ ''phy:/dev/vg/something,xvda1,w'', ... -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Egorov
2011-Aug-24 08:54 UTC
[Xen-users] Re: Kernel parameter to emulate hdd, connected to xen vm, as sda and not hda
Disabled atapi support in: Device Drivers ---> ATA/ATAPI/MFM/RLL support and the device started showing as sda in 2.6.31 On Wed, Aug 24, 2011 at 1:16 AM, Alexander Egorov <alex.yegorov@gmail.com> wrote:> Hi xen-users, > > I am having several vm''s which are booting with different kernels: > 2.6.31(Suse) and 2.6.32(CentOS). > In case with 2.6.31(Suse), the hdd, connected to vm is emulated as > hda, with 2.6.32(CetnOS) - as sda. > What rules such behaviour? > I tried to look through the kernel option, but did not find anything obvious. >-- Best Regards Alexander Egorov Technical support Team Leader _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users