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

Re: [linux-lvm] extending a logical volume



On Jan 22, 2002  12:16 +0000, James Hawtin wrote:
> I really which the filesystem people would add support for lvm,
> partitulary when "shrinking". At the moment you have to strink then FS,
> then strink the LVM, it scares the hell out of me that I will get the
> sizes wrong and badness would happen, ie part of the resized fs becomes
> unaddressable. (all it needs is someone to take a different definition of
> MB for example).

Please see "e2fsadm".  It will resize the LV and the ext2 fs properly.
Note also, that if it happens that you resize the LV smaller than the
fs, it is possible to just resize the LV larger again to get the end
of the fs back.  In some cases, LVM will not assign the same PE to the
LV, so you will need to restore the LVM config from backup.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




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