How do I enable a swap partition that seems to be hiding?What do I do about a machine that is running out of memory and crashing?Swap partition does not mount on restartDeleted Windows Partitions on drive now what do I do?unable to dualboot win XP with Ubuntu 13.04 on Asus Zenbook UX32aThe volume boot has only 40mb disk space remainingCan't write to flash drive unless rootBoot linux on external hard disk - Send Grub RescueHow to configure existing raid after upgrading to 14.04 from 11Intel RAID5 array Shows < 50% spaceCannot mount storage volumehow to make the Device Partitioning Numbers, in Order ex. “/dev/sda1 to sda5”

Why does cron require MTA for logging?

How does Ehrenfest's theorem apply to the quantum harmonic oscillator?

Is a piano played in the same way as a harmonium?

Are small insurances worth it?

Expressing logarithmic equations without logs

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Windows Server Datacenter Edition - Unlimited Virtual Machines

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Is divide-by-zero a security vulnerability?

How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?

What is Tony Stark injecting into himself in Iron Man 3?

Why restrict private health insurance?

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

Which situations would cause a company to ground or recall a aircraft series?

Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?

Giving a career talk in my old university, how prominently should I tell students my salary?

Specifying a starting column with colortbl package and xcolor

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Conservation of Mass and Energy

Doubts in understanding some concepts of potential energy

Professor forcing me to attend a conference, I can't afford even with 50% funding

Are all players supposed to be able to see each others' character sheets?

Proving a statement about real numbers

Is it a Cyclops number? "Nobody" knows!



How do I enable a swap partition that seems to be hiding?


What do I do about a machine that is running out of memory and crashing?Swap partition does not mount on restartDeleted Windows Partitions on drive now what do I do?unable to dualboot win XP with Ubuntu 13.04 on Asus Zenbook UX32aThe volume boot has only 40mb disk space remainingCan't write to flash drive unless rootBoot linux on external hard disk - Send Grub RescueHow to configure existing raid after upgrading to 14.04 from 11Intel RAID5 array Shows < 50% spaceCannot mount storage volumehow to make the Device Partitioning Numbers, in Order ex. “/dev/sda1 to sda5”













0















In trying to troubleshoot a machine that is running out of memory and crashing kind of a lot:
What do I do about a machine that is running out of memory and crashing?



I've discovered that while there is a Swap partition at /dev/sda8:



Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9A31978F-5B21-44F6-BF08-34F2D2AD62B6

Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
/dev/sda2 2050048 2582527 532480 260M EFI System
/dev/sda3 2582528 2844671 262144 128M Microsoft reserved
/dev/sda4 2846720 256557055 253710336 121G Linux filesystem
/dev/sda5 457578496 485437439 27858944 13.3G Windows recovery environment
/dev/sda6 485437440 500117503 14680064 7G Intel Fast Flash
/dev/sda7 256557056 441047039 184489984 88G Linux filesystem
/dev/sda8 441047040 457578495 16531456 7.9G Linux swap


Though it is there, it ins't being used.



 total used free shared buff/cache available
Mem: 7.7G 3.9G 1.8G 1.3G 2.0G 2.2G
Swap: 0B 0B 0B


It looks like it was commented out in fstab:



# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda7 during installation
UUID=1c458890-63a1-4c38-befa-66148cb6f8c2 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=F232-FC61 /boot/efi vfat defaults 0 1
# swap was on /dev/sda8 during installation
#UUID=968be4fc-0850-471c-b6f8-21ecb10626dc none swap sw 0 0
#/dev/mapper/cryptswap1 none swap sw 0 0
/dev/disk/by-uuid/2C883E19883DE1CE /mnt/2C883E19883DE1CE auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/32033d20-8c17-48f4-b014-6f581099441b /media/misc auto nosuid,nodev,nofail,x-gvfs-show 0 0


But I'm not even sure if that is the correct uuid, because it /dev/sda8 doesn't show up in ls -lha /dev/disk/by-uuid/:



amanda@Flatbush:~$ ls -lha /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 140 Mar 10 19:08 .
drwxr-xr-x 8 root root 160 Mar 10 19:08 ..
lrwxrwxrwx 1 root root 10 Mar 10 19:08 1c458890-63a1-4c38-befa-66148cb6f8c2 -> ../../sda7
lrwxrwxrwx 1 root root 10 Mar 10 19:08 32033d20-8c17-48f4-b014-6f581099441b -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 10 19:08 76B631A3B63164B1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 10 19:08 8E9A2F109A2EF3FD -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar 10 19:08 F232-FC61 -> ../../sda2


Given all of that, what is the right way™ to get a swap partition on this machine. Running 18.04.2.



PS. I don't think it matters here, but when I originally built the machine I thought there was a chance he'd hate running Linux so I left the Windows recovery partition. He has been fine with Linux until it started choking.









