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

Re: [linux-lvm] shrink issue



FEJF writes:
> Andreas Dilger, on Mittwoch, 17. Oktober 2001 22:53 wrote:
> > On Oct 17, 2001  21:24 +0200, FEJF wrote:
> > > is it possible to tell the lvmtools (when shrinking a lvm-volume with 
> > > resizereiserfs and lvreduce) which hd should be used for free space and 
> > > which should stay in the lvm ?
> > 
> > No.  When you reduce the size of an LV, the free space is made from the end
> > of the LV only.  If you want to make a particular PV free, then you need to
> > use "pvmove" to free any PEs that are allocated on it.
> 
> hmm... does "the end" means the last harddrive when counting hda, hdb...etc ?
> f.e. if i have a hdb, hdc,hdd in the lvm and want the hdc free - does it help 
> to change the hdc to hde an reduce the lvm then ?

No, the "end" means whatever PE happens to be the highest numbered one in the
LV you want to resize.  See "lvdisplay -v /dev/vgname/lvname" for the details.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



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