Expand Linux swap space

Bruno Friedmann bruno at ioda-net.ch
Sat Jan 26 04:01:29 CST 2008


Bertram Moshier wrote:
> Hello,
> 
>  
> 
> I have a Red Hat Enterprise 4 system as shipped by Dell on a 390 system with
> 8GB of RAM.  Presently, the Linux swap space is at 1.9GB (as shipped).  I'd
> like to resize this to 24 GB (expanding it by about 22 GB).
> 
It sound a bit scary to use 24GB of disk space for swap I think the best value is x1.5 ram size.
This allow sufficent swap space and could give you space also to suspend/hibernate the pc.

Is the swap really used when the system is up and running with a 8 Go ram ???

>  
> 
> When I use parted, it of course fails because the partitions are in use by
> the Linux system.

You should issue the command swapoff -a to release the swap ...
> 
>  
> 
> Are there instructions available to resize the Linux swap space on a system
> as shipped by Dell?
> 
I don't think there special case.

> 
> Side note of another gotcha that might come up . . . I tried to resize an
> ext3 unmounted partition but got the error saying the file system was using
> an unknown flag.  Thing is I formatted the drive using mkfs.ext3 on the same
> system.  I'd think parted and mkfs.ext3 would know about all file system
> flags.
> 
Is the mkfs and parted are issue from the same version used ?
It could explain it.

> 
> Bert.
> 
>  
> 
> This E-Mail is a private communications between me and those to whom I'm
> communicating and is legally equally to a letter or phone call.
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linux-Precision mailing list
> Linux-Precision at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-precision
> Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/


-- 

     Bruno Friedmann  bruno at ioda-net.ch

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com




More information about the Linux-Precision mailing list