Swap space

chedi toueiti chedi.toueiti at gmail.com
Sat Feb 21 13:56:50 UTC 2009


Hi,

You can try this:
1- Create a swap file (use this if you can't change your partition layout)
via the command:
dd if=/dev/zero of=/tmp/swap_file bs=1024M count=1
2- format the swap file with :
mkswap /tmp/swap
3- add the new swap file swap system
/sbin/swapon /tmp/swap_file
4- make the swap load on boot loading
echo /sbin/swapon /tmp/swap_file >> /etc/rc.local

Regards

On Sat, Feb 21, 2009 at 11:23 AM, GMS S <gmspro at yahoo.com> wrote:

> Hi,
> Can anyone tell me how can I increase my space to 1GB or over 1GB?
>
> Typing "df -h"
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda6              22G   11G   11G  51% /
> tmpfs                 501M  544K  500M   1% /dev/shm
> /dev/sda1              25G  8.3G   17G  34% /media/disk
> /dev/sda5              28G   12G   16G  44% /media/disk-1
>
> Typing "fdisk -l"
> Disk /dev/sda: 80.0 GB, 80025280000 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x29032902
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        3188    25607578+   c  W95 FAT32 (LBA)
> /dev/sda2            3189        9728    52532550    f  W95 Ext'd (LBA)
> /dev/sda5            3189        6757    28667961    7  HPFS/NTFS
> /dev/sda6            6758        9562    22531131   83  Linux
> /dev/sda7            9563        9728     1333363+  82  Linux swap /
> Solaris
>
> Typing "swapon -s"
> Filename                Type        Size    Used    Priority
> /dev/sda7                               partition    1333352    68    -1
>
>
>
> I am using Fedora 10,1GB ram,80 HD,Intel(R) Pentium(R) D  CPU 2.66GHz..
>
> Thanks.
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090221/471de3c5/attachment-0001.htm>


More information about the fedora-list mailing list