[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Xen-users Digest, Vol 26, Issue 100


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Ryan Kish" <rpkish@xxxxxxxxx>
  • Date: Thu, 19 Apr 2007 10:14:39 -0600
  • Delivery-date: Thu, 19 Apr 2007 09:13:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cAahkTzH3X93cRtfMwv7soTa57lfmU0jk93hYJkX075qTWA+NPHUwKXnyIi3Ml5ixEx24CwpLnWzYhgC/8vWvQSr58atR18/u29hIOvcf0C00u5cvZ5QPnIuuKIAt9+UOy9e7p5XkiajRVBcArGyuFwsKVfkXFoIM/+sluqopRY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 4/19/07, xen-users-request@xxxxxxxxxxxxxxxxxxx
<xen-users-request@xxxxxxxxxxxxxxxxxxx> wrote:
Send Xen-users mailing list submissions to
        xen-users@xxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users
or, via email, send a message with subject or body 'help' to
        xen-users-request@xxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        xen-users-owner@xxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xen-users digest..."


Today's Topics:

   1. Re: Managing DomU partitions in XEN+LVM systems? (Jordi Segues)
   2. RE: WIN NT / WIN98 HVM (Petersson, Mats)
   3. Re: SMP support in Windows domU (Daniel Bareiro)
   4. RE: SMP support in Windows domU (Petersson, Mats)
   5. Dom0 Firewall using IPtables (Ian Tobin)
   6. Re: ioemu (Mark Williamson)
   7. Re: SMP support in Windows domU (Daniel Bareiro)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Apr 2007 15:06:42 +0200
From: "Jordi Segues" <jordisd.mailing@xxxxxxxxx>
Subject: Re: [Xen-users] Managing DomU partitions in XEN+LVM systems?
To: Derek <xen@xxxxxxxxxxxxxxxx>
Cc: xen ml <xen-users@xxxxxxxxxxxxxxxxxxx>
Message-ID:
        <30aa58b10704190606p76dbded9uea69316d61b70f16@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I have a similar problem:

I have a Windows 2003 domU in an LVM partition.
I want to enlarge this partition in order to have more space for windows
2003.

So in your post you say:

> That would seem trivial to do, from within dom0 (while the domU is not
> running of course.)  Just use:
>   - lvextend to enlarge the volume
>   - fdisk (or parted) to enlarge the partition
>  - ntfsresize to enlarge the filesystem

but for me the problem is that fdisk can't enlarge a partition! It
says you must delete it and then recreate it, but if I do this I lose
all my 2003 system.

How can I enlarge my 2003 partition (and update the MBR for windows to
recognize it)?

ntfsresize tells me:

Current volume size: 10470748672 bytes (10471 MB)
Current device size: 10470749184 bytes (10471 MB)
New volume size    : 10470744576 bytes (10471 MB)
Nothing to do: NTFS volume size is already OK.

So my LVM partition have been enlarged, but ntfsresize don't see it.
You solved it with fdisk? and how?

Windows 2003 is in one big partition, so it will need to boot after
the resize :)

Thanks for your help!

Jordi.S

