Re: LVM reorganization
On Thursday 18 December 2008 02:49:40 M.Lewis wrote:
> Boyd Stephen Smith Jr. wrote:
> > On Thursday 18 December 2008, "M.Lewis" <firstname.lastname@example.org> wrote
> > about 'Re: LVM reorganization':
> >> Thanks Boyd. After reading through it a couple of times, it appears
> >> pretty straight forward.
> > I've done it probably a dozen times now, and it's not hard if you are
> > careful. It also helps to know your way around either fuser or lsof to
> > find (and kill if needed) processes using the areas you are moving to
> > different LVs.
> > Shrinking the LV is probably the most dangerous part. You don't want to
> > 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!
> Please elaborate on how this is done. Visually? 'du -h'?
Run fsck on what ever filesystem you are using. Fix any errors you find.
> To be, or not to be, those are the parameters.
> 01:45:01 up 1 day, 1:22, 1 user, load average: 1.71, 1.52, 1.17
> Linux Registered User #241685 http://counter.li.org
Damon L. Chesser