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

Re: [Xen-users] LVM and resize2fs




On 06/10/10 20:19, Javier Guerra Giraldez wrote:
On Wed, Oct 6, 2010 at 1:23 PM, Jonathan Tripathy<jonnyt@xxxxxxxxxxx>  wrote:
I was getting worried that by specifying 25G in both e2fsck and resize2fs
that may have caused problems..
it is somewhat safer not to specify the size to resize2fs and let it
simply use the device's size.

otherwise, you expose yourself to slighly different interpretations of
'25G'.  not too likely, but can you be sure that 24.78G is exactly the
same number of bytes to LVM and resize2fs?

No I can't be sure. That's what I was worried about. Do you think it's an issue? I guess I could not specify the size, however when I want to shrink a disk for a customer, then this becomes a bit trickier, as I have to resize2fs first and then lvresize. What would I do in this case?

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