WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

<Prev in Thread] Current Thread [Next in Thread>