Quantcast
Channel: VMware Communities : Unanswered Discussions - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 1748

Correct way to increase VM swap file

$
0
0

Hi, I have Ubuntu 16 (X64) as Virtual Machine. I want to encrease Swap file.

Now my /etc/fstab look as :

 

# <file system> <mount point>   <type>  <options>   <dump>  <pass>

# / was on /dev/sda1 during installation

UUID=957db1b8-37b0-438a-b5cc-4d299741689b /           ext4errors=remount-ro 0   1

# swap was on /dev/sda5 during installation

UUID=674f8057-75bf-48f8-9279-5aa239b1fc9d none        swapsw          0   0

 

I have created new swap file

 

sudo dd if=/dev/zero of=/swapfile bs=1G count=9

sudo mkswap /swapfile

Setting up swapspace version 1, size = 9 GiB (9629638656 bytes)

no label, UUID=fe9d9699-219e-4d28-bbac-f5b4337cb1c3

 

and want to change old UUID 674f8057-75bf-48f8-9279-5aa239b1fc9d to new fe9d9699-219e-4d28-bbac-f5b4337cb1c3

What correct way to do this? What correct vmloos command? Or this operation is possible to do in GUI?


Viewing all articles
Browse latest Browse all 1748

Trending Articles