share


























    0















    In trying to troubleshoot a machine that is running out of memory and crashing kind of a lot:
    What do I do about a machine that is running out of memory and crashing?



    I've discovered that while there is a Swap partition at /dev/sda8:



    Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 9A31978F-5B21-44F6-BF08-34F2D2AD62B6

    Device Start End Sectors Size Type
    /dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
    /dev/sda2 2050048 2582527 532480 260M EFI System
    /dev/sda3 2582528 2844671 262144 128M Microsoft reserved
    /dev/sda4 2846720 256557055 253710336 121G Linux filesystem
    /dev/sda5 457578496 485437439 27858944 13.3G Windows recovery environment
    /dev/sda6 485437440 500117503 14680064 7G Intel Fast Flash
    /dev/sda7 256557056 441047039 184489984 88G Linux filesystem
    /dev/sda8 441047040 457578495 16531456 7.9G Linux swap


    Though it is there, it ins't being used.



     total used free shared buff/cache available
    Mem: 7.7G 3.9G 1.8G 1.3G 2.0G 2.2G
    Swap: 0B 0B 0B


    It looks like it was commented out in fstab:



    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda7 during installation
    UUID=1c458890-63a1-4c38-befa-66148cb6f8c2 / ext4 errors=remount-ro 0 1
    # /boot/efi was on /dev/sda2 during installation
    UUID=F232-FC61 /boot/efi vfat defaults 0 1
    # swap was on /dev/sda8 during installation
    #UUID=968be4fc-0850-471c-b6f8-21ecb10626dc none swap sw 0 0
    #/dev/mapper/cryptswap1 none swap sw 0 0
    /dev/disk/by-uuid/2C883E19883DE1CE /mnt/2C883E19883DE1CE auto nosuid,nodev,nofail,x-gvfs-show 0 0
    /dev/disk/by-uuid/32033d20-8c17-48f4-b014-6f581099441b /media/misc auto nosuid,nodev,nofail,x-gvfs-show 0 0


    But I'm not even sure if that is the correct uuid, because it /dev/sda8 doesn't show up in ls -lha /dev/disk/by-uuid/:



    amanda@Flatbush:~$ ls -lha /dev/disk/by-uuid/
    total 0
    drwxr-xr-x 2 root root 140 Mar 10 19:08 .
    drwxr-xr-x 8 root root 160 Mar 10 19:08 ..
    lrwxrwxrwx 1 root root 10 Mar 10 19:08 1c458890-63a1-4c38-befa-66148cb6f8c2 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Mar 10 19:08 32033d20-8c17-48f4-b014-6f581099441b -> ../../sda4
    lrwxrwxrwx 1 root root 10 Mar 10 19:08 76B631A3B63164B1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Mar 10 19:08 8E9A2F109A2EF3FD -> ../../sda5
    lrwxrwxrwx 1 root root 10 Mar 10 19:08 F232-FC61 -> ../../sda2


    Given all of that, what is the right way™ to get a swap partition on this machine. Running 18.04.2.



    PS. I don't think it matters here, but when I originally built the machine I thought there was a chance he'd hate running Linux so I left the Windows recovery partition. He has been fine with Linux until it started choking.









    share
























      0












      0








      0








      In trying to troubleshoot a machine that is running out of memory and crashing kind of a lot:
      What do I do about a machine that is running out of memory and crashing?



      I've discovered that while there is a Swap partition at /dev/sda8:



      Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: 9A31978F-5B21-44F6-BF08-34F2D2AD62B6

      Device Start End Sectors Size Type
      /dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
      /dev/sda2 2050048 2582527 532480 260M EFI System
      /dev/sda3 2582528 2844671 262144 128M Microsoft reserved
      /dev/sda4 2846720 256557055 253710336 121G Linux filesystem
      /dev/sda5 457578496 485437439 27858944 13.3G Windows recovery environment
      /dev/sda6 485437440 500117503 14680064 7G Intel Fast Flash
      /dev/sda7 256557056 441047039 184489984 88G Linux filesystem
      /dev/sda8 441047040 457578495 16531456 7.9G Linux swap


      Though it is there, it ins't being used.



       total used free shared buff/cache available
      Mem: 7.7G 3.9G 1.8G 1.3G 2.0G 2.2G
      Swap: 0B 0B 0B


      It looks like it was commented out in fstab:



      # /etc/fstab: static file system information.
      #
      # Use 'blkid' to print the universally unique identifier for a
      # device; this may be used with UUID= as a more robust way to name devices
      # that works even if disks are added and removed. See fstab(5).
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      # / was on /dev/sda7 during installation
      UUID=1c458890-63a1-4c38-befa-66148cb6f8c2 / ext4 errors=remount-ro 0 1
      # /boot/efi was on /dev/sda2 during installation
      UUID=F232-FC61 /boot/efi vfat defaults 0 1
      # swap was on /dev/sda8 during installation
      #UUID=968be4fc-0850-471c-b6f8-21ecb10626dc none swap sw 0 0
      #/dev/mapper/cryptswap1 none swap sw 0 0
      /dev/disk/by-uuid/2C883E19883DE1CE /mnt/2C883E19883DE1CE auto nosuid,nodev,nofail,x-gvfs-show 0 0
      /dev/disk/by-uuid/32033d20-8c17-48f4-b014-6f581099441b /media/misc auto nosuid,nodev,nofail,x-gvfs-show 0 0


      But I'm not even sure if that is the correct uuid, because it /dev/sda8 doesn't show up in ls -lha /dev/disk/by-uuid/:



      amanda@Flatbush:~$ ls -lha /dev/disk/by-uuid/
      total 0
      drwxr-xr-x 2 root root 140 Mar 10 19:08 .
      drwxr-xr-x 8 root root 160 Mar 10 19:08 ..
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 1c458890-63a1-4c38-befa-66148cb6f8c2 -> ../../sda7
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 32033d20-8c17-48f4-b014-6f581099441b -> ../../sda4
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 76B631A3B63164B1 -> ../../sda1
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 8E9A2F109A2EF3FD -> ../../sda5
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 F232-FC61 -> ../../sda2


      Given all of that, what is the right way™ to get a swap partition on this machine. Running 18.04.2.



      PS. I don't think it matters here, but when I originally built the machine I thought there was a chance he'd hate running Linux so I left the Windows recovery partition. He has been fine with Linux until it started choking.









      share














      In trying to troubleshoot a machine that is running out of memory and crashing kind of a lot:
      What do I do about a machine that is running out of memory and crashing?



      I've discovered that while there is a Swap partition at /dev/sda8:



      Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: 9A31978F-5B21-44F6-BF08-34F2D2AD62B6

      Device Start End Sectors Size Type
      /dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
      /dev/sda2 2050048 2582527 532480 260M EFI System
      /dev/sda3 2582528 2844671 262144 128M Microsoft reserved
      /dev/sda4 2846720 256557055 253710336 121G Linux filesystem
      /dev/sda5 457578496 485437439 27858944 13.3G Windows recovery environment
      /dev/sda6 485437440 500117503 14680064 7G Intel Fast Flash
      /dev/sda7 256557056 441047039 184489984 88G Linux filesystem
      /dev/sda8 441047040 457578495 16531456 7.9G Linux swap


      Though it is there, it ins't being used.



       total used free shared buff/cache available
      Mem: 7.7G 3.9G 1.8G 1.3G 2.0G 2.2G
      Swap: 0B 0B 0B


      It looks like it was commented out in fstab:



      # /etc/fstab: static file system information.
      #
      # Use 'blkid' to print the universally unique identifier for a
      # device; this may be used with UUID= as a more robust way to name devices
      # that works even if disks are added and removed. See fstab(5).
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      # / was on /dev/sda7 during installation
      UUID=1c458890-63a1-4c38-befa-66148cb6f8c2 / ext4 errors=remount-ro 0 1
      # /boot/efi was on /dev/sda2 during installation
      UUID=F232-FC61 /boot/efi vfat defaults 0 1
      # swap was on /dev/sda8 during installation
      #UUID=968be4fc-0850-471c-b6f8-21ecb10626dc none swap sw 0 0
      #/dev/mapper/cryptswap1 none swap sw 0 0
      /dev/disk/by-uuid/2C883E19883DE1CE /mnt/2C883E19883DE1CE auto nosuid,nodev,nofail,x-gvfs-show 0 0
      /dev/disk/by-uuid/32033d20-8c17-48f4-b014-6f581099441b /media/misc auto nosuid,nodev,nofail,x-gvfs-show 0 0


      But I'm not even sure if that is the correct uuid, because it /dev/sda8 doesn't show up in ls -lha /dev/disk/by-uuid/:



      amanda@Flatbush:~$ ls -lha /dev/disk/by-uuid/
      total 0
      drwxr-xr-x 2 root root 140 Mar 10 19:08 .
      drwxr-xr-x 8 root root 160 Mar 10 19:08 ..
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 1c458890-63a1-4c38-befa-66148cb6f8c2 -> ../../sda7
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 32033d20-8c17-48f4-b014-6f581099441b -> ../../sda4
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 76B631A3B63164B1 -> ../../sda1
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 8E9A2F109A2EF3FD -> ../../sda5
      lrwxrwxrwx 1 root root 10 Mar 10 19:08 F232-FC61 -> ../../sda2


      Given all of that, what is the right way™ to get a swap partition on this machine. Running 18.04.2.



      PS. I don't think it matters here, but when I originally built the machine I thought there was a chance he'd hate running Linux so I left the Windows recovery partition. He has been fine with Linux until it started choking.







      partitioning swap





      share












      share










      share



      share










      asked 2 mins ago









      AmandaAmanda

      4,313104284




      4,313104284




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124668%2fhow-do-i-enable-a-swap-partition-that-seems-to-be-hiding%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124668%2fhow-do-i-enable-a-swap-partition-that-seems-to-be-hiding%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org