Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to experiment with VMware Workstation Player and it is asking that I increase swap area. I suppose I delete the existing swap partition and create a new one with gparted. Am I on the right track? Any warnings I should be aware of?
Thx
Last edited by dwburt; 04-13-2017 at 02:09 PM.
Reason: misspelled subject line
Just to be clear, is the host or the client asking this?
Either way the tasks are basically similar.
You can move partitions around from a live media maybe.
You can delete partition and make file or files or more partitions. The trick is getting the distro to mount and find and use the swap area(s) before or possibly after you boot.
No need to delete anything - simply create a new partition/swapfile and use swapon. Add it to fstab when happy. Linux is fine with multiple swap extents.
No need to delete anything - simply create a new partition/swapfile and use swapon. Add it to fstab when happy. Linux is fine with multiple swap extents.
[additional $0.02 USD worth] Actually, generally swap runs slightly more efficiently if you have two or more swap partitions. It tends to use them round-robin and spread out the I/O better. This has even better effect if they are on different physical devices, but helps some even if they are on the same physical device.
That said, while the difference is measurable I have not been able to detect enough difference for the average user to notice.
I think your best bet would be to use a swap file
here is how to set one up https://www.linux.com/news/all-about-linux-swap-space
your not tacking a chance with your permanent O/S
and you can delete it if your done with it
For me the important fact was that Linux can use multiple swap spaces. I had enough unallocated disk space to create a second, larger swap partition. Added a line to /fstab. Now VMware Player runs with satisfactory performance. Thanks everybody for all information.
For me the important fact was that Linux can use multiple swap spaces. I had enough unallocated disk space to create a second, larger swap partition. Added a line to /fstab. Now VMware Player runs with satisfactory performance. Thanks everybody for all information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.