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

RE: [Xen-users] LVM and resize2fs


  • To: "Boris Quiroz" <bquiroz.work@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
  • Date: Wed, 6 Oct 2010 19:23:41 +0100
  • Cc:
  • Delivery-date: Wed, 06 Oct 2010 11:26:54 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Actlg38/rDCzQJNgRb6estl+kSj4EwAABtI3
  • Thread-topic: [Xen-users] LVM and resize2fs





-----Original Message-----
From: Boris Quiroz [mailto:bquiroz.work@xxxxxxxxx]
Sent: Wed 06/10/2010 19:22
To: Jonathan Tripathy
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs

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.

Thanks. I am indeed using ext3.
I was getting worried that by specifying 25G in both e2fsck and resize2fs that may have caused problems..




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