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

RE: [Xen-users] LVM and resize2fs

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jonathan Tripathy
> Sent: Wednesday, October 06, 2010 4:14 PM
> To: Javier Guerra Giraldez; Xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] LVM and resize2fs
> > 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?

I tend to be paranoid about the same thing.  So when shrinking a filesystem, I 
often resize2fs it to a slightly smaller size, then resize it up to the 
device's size.  Growing is much faster than shrinking anyhow.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.