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

Re: [Xen-users] LVM and resize2fs


  • To: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
  • From: Boris Quiroz <bquiroz.work@xxxxxxxxx>
  • Date: Wed, 6 Oct 2010 14:22:51 -0400
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 06 Oct 2010 11:24:16 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RG901Czlyh5/PT9kdXhrsqvrYf1kZgP1FNROaMXiX05HAI1WpZJQMxizGJeqzJKWz0 QqiwtJCJJZTXPA7q0YOVstmxEbq/iN0DDgccR6GyCKpXQzsKcTCUKDBwz6U255c7LdUK QpVC0LZKuTxFPDPb/0/fu3a4tCCQlWSCXNXG8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

2010/10/6 Jonathan Tripathy <jonnyt@xxxxxxxxxxx>:
> Hi Everyone,
>
> I have a 3GB Linux disk image. When creating a new VM, I create a new LVM LV
> of size 25GB, then I dd the 3GB image over to an LVM LV, then do "efsck -f
> /path/to/lv", then "resize2fs /path/to/lv 25G"
>
> Is this the correct and safe thing to do?
>
> Thanks
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

That's correct. But only if you're using ext3. If you're using
reiserfs you must use resize_reiserfs /path/to/lv 25G.

Cheers.

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