<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rotational on Michael’s Domain</title><link>https://jeltsch.org/en/tags/rotational/</link><description>Recent content in Rotational on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/rotational/index.xml" rel="self" type="application/rss+xml"/><item><title>Is Ubuntu 18.04 still using the SSD drive for swap?</title><link>https://jeltsch.org/en/is_ubuntu_18_04_still_using_the_ssd_drive_for_swap/</link><pubDate>Fri, 10 May 2019 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/is_ubuntu_18_04_still_using_the_ssd_drive_for_swap/</guid><description>&lt;p&gt;In an Ubuntu 18.04 two disk setup (/ on SSD, /home on spinning drive), my Ubuntu 18.04 has still defaulted to use swap space on the SSD although there was a swap partition of the same size on the spinning drive. This was not a new install, but a system upgrade from 16.04 (where I had created a swap partition manually on the spinning drive to spare the SSD). Linux is able to determine whether a drive is spinning or not, but apparently the installation/upgrade script was not very smart.What swap partitions are available?&lt;code&gt;sudo fdisk -l[…]Disk /dev/sda: 74,5 GiB, 80026361856 bytes, 156301488 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x34836041Device Boot Start End Sectors Size Id Type/dev/sda1 * 2048 148054782 148052735 70,6G 83 Linux/dev/sda2 148056062 156301311 8245250 4G 5 Extended/dev/sda5 148056064 156301311 8245248 4G 82 Linux swap / SolarisDisk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xf6870277Device Boot Start End Sectors Size Id Type/dev/sdb1 2048 8390655 8388608 4G 82 Linux swap / Solaris/dev/sdb2 8390656 1953525167 1945134512 927,5G 83 Linux[…]&lt;/code&gt;Checking which drive is the SSD:&lt;code&gt;cat /sys/block/sda/queue/rotational0cat /sys/block/sdb/queue/rotational1&lt;/code&gt;Which swap partition is used?&lt;code&gt;more /etc/fstab[…]# swap was on /dev/sda5 during installationUUID=fdb5ad84-f758-4326-a6c8-7adf91d21079 none swap sw 0 0[…]Check whether the UUID corresponds to the SSD:sudo blkid /dev/sda5/dev/sda5: UUID=&amp;quot;fdb5ad84-f758-4326-a6c8-7adf91d21079&amp;quot; TYPE=&amp;quot;swap&amp;quot; PARTUUID=&amp;quot;34836041-05&amp;quot;&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>