Results 1 to 7 of 7

Thread: swap partition

  1. #1
    Member registered user
    Join Date
    Apr 2004
    Posts
    76

    swap partition

    I made one, and i dont know if its being used because it says that its empty in the info thingy. How can i check if it is on and if it isnt how can i switch it on?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900

    Re: swap partition

    Quote Originally Posted by ZeroKun
    I made one, and i dont know if its being used because it says that its empty in the info thingy. How can i check if it is on
    free

    and if it isnt how can i switch it on?
    mkswap /dev/hdxX
    swapon /dev/hdxX

  3. #3
    Member registered user
    Join Date
    Apr 2004
    Posts
    76
    Thanks. Its on, just seemed wierd that infocenter said it wasnt mounted and free of space.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by ZeroKun
    Thanks. Its on, just seemed wierd that infocenter said it wasnt mounted and free of space.
    Nah that's quite normal as swap doesn't get mounted.

  5. #5
    Junior Member
    Join Date
    May 2004
    Posts
    6

    swap space

    I too questioned the swap file space when my info says it was always empty. it turned out that the swap file maximum space should be double your ram, I have 1024 meg ram, so I set the swap space to 2048 meg.
    When the sysinfo reported that the file was empty, I did some searching for debian and fond that the swap file maximum it will use is 128 meg, and also if you have 512 meg or more ram, then you do not need a swap file.

    I repartitioned the drive and my system is running happily without a swap file.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900

    Re: swap space

    Quote Originally Posted by upchucky
    I too questioned the swap file space when my info says it was always empty. it turned out that the swap file maximum space should be double your ram, I have 1024 meg ram, so I set the swap space to 2048 meg.
    When the sysinfo reported that the file was empty, I did some searching for debian and fond that the swap file maximum it will use is 128 meg, and also if you have 512 meg or more ram, then you do not need a swap file.

    I repartitioned the drive and my system is running happily without a swap file.
    That's some very good info upchucky but it is neither Linux nor Debian that is requiring ZeroKun to create a swap partition but rather the installer.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    also if you have 512 meg or more ram, then you do not need a swap file.
    You don't need one. But I maintain that it's always better to have one. Just don't make it bigger than half a gig.

Similar Threads

  1. Swap partition on different drive
    By pbock in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-15-2004, 09:56 PM
  2. can't activate swap partition in 3.4
    By hany_bee3000 in forum General Support
    Replies: 1
    Last Post: 06-29-2004, 07:00 AM
  3. Help with swap partition
    By bob58 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-19-2004, 11:31 PM
  4. Must have swap partition?
    By metavoid in forum General Support
    Replies: 7
    Last Post: 02-20-2004, 04:40 PM
  5. Linux swap partition
    By Sucker in forum General Support
    Replies: 3
    Last Post: 01-29-2003, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$716.98



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays

$1939.99



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W picture

Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W

$3350.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45 picture

DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45

$504.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00