Memory upgrade and swap partition size

Python python at venix.com
Tue Sep 26 16:52:00 EDT 2006


On Tue, 2006-09-26 at 15:48 -0400, Mark Komarinski wrote:
> Kevin D. Clark wrote:
> > Suggestion: you might not have needed to re-install. If you had
> > created an extra swapfile with "mkswap" and then utilized it with
> > "swapon", you could have experimented with a larger amount of
> > swap-space without having to re-partition/re-install.
> >
> > Hope this is useful info,
> >   
> If you use LVM (everyone should!) you can just swapoff, resize the swap
> partition in LVM, then mkswap and swapon.
> 

pvdisplay will show your PE (physical extent) counts, allocated and
free.  Unfortunately, the redhat/fedora installers default to little or
no free space.  Having some free PE's makes it much easier to rearrange
partitions.  It also lets you backup a consistent disk image

http://tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html

to do "snapshot" backups.  
(You'll need to FLUSH TABLES WITH READ LOCK or the equivalent to force a
running application like MySQL to write buffers to disk; pvcreate --
snapshot ...; UNLOCK TABLES; ...)

(Thanks to Bill Stearns and a DLSLUG presentation that taught me enough
to get started with lvm)

> -Mark
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
-- 
Lloyd Kvam
Venix Corp




More information about the gnhlug-discuss mailing list