<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Agree completely with Kahlid on this.  I run a number a machines
    with no swap at all or with zram for swap.<br>
    <br>
    Also:<br>
    <br>
    swapon -s <br>
    <br>
    may be helpful here to see what current swap allocations are.<br>
    <div class="moz-cite-prefix"><br>
      <br>
      On 01/14/2014 03:54 PM, Khalid Baheyeldin wrote:<br>
    </div>
    <blockquote
cite="mid:CA+TuoW2UBQfocFghKAVcXXsbGSTOHCGqn2Z6KAYDASgptOKsOA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>First, why do you want swap to be used at all? If it
                is used, it means RAM is not enough, and you get really
                bad performance on spindle disks, less so on SSDs.<br>
                <br>
              </div>
              Second, if you are using swap a lot, then it would shorten
              the lifespan of your SSD.<br>
              <br>
              Third, yes, please try parted as the message says. To do
              this, just type:<br>
              <br>
            </div>
            sudo parted<br>
            <br>
          </div>
          Then enter:<br>
          print devices<br>
        </div>
        You will see all the drives that parted knows about.<br>
        <br>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Tue, Jan 14, 2014 at 2:53 PM,
          CrankyOldBugger <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:crankyoldbugger@gmail.com" target="_blank">crankyoldbugger@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Here's a question for the pros here...
              <div><br>
              </div>
              <div>My Lenovo laptop came with a 1TB HDD, and a 16gig
                sSata drive.  It originally shipped with Windows 8 but I
                eventually wiped the whole 1TB and installed Ubuntu
                13.10 on it.  Runs great.</div>
              <div><br>
              </div>
              <div>One thing I noticed is that the 16gig mSata is not
                being used.  I would like to use it a my /swap
                partition.  As it happens, there is no swap partition on
                the system.</div>
              <div><br>
              </div>
              <div>
                <div>jeff@Quorra-Ubuntu:~$ sudo fdisk -l</div>
                <div>[sudo] password for jeff: </div>
                <div><br>
                </div>
                <div>WARNING: GPT (GUID Partition Table) detected on
                  '/dev/sda'! The util fdisk doesn't support GPT. Use
                  GNU Parted.</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>
                  Disk /dev/sda: 16.0 GB, <a moz-do-not-send="true"
                    href="tel:16013942784" value="+16013942784"
                    target="_blank">16013942784</a> bytes</div>
                <div>255 heads, 63 sectors/track, 1946 cylinders, total
                  31277232 sectors</div>
                <div>Units = sectors of 1 * 512 = 512 bytes</div>
                <div>Sector size (logical/physical): 512 bytes / 512
                  bytes</div>
                <div>I/O size (minimum/optimal): 512 bytes / 512 bytes</div>
                <div>Disk identifier: 0x8bb65f34</div>
                <div><br>
                </div>
                <div>   Device Boot      Start         End      Blocks  
                  Id  System</div>
                <div>/dev/sda1               1    31277231    15638615+
                   ee  GPT</div>
                <div><br>
                </div>
                <div>WARNING: GPT (GUID Partition Table) detected on
                  '/dev/sdb'! The util fdisk doesn't support GPT. Use
                  GNU Parted.</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes</div>
                <div>255 heads, 63 sectors/track, 121601 cylinders,
                  total 1953525168 sectors</div>
                <div>Units = sectors of 1 * 512 = 512 bytes</div>
                <div>Sector size (logical/physical): 512 bytes / 4096
                  bytes</div>
                <div>I/O size (minimum/optimal): 4096 bytes / 4096 bytes</div>
                <div>Disk identifier: 0x8bb65f33</div>
                <div><br>
                </div>
                <div>   Device Boot      Start         End      Blocks  
                  Id  System</div>
                <div>/dev/sdb1               1  1953525167   976762583+
                   ee  GPT</div>
                <div>Partition 1 does not start on physical sector
                  boundary.</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
              <div>Here's the df:</div>
              <div><br>
              </div>
              <div>
                <div>jeff@Quorra-Ubuntu:~$ df -h</div>
                <div>Filesystem                     Size  Used Avail
                  Use% Mounted on</div>
                <div>/dev/sdb2                      275G  5.2G  256G  
                  2% /</div>
                <div>none                           4.0K     0  4.0K  
                  0% /sys/fs/cgroup</div>
                <div>udev                           3.9G  4.0K  3.9G  
                  1% /dev</div>
                <div>tmpfs                          794M  1.5M  792M  
                  1% /run</div>
                <div>none                           5.0M     0  5.0M  
                  0% /run/lock</div>
                <div>none                           3.9G  472K  3.9G  
                  1% /run/shm</div>
                <div>none                           100M  108K  100M  
                  1% /run/user</div>
                <div>/dev/sdb1                       93M  3.3M   90M  
                  4% /boot/efi</div>
                <div>
                  /dev/sdb3                      642G  101G  509G  17%
                  /home</div>
                <div>10.42.1.95:/volume1/video      8.1T  5.4T  2.7T
                   68% /home/jeff/Videos/Athenavids</div>
                <div>10.42.1.95:/volume1/music      8.1T  5.4T  2.7T
                   68% /home/jeff/Music/Athenamusic</div>
                <div>10.42.1.95:/volume1/NetBackup  8.1T  5.4T  2.7T
                   68% /mnt/Athenabackups</div>
              </div>
              <div><br>
              </div>
              <div>As you can see, there is no swap partition.  I
                _thought_ I set up the mSata as the swap, during the
                install, but apparently not.</div>
              <div><br>
              </div>
              <div>Please note that this machine has UEFI, but
                SecureBoot is turned off.  Damn Windows 8....</div>
              <div><br>
              </div>
              <div>Does anyone have any ideas on how to set up the mSata
                as the swap partition?<br>
              </div>
              <div><br>
              </div>
              <div>Thanks,</div>
              <div><br>
              </div>
              <div>Jeff</div>
              <div><br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            kwlug-disc mailing list<br>
            <a moz-do-not-send="true" href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br>
            <a moz-do-not-send="true"
              href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org"
              target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Khalid M. Baheyeldin<br>
        <a moz-do-not-send="true" href="http://2bits.com"
          target="_blank">2bits.com</a>, Inc.<br>
        Fast Reliable Drupal<br>
        Drupal optimization, development, customization and consulting.<br>
        Simplicity is prerequisite for reliability. --  Edsger
        W.Dijkstra<br>
        Simplicity is the ultimate sophistication. --   Leonardo da
        Vinci<br>
        For every complex problem, there is an answer that is clear,
        simple, and wrong." -- H.L. Mencken<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
kwlug-disc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a>
<a class="moz-txt-link-freetext" href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>