Linux rookie needs help with swap space management - Linux

This is a discussion on Linux rookie needs help with swap space management - Linux ; My system is a laptop running Fedora Core 5 I tried to install a package from the command line using the "rpm" command and I received an error telling me that based on the amount of memory on my system ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Linux rookie needs help with swap space management

  1. Linux rookie needs help with swap space management

    My system is a laptop running Fedora Core 5

    I tried to install a package from the command line using the "rpm"
    command and I received an error telling me that based on the amount of
    memory on my system I needed at least 723 MB swap sapce and that I had
    only 511 MB swap sapce.

    The output from df is as follows :

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    37201432 4451568 30829660 13% /
    /dev/hda1 101086 9856 86011 11% /boot
    tmpfs 123540 0 123540 0% /dev/shm


    The relavant output from "top" is as follows :

    top - 17:07:53 up 5:44, 2 users, load average: 0.02, 0.01, 0.00
    Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
    Cpu(s): 3.3% us, 0.8% sy, 1.3% ni, 91.6% id, 2.9% wa, 0.1% hi,
    0.0% si
    Mem: 247084k total, 234500k used, 12584k free, 5016k buffers
    Swap: 524280k total, 144k used, 524136k free, 79100k cached


    The contents of my /etc/fstab file is as follows :

    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0



    I have looked at the manual pages on my Linux system and I am puzzled.
    How can I change my swap space so that it is larger ? (I presume this
    means "taking" space from one of the other filesystems ?)

    TIA for all your help

  2. Re: Linux rookie needs help with swap space management

    Comcast News wrote:
    > My system is a laptop running Fedora Core 5
    >
    > I tried to install a package from the command line using the "rpm"
    > command and I received an error telling me that based on the amount of
    > memory on my system I needed at least 723 MB swap sapce and that I had
    > only 511 MB swap sapce.
    >
    > The output from df is as follows :
    >
    > Filesystem 1K-blocks Used Available Use% Mounted on
    > /dev/mapper/VolGroup00-LogVol00
    > 37201432 4451568 30829660 13% /
    > /dev/hda1 101086 9856 86011 11% /boot
    > tmpfs 123540 0 123540 0% /dev/shm
    >
    >
    > The relavant output from "top" is as follows :
    >
    > top - 17:07:53 up 5:44, 2 users, load average: 0.02, 0.01, 0.00
    > Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
    > Cpu(s): 3.3% us, 0.8% sy, 1.3% ni, 91.6% id, 2.9% wa, 0.1% hi,
    > 0.0% si
    > Mem: 247084k total, 234500k used, 12584k free, 5016k buffers
    > Swap: 524280k total, 144k used, 524136k free, 79100k cached
    >
    >
    > The contents of my /etc/fstab file is as follows :
    >
    > /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    > LABEL=/boot /boot ext3 defaults 1 2
    > devpts /dev/pts devpts gid=5,mode=620 0 0
    > tmpfs /dev/shm tmpfs defaults 0 0
    > proc /proc proc defaults 0 0
    > sysfs /sys sysfs defaults 0 0
    > /dev/VolGroup00/LogVol01 swap swap defaults 0 0
    >
    >
    >
    > I have looked at the manual pages on my Linux system and I am puzzled.
    > How can I change my swap space so that it is larger ? (I presume this
    > means "taking" space from one of the other filesystems ?)
    >
    > TIA for all your help


    You're running LVM (logical volume management). You can rearrange the
    "partitions" to move some space to your swap partition. Read the How-to
    at http://www.tldp.org/HOWTO/LVM-HOWTO/index.html.

    BACKUP EVERYTHING YOU WANT TO KEEP BEFORE YOU DO THIS!

    --
    Steve

+ Reply to Thread