This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Resize Guest Disk

To: Florian Rahmann <admin@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Resize Guest Disk
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Tue, 8 Sep 2009 10:10:20 -0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Sep 2009 10:11:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=JVj8hyS1Bk7x4wqr88WH4sWZ3i/oxIH/UH60tT7aHpg=; b=ExUqQgiqMn0XSG1O4uiaopBe22z0sKRaLwKW4ljl5w+M2aZJpJ6+EnS+8gwJK1+Sjk Eyyyh/3d+dlu/kijwhs1R+mSgWrk9usONWA44kTIwx3zmKuWazz5TcmSVX8AjwJjroqc dkpOAGB+WAaMnKTMdQQNJ80ZcBawMU0R7hVhc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Cq5d/cnatukVAWckEwfIANRg4Vx+8fUiBiOvuWRHk2dwrmJ9LbBhypiWP5x87eAg0K VdJ7BJJhhbkLstZNOiE6Vu6WRg9eNi/u8TxnJkla7DCRInCbIFzfEymBvrDceIKpPgys uz/KwW/YkkBgZ1WgC+kNe6QRGY1nkC4Wwv0tk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <115922038.133001252429436024.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <115922038.133001252429436024.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Tue, Sep 8, 2009 at 10:03 AM, Florian Rahmann <admin@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

i've a Problem :)
I tried to resize a disk of my data guest from 100 to 400 GB.
I did an lvresize /dev/xendata/data-disk -L 400G an it works.
I started the Guest and did an df -h to check the size but there are still
100 G :( Can somebody tell me whats wrong? i dont want to lose my data at the Disk!

The Machine is Debian Lenny and the guest OS also.

King Regards
Florian Rahmann
alias Dexter

The container is bigger but the filesystem isn't. Resizing an LV doesn't make the FS any bigger.

Log into the DomU and do a resize2fs <device>. You can do this while it's mounted as long as the filesystem is getting bigger.

Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>