On 1/31/07, Derek <xen@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> This is more an LVM question than a XEN one.   But hopefully not too far
off
> topic for the Xen list...
>
> I am running an HVM domU partitions (WinXP).  I assigned a root drive that
> is an LVM logical volume as seen by the Dom0, in other words:
>
>   disk = [ 'phy:/dev/mapper/main-root_disk_winxp,hda,w' ,
> ... others ... ]
>
> WinXP's installer sees the logical volume as a whole disk, and promptly
> partitions it.  So, it ends up with a partition table and one large NTFS
> filesystem partition.
>
> Now later, I decided to enlarge the logical volume, it's associated
> partition, and it's associated NTFS filesystem.
>
> That would seem trivial to do, from within dom0 (while the domU is not
> running of course.)  Just use:
>   - lvextend to enlarge the volume
>   - fdisk (or parted) to enlarge the partition
>  - ntfsresize to enlarge the filesystem
>
> The first two steps work flawlessly.  The third step is problematic,
because
> ntfsresize wants to be told the device path to the _partition_, not to the
> _whole_disk_.  Well, /dev/mapper/main-root_disk_winxp is
> the whole disk, but there's no corresponding
> /dev/mapper/main-root_disk_winxp1 for the paritition on
> it.  LVM+UDEV+DM don't give you one.
>
> I'm not stuck, I have a workaround yet to try:   linux in a domU, and run
> fdisk+ntfsresize there.  The linux DomU will presumably contain a device
> nodes for the partition, and I can run ntfsresize within it.  But I'm
asking
> this because I'm sure there's  a more elegant solution, and someone on
this
> list probably knows it.  Surely there's a way to persuade LVM+UDEV+DM to
> produce device nodes for each partition within each logical volume?  (I
know
> roughly how to write UDEV rules, but this problem goes beyond that, and I
> definitely don't understand the device mapper).
>
> Thanks,
> Derek.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



------------------------------

Message: 2
Date: Thu, 19 Apr 2007 15:54:48 +0200
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: RE: [Xen-users] WIN NT / WIN98 HVM
To: maybee@xxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <907625E08839C4409CE5768403633E0B018E1C26@xxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=iso-8859-1

Just to connect up this thread again.

I tried Windows NT4.0 SP1 on my Xen-unstable (latest version as of today,
changeset 14875. It doesn't work with Cirrus graphics (appears, from my
checking so far, that it's infinitely waiting for something to come back
from the Cirrus graphics processor). However, with "stdvga=1" in the config
file, it installs OK. It's a bit slow because of the standard vga adapter
(standard VGA doesn't use a linear frame-buffer like the Cirrus does, nor
does it support the more advanced graphics functions that Cirrus does), but
it's working as such.

I haven't tried Win98SE yet - I have a disk + serial number sitting around,
but I may not do that today.

This is on an AMD-based system.

--
Mats






------------------------------

Message: 3
Date: Thu, 19 Apr 2007 10:57:55 -0300
From: Daniel Bareiro <daniel-listas@xxxxxxx>
Subject: Re: [Xen-users] SMP support in Windows domU
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID: <20070419135755.GA6588@xxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

On Thursday, 19 April 2007 11:30:33 +0200,
Petersson, Mats wrote:

> > I'm trying to create a Windows domU setting vcpu=2 and cpus= "0,2",
> > but xm vcpu-list show the second vcpu in paused state all the time.
> > Is it necessary to use any additional parameter?

> That should work if you have a modern enough Xen-version. Most likely,
> you're using 3.0.3, which doesn't support SMP guests very well (it can
> be done, but it requires a bunch of hand-patching hvmloader and such,
> as it's not dynamically building the ACPI tables).

Yes. I'm using Xen 3.0.3 from Debian stable repositories. Should I
install 3.0.4? I'm using 3.0.2 in a productive environment with
GNU/Linux SMP guests and these works fine, but this guests works in
paravirtualized mode. Maybe the problem with SMP support is on full
virtualization mode.

Thanks for speedy reply.

Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :
http://lists.xensource.com/archives/html/xen-users/attachments/20070419/f149b275/attachment.pgp

------------------------------

Message: 4
Date: Thu, 19 Apr 2007 16:01:56 +0200
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: RE: [Xen-users] SMP support in Windows domU
To: dbareiro@xxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <907625E08839C4409CE5768403633E0B018E1C27@xxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii



> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Daniel Bareiro
> Sent: 19 April 2007 14:58
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] SMP support in Windows domU
>
> On Thursday, 19 April 2007 11:30:33 +0200,
> Petersson, Mats wrote:
>
> > > I'm trying to create a Windows domU setting vcpu=2 and
> cpus= "0,2",
> > > but xm vcpu-list show the second vcpu in paused state all
> the time.
> > > Is it necessary to use any additional parameter?
>
> > That should work if you have a modern enough Xen-version.
> Most likely,
> > you're using 3.0.3, which doesn't support SMP guests very
> well (it can
> > be done, but it requires a bunch of hand-patching hvmloader
> and such,
> > as it's not dynamically building the ACPI tables).
>
> Yes. I'm using Xen 3.0.3 from Debian stable repositories. Should I
> install 3.0.4? I'm using 3.0.2 in a productive environment with
> GNU/Linux SMP guests and these works fine, but this guests works in
> paravirtualized mode. Maybe the problem with SMP support is on full
> virtualization mode.

Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - PV-guests
had SMP-support in 3.0.0, I believe.

--
Mats
>
> Thanks for speedy reply.
>
> Regards,
> Daniel
> --
> Daniel Bareiro - System Administrator
> Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
> Powered by Debian GNU/Linux Etch - Linux user #188.598
>





------------------------------

Message: 5
Date: Thu, 19 Apr 2007 16:01:11 +0100
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Subject: [Xen-users] Dom0 Firewall using IPtables
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Message-ID:
        <E0E43F8F0962AD4C8A1D6CE8ED5EDE3F1D9FD1@xxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hello,



We have been trying to the past 2 days to get Dom0 secured up but still
allowing outbound traffic.



Through all our testing we can successfully secure the Dom0 but the
outbound traffic doesn't work after.



Does anyone have a good config that will allow us to secure inbound
traffic to dom0 but still allow full outbound to the internet?



Thanks in advance



Ian





-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xensource.com/archives/html/xen-users/attachments/20070419/3159f910/attachment.html

------------------------------

Message: 6
Date: Thu, 19 Apr 2007 16:23:57 +0100
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] ioemu
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Message-ID: <200704191623.57717.mark.williamson@xxxxxxxxxxxx>
Content-Type: text/plain;  charset="iso-8859-1"

> > Somebody know what 'ioemu' means, in 'ioemu device ' context ?
>
> IO emulation!
>
> Although it's deprecated in the latest version of Xen - it's no longer
> necessary and may be removed at a later stage.

Nb. minor nit: ioemu is used in two contexts.  One is the "ioemu" option
specified in a domain config file - this is deprecated as it's no longer
necessary (AFAIK HVM guests are exported both emulated and PV versions of
devices so they can use whichever they want.  They need to boot from an
emulated one initially.).

The other is as a name for the "device models" which provide the emulation
of
PC hardware.  This emulation isn't deprecated, although the way it operates
may change in the future.

HTH,
Cheers,
Mark

--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!



------------------------------

Message: 7
Date: Thu, 19 Apr 2007 12:48:22 -0300
From: Daniel Bareiro <daniel-listas@xxxxxxx>
Subject: Re: [Xen-users] SMP support in Windows domU
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID: <20070419154822.GA6852@xxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

On Thursday, 19 April 2007 16:01:56 +0200,
Petersson, Mats wrote:

> > > That should work if you have a modern enough Xen-version. Most
> > > likely, you're using 3.0.3, which doesn't support SMP guests very
> > > well (it can be done, but it requires a bunch of hand-patching
> > > hvmloader and such, as it's not dynamically building the ACPI
> > > tables).

> > Yes. I'm using Xen 3.0.3 from Debian stable repositories. Should I
> > install 3.0.4? I'm using 3.0.2 in a productive environment with
> > GNU/Linux SMP guests and these works fine, but this guests works in
> > paravirtualized mode. Maybe the problem with SMP support is on full
> > virtualization mode.

> Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - PV-guests
> had SMP-support in 3.0.0, I believe.

Oh, ok. Do you know if The HVM-support for SMP is present in Xen >= 3.0.4?

Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :
http://lists.xensource.com/archives/html/xen-users/attachments/20070419/f7c15932/attachment.pgp

------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


End of Xen-users Digest, Vol 26, Issue 100
******************************************


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.