LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to find shared swap filesystem under SuSE? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-find-shared-swap-filesystem-under-suse-767400/)

thesunlover 11-06-2009 04:20 PM

How to find shared swap filesystem under SuSE?
 
Hi,

On this HP server, I've installed Red Hat Enterprise Server first, then OpenSuSE Enterprise Server 11 and made it dual boot. As I remember, the SuSE installation asked if use/share the swap filesystem with RH and my answer was yes. Now I can't find the swap filesystem under SuSE? How can I find if it is existing?

RH is on the first disk and swap is an independent partition. SuSE is on the second disk.

Thanks.

wfh 11-06-2009 04:49 PM

'gpart' is a utility that tries to "guess" disk layout.

It is available for RHEL ES.

thorkelljarl 11-08-2009 07:45 PM

Easy...

Boot SUSE, open a terminal, and run "top". Swap size should be listed in k along with how much is in use and how much is free.

Swap doesn't need to be present, it only has to act as if it is. If "top" sees it, it's as good as there.

syg00 11-08-2009 08:46 PM

"swapon -s" from a terminal.

thesunlover 11-09-2009 10:30 AM

1) top does not show any swap process.
2) "swapon -s" shows the swap partition on the first disk as partition 3.

This means on a dual boot system, RH and SuSE can share the same swap partition.

Thanks a lot!

syg00 11-09-2009 08:45 PM

Depends on your definition of "share". They can both use that partition - independently. Doesn't work too well if you use it for suspend/resume (not likely on a server), or crashdump, which is more of a potential issue.


All times are GMT -5. The time now is 07:09 PM.