Re: LVM resize sanity check

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

 



On Wed, 2008-10-22 at 13:19 -0400, brian wrote:
> Craig White wrote:
> > On Wed, 2008-10-22 at 11:42 -0400, brian wrote:
> >> ...
>  >>
> >> I'd like to reduce /var first to free up some space, then give that
> >> to /tmp using:
> >> 
> >> # umount /var # e2fsck -f /dev/VolGroup00/LogVol04 # resize2fs
> >> /dev/VolGroup00/LogVol04 13G # lvreduce -L-6G
> >> /dev/VolGroup00/LogVol04 # mount /var # umount /tmp # e2fsck -f
> >> /dev/VolGroup00/LogVol03 # lvextend -L+6G /dev/VolGroup00/LogVol03 
> >> # resize2fs /dev/VolGroup00/LogVol03 # mount /tmp
> >> 
> >> Does that ring any alarm bells?
> >> 
> >> [1] http://www.tldp.org/HOWTO/LVM-HOWTO/
> > ---- I don't know about alarm bells but I would think that you would
> > have to 'lvmove' LogVol04 to make contiguous space for LogVol03
> > 
> > frequent usage of things like lvdisplay can give you some good clues
> > on where things are
> > 
> 
> I have no lvmove here. I have lvm2-2.02.24-1.fc7 installed. Did you mean 
> pvmove? I'm looking at the man page now but the lightbulb remains dark. 
> Can you elaborate on that?
> 
> I've also been reading this guide:
> http://www.ibm.com/developerworks/library/l-lvm2/?ca=dgr-lnxw02LinuxLVM2&S_TACT=105AGX59&S_CMP=GR
> 
> Here's the mapping:
----
yeah - the command doesn't show up here on F9 either...must be faulty
memory or recollection of an older version then
----
> 
> So, from what I can make out, it seems that the PEs of LogVol04 come 
> *before LogVol03, which seems a bit strange.
----
probably anaconda created LogVol4 before LogVol3 - no big deal I suppose
----
> 
> (Incidentally, it's a bit disconcerting that google shows, "Restore 
> after lvmove crash" for the first several entries for "lvmove".)
----
ignore my advice about an lvmove then

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux