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

RE: [Xen-users] LVM and resize2fs


  • To: "Simon Hobson" <linux@xxxxxxxxxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
  • Date: Thu, 7 Oct 2010 09:32:32 +0100
  • Cc:
  • Delivery-date: Thu, 07 Oct 2010 01:34:43 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Actl7GKIIbulGBV7RRuhuXByvz2X6QADc057
  • Thread-topic: [Xen-users] LVM and resize2fs



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Simon Hobson
Sent: Thu 07/10/2010 07:51
To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs

Jonathan Tripathy wrote:

>Ah right, so let's say I wanted to reduce my 25GB LV down to 15GB,
>are the following steps correct and safe?
>
>e2fsck -f /path/to/lv
>resize2fs /path/to/lv 14G
>lvresize /path/to/lv -L15G
>resize2fs /path/to/lv

Yes
----------------------------------------------------------------------------------
Would resize2fs allow you to "over-commit" ? I'd imagine that if the LV size was smaller than expected, wouldn't it throw an error?

_______________________________________________
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®.