I am setting the disk parameters as: disk = [ "phy:/dev/sda2, sda2, w" ] in the config file and getting the following error: Unable to find number for device (sda2) What could be causing the problem? If I use "ls -l sda2" in /dev, I get the major and minor device numbers as 8, 1 Please enlighten. Regards, Siddharth Wagh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Arpan Jindal
2008-Dec-08 17:05 UTC
Re: [Xen-users] Unable to find number for device (sda2)
change the parameter as disk = [ "phy:/dev/sda2, sda, w" ] or disk = [ "phy:/dev/sda2, hda, w" ] it will start working On Mon, Dec 8, 2008 at 9:36 PM, Siddharth Wagh <siddharth.wagh@gmail.com>wrote:> I am setting the disk parameters as: > disk = [ "phy:/dev/sda2, sda2, w" ] > in the config file > > and getting the following error: > Unable to find number for device (sda2) > > What could be causing the problem? > If I use "ls -l sda2" in /dev, I get the major and minor device numbers as > 8, 1 > > Please enlighten. > > Regards, > Siddharth Wagh > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Siddharth Wagh
2008-Dec-08 17:15 UTC
Re: [Xen-users] Unable to find number for device (sda2)
Doesnt work. Same error. sda1 (Linux) and sda2 (Linux LVM) are existing partitions I am working on Fedora 8 Siddharth On Mon, Dec 8, 2008 at 12:05 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> change the parameter as > disk = [ "phy:/dev/sda2, sda, w" ] > > or > > disk = [ "phy:/dev/sda2, hda, w" ] > > it will start working > On Mon, Dec 8, 2008 at 9:36 PM, Siddharth Wagh <siddharth.wagh@gmail.com>wrote: > >> I am setting the disk parameters as: >> disk = [ "phy:/dev/sda2, sda2, w" ] >> in the config file >> >> and getting the following error: >> Unable to find number for device (sda2) >> >> What could be causing the problem? >> If I use "ls -l sda2" in /dev, I get the major and minor device numbers as >> 8, 1 >> >> Please enlighten. >> >> Regards, >> Siddharth Wagh >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Siddharth Wagh
2008-Dec-08 17:25 UTC
Re: [Xen-users] Unable to find number for device (sda2)
It worked! Can I know the reasoning behind it? But there''s another error now: Cannot open root device "VolGroup00/logVol00" Please append... Kernel Panic - not syncing i am not sure how to set the root parameter as well. Any hints? Thanks! Regards, Siddharth Wagh On Mon, Dec 8, 2008 at 12:19 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> try in single quotes > > disk = [ ''phy:/dev/sda2,ioemu:hda,w'' ] > > > On Mon, Dec 8, 2008 at 10:45 PM, Siddharth Wagh <siddharth.wagh@gmail.com>wrote: > >> Doesnt work. Same error. >> sda1 (Linux) and sda2 (Linux LVM) are existing partitions >> I am working on Fedora 8 >> >> Siddharth >> >> >> >> >> On Mon, Dec 8, 2008 at 12:05 PM, Arpan Jindal <jindalarpan@gmail.com>wrote: >> >>> change the parameter as >>> disk = [ "phy:/dev/sda2, sda, w" ] >>> >>> or >>> >>> disk = [ "phy:/dev/sda2, hda, w" ] >>> >>> it will start working >>> On Mon, Dec 8, 2008 at 9:36 PM, Siddharth Wagh <siddharth.wagh@gmail.com >>> > wrote: >>> >>>> I am setting the disk parameters as: >>>> disk = [ "phy:/dev/sda2, sda2, w" ] >>>> in the config file >>>> >>>> and getting the following error: >>>> Unable to find number for device (sda2) >>>> >>>> What could be causing the problem? >>>> If I use "ls -l sda2" in /dev, I get the major and minor device numbers >>>> as 8, 1 >>>> >>>> Please enlighten. >>>> >>>> Regards, >>>> Siddharth Wagh >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users