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

Re: LVM reorganization



On Thu, Dec 18, 2008 at 01:31:18AM -0600, Boyd Stephen Smith Jr. wrote:
[snip]
> 
> Shrinking the LV is probably the most dangerous part.  You don't want to 

1 word

backup


> have the filesystem be bigger than it's LV at any point.  Make *sure* any 
> filesystem on shrunk LVs are good before you start writing data to new or 
> extended LVs.  That data might end up over-writing the end of the 
> filesystem!  Up to that point (even if you've already allocated the 
> extents with lvcreate or lvextend) you can roll back to your old LVM 
> layout with vfgcfgrestore -- I've screwed up at least twice and had to do 
> that.
> 
> >Seems like
> >your method is probably faster without all the overhead of figuring out
> >the additional packages.
> 
> I think so.  I started using LVM when I went Linux full-time on my desktop 
> and it's been quite useful.  I've completely swapped out the disks backing 
> the VG at least once, and I had full use of the system during the pvmove.  
> LVM just makes dealing with storage better.  ZFS is supposed to be even 
> nicer, but I'm not entirely convinced and have not tried it myself.
> -- 
> Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
> bss03@volumehost.net                      ((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
> http://iguanasuicide.org/                      \_/     



-- 
"I am mindful not only of preserving executive powers for myself, but of predecessors as well."

	- George W. Bush
01/29/2001
Washington, DC

Attachment: signature.asc
Description: Digital signature


Reply to: