Hello,
I was resize my VPS using a boot cd partition magic. Resize of partition is ok. Problem is with swap which i missing now.
How to mount/add swap partition?
root@host1:~# fdisk -l Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 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: dos Disk identifier: 0x5d052558
Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 150992895 150990848 72G 83 Linux /dev/sda2 150992896 167772159 16779264 8G 5 Extended /dev/sda5 150994944 167770111 16775168 8G 82 Linux swap / Solaris
root@host1:~# free -m total used free shared buff/cache available Mem: 7987 1895 1804 211 4287 5628 Swap: 0 0 0
GUI show only local storage and real memory, there is no virtual memory.
How to add it?
addictionally in syslog I see:
Sep 20 06:26:39 host1 systemd[1]: dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.device: Job dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.device/start timed out. Sep 20 06:26:39 host1 systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.device. Sep 20 06:26:39 host1 systemd[1]: Dependency failed for /dev/disk/by-uuid/22ca957a-750d-4add-9dc8-aa29a451f8db. Sep 20 06:26:39 host1 systemd[1]: dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.swap: Job dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.swap/start failed with result 'dependency'. Sep 20 06:26:39 host1 systemd[1]: dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.device: Job dev-disk-by\x2duuid-22ca957a\x2d750d\x2d4add\x2d9dc8\x2daa29a451f8db.device/start failed with result 'timeout'.
i think it is related to missing virtual memory.
Can you help me how to fix the problem?