On Mon, 17 Oct 2016 14:03:21 +0100 Chris Walker alug_cdw@the-walker-household.co.uk wrote:
I've installed Ubuntu server on to a recently purchased HP ProLiant server. I did it first without my 2 1TB drives in it as I wanted to make sure that everything worked. It did and I could ssh into it from here.
I then installed the 2 1TB drives which came from my old NAS machine and tried again. When the HP booted, it failed to see the SSD on to which I'd installed Ubuntu and as my skills aren't sufficiently good to rescue the system, and as I'd not done anything special to Ubuntu, I re-installed it.
But Ubuntu has written the swap partition, not to the SSD but to one of the RAID drives which I'm not impressed by.
I still have all the data on another disc so I'm not worried too much about that, I'm more concerned with how I move the swap partition to the SSD. Any suggestions on how I might go about that?
If I look at the fstab file from the server it looks like this :-
/dev/mapper/ubuntu--server--vg-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sdd1 during installation UUID=cb987e77-49cd-4060-98a7-b4f2c9b7b2ef /boot ext2 defaults 0 2 /dev/mapper/ubuntu--server--vg-swap_1 none swap sw 0 0 /dev/sda3 none swap sw 0 0
So that appears to show that there are two swap partitions, doesn't it?
But if I look at the discs using gparted, it doesn't show *any* swap partitions. So where am I going wrong this?