This is my current partition setup:
sda 111.8G
├─sda1 ext4 190M /boot
├─sda2 1K
└─sda5 ext4 111.6G /
sdb 465.8G
└─sdb1 swap 14.9G [SWAP]
Disk /dev/sda: 120GB
Number Start End Size Type File system Flags
1 1049kB 200MB 199MB primary ext4 boot
2 201MB 120GB 120GB extended
5 201MB 120GB 120GB logical ext4
Disk /dev/sdb: 500GB
Number Start End Size Type File system Flags
1 1049kB 16.0GB 16.0GB primary linux-swap(v1)
I'd like to move swap from sdb (SATA) to sda (SSD) because I want faster swap. How to delete the existing swap, and how to create a new one on sda - should it be sda3, sda4, or sda6? Would it be safe to resize sda5 where Ubuntu is already installed so that there's enough space for the new swap partition? How do you recommend I do that?
(I'm planning to use a single partition for all of sdb as sdb1 for backups and symlinked storage.)
Thanks.