James Pifer
2008-May-13 20:16 UTC
[Xen-users] Can''t add second sparse image file to win2k3 domU
I have a Windows 2003 domU that is using a sparse image file for drive c. Using virt-manager I created another sparse image file and added it. I booted the domU and it does not see it. So I shut down the domU and modified the config for it. I made this change: disk=[ ''file:/var/lib/xen/images/server1/disk0.img,hda,w'', ] to disk=[ ''file:/var/lib/xen/images/server1/disk0.img,hda,w'',''file:/var/lib/xen/images/server1/disk1.img,hdb,w'' ] The windows 2003 domU still does not see the extra disk. The disk1.img file is there. What am I missing? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-May-14 01:45 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
On Tue, May 13, 2008 at 4:16 PM, James Pifer <jep@obrien-pifer.com> wrote:> I have a Windows 2003 domU that is using a sparse image file for drive > c. Using virt-manager I created another sparse image file and added it. > I booted the domU and it does not see it. > > So I shut down the domU and modified the config for it. I made this > change: > > disk=[ ''file:/var/lib/xen/images/server1/disk0.img,hda,w'', ] > to > disk=[ > ''file:/var/lib/xen/images/server1/disk0.img,hda,w'',''file:/var/lib/xen/images/server1/disk1.img,hdb,w'' > ] > > The windows 2003 domU still does not see the extra disk. The disk1.img > file is there. > > What am I missing? >You need to initialize the drive in Windows. right click My Computer --> Manage --> Storage --> Disk Management Windows will give you a wizard to initialize the QEMU device (Drive 1) and then you can format it with a partition and drive letter. Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer
2008-May-14 13:01 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
> > You need to initialize the drive in Windows. > > right click My Computer --> Manage --> Storage --> Disk Management > > Windows will give you a wizard to initialize the QEMU device (Drive > 1) > and then you can format it with a partition and drive letter. > > Cheers, > Todd > >Is it my mail client (evolution) or is it the mailing list? When I hit reply it replies by default to the sender, not the list. Other mailing lists I''m on when I hit reply the reply to goes to the list, so I don;t think it''s my client....anyway... I responded last night to Kayvan''s response, but forgot to send it to the list. The new drive does not appear in disk management. I meant to put that in my original post and forgot. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rainer Sokoll
2008-May-14 13:07 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
On Wed, May 14, 2008 at 09:01:13AM -0400, James Pifer wrote:> Is it my mail client (evolution) or is it the mailing list? When I hit > reply it replies by default to the sender, not the list. Other mailing > lists I''m on when I hit reply the reply to goes to the list, so I don;t > think it''s my client....anyway...It is how the list is configured. http://www.unicom.com/pw/reply-to-harmful.html Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Haxby
2008-May-14 13:30 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
Rainer Sokoll wrote:> On Wed, May 14, 2008 at 09:01:13AM -0400, James Pifer wrote: > >> Is it my mail client (evolution) or is it the mailing list? When I hit >> reply it replies by default to the sender, not the list. Other mailing >> lists I''m on when I hit reply the reply to goes to the list, so I don;t >> think it''s my client....anyway... >> > > It is how the list is configured. > http://www.unicom.com/pw/reply-to-harmful.html > >For the alternative viewpoint: http://www.metasystema.net/essays/reply-to.mhtml Many list administrators get really hot under the collar when you suggest that the reply-to header should be added so it''s something that you''ll have to live with. Personally speaking, though, I find the tendency for threads to be not recorded in the archives somewhat annoying. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer
2008-May-14 13:33 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
> The new drive does not appear in disk management. I meant to put that in > my original post and forgot. >I also tried simply adding a cdrom to my domU using virt-manager. domU doesn''t see that either. I tried going into hardware manager and scaning for new hardware but it doesn''t fine any. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer
2008-May-14 15:51 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU [Resolved - kind of]
> I also tried simply adding a cdrom to my domU using virt-manager. domU > doesn''t see that either. I tried going into hardware manager and scaning > for new hardware but it doesn''t fine any.I got the second drive working by: 1) removing the domU from virt-manager. 2) Re-add it in virt-manager and added both drives in the config. 3) Booted the OS and now disk manager sees it. This worked, but why did I have to go through the hassle? What happens when I want to add a cdrom drive using an iso or something? The startup file looks no different than before. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Augusto Alvarez
2008-May-14 20:21 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
I didnt have the chance to see the whole thread, but I assume that you are having problems associating an image file to your W2K3 guest OS? I had similar issues related, the only way to accomplish that is trying to associate an ISO file from command line: xm block-attach vm_id file:/mycd.iso hdc:cdrom r vm_id: Virtual Machine ID mycd.iso : your iso file Hope it helps Cheers! Augusto 2008/5/14 James Pifer <jep@obrien-pifer.com>:> > The new drive does not appear in disk management. I meant to put that in > > my original post and forgot. > > > > I also tried simply adding a cdrom to my domU using virt-manager. domU > doesn''t see that either. I tried going into hardware manager and scaning > for new hardware but it doesn''t fine any. > > Thanks, > James > > > _______________________________________________ > 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
Mark Williamson
2008-May-16 15:43 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU
How did you create the guest initially? What dom0 system are you running on? Recent versions of virt-manager use Xend''s managed domains. Old versions of virt-manager do not, so things behave a bit differently (like the location of the active config file). Cheers, Mark On Tuesday 13 May 2008, James Pifer wrote:> I have a Windows 2003 domU that is using a sparse image file for drive > c. Using virt-manager I created another sparse image file and added it. > I booted the domU and it does not see it. > > So I shut down the domU and modified the config for it. I made this > change: > > disk=[ ''file:/var/lib/xen/images/server1/disk0.img,hda,w'', ] > to > disk=[ > ''file:/var/lib/xen/images/server1/disk0.img,hda,w'',''file:/var/lib/xen/image >s/server1/disk1.img,hdb,w'' ] > > The windows 2003 domU still does not see the extra disk. The disk1.img > file is there. > > What am I missing? > > Thanks, > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jim burns
2008-May-26 16:15 UTC
Re: [Xen-users] Can''t add second sparse image file to win2k3 domU [Resolved - kind of]
On Wednesday May 14 2008 11:51:38 am James Pifer wrote:> I got the second drive working by: > > 1) removing the domU from virt-manager. > 2) Re-add it in virt-manager and added both drives in the config. > 3) Booted the OS and now disk manager sees it. > > This worked, but why did I have to go through the hassle?Virt-manager keeps its own config file. If you change things in your own config: 1) Stop the domain in virt-manager 2) delete the domain in virt-manager,; or at a command line, do ''xm delete domain-name'' (or ''virsh undefine domain-name'') 3) update your config, and do ''xm new domain.cfg'' (or ''virsh define xml-file'', if you keep your config in xml format) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users