LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-06-2009, 04:20 PM   #1
thesunlover
Member
 
Registered: Nov 2009
Posts: 32

Rep: Reputation: 2
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.

Last edited by thesunlover; 11-06-2009 at 04:22 PM.
 
Old 11-06-2009, 04:49 PM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
'gpart' is a utility that tries to "guess" disk layout.

It is available for RHEL ES.
 
Old 11-08-2009, 07:45 PM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,819

Rep: Reputation: 229Reputation: 229Reputation: 229
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.

Last edited by thorkelljarl; 11-08-2009 at 07:51 PM.
 
Old 11-08-2009, 08:46 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
"swapon -s" from a terminal.
 
Old 11-09-2009, 10:30 AM   #5
thesunlover
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 2
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!
 
Old 11-09-2009, 08:45 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
swap question: using 8e filesystem for swap dennysnight Red Hat 1 06-26-2009 03:17 PM
SWAP shared with XP? dtjohnst Linux - Newbie 12 03-24-2007 01:16 AM
Do I have a problem with my swap filesystem? terrier77 Linux - Newbie 4 07-12-2005 05:48 AM
Shared swap partition michaely Linux - General 1 07-06-2004 06:58 AM
which filesystem is my swap partition? neenee Linux - General 11 07-24-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration