LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Thread Tools
Old 11-06-2009, 05:20 PM   #1
thesunlover
LQ Newbie
 
Registered: Nov 2009
Posts: 3
Thanked: 0
How to find shared swap filesystem under SuSE?


[Log in to get rid of this advertisement]
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 05:22 PM..
windows_vista thesunlover is offline     Reply With Quote
Old 11-06-2009, 05:49 PM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164
Thanked: 27
'gpart' is a utility that tries to "guess" disk layout.

It is available for RHEL ES.
linuxubuntu wfh is offline     Reply With Quote
Old 11-08-2009, 08:45 PM   #3
thorkelljarl
Member
 
Registered: Jun 2008
Posts: 826
Thanked: 95
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 08:51 PM..
linuxsuse thorkelljarl is offline     Reply With Quote
Thanked by:
Old 11-08-2009, 09:46 PM   #4
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
"swapon -s" from a terminal.
syg00 is offline     Reply With Quote
Thanked by:
Old 11-09-2009, 11:30 AM   #5
thesunlover
LQ Newbie
 
Registered: Nov 2009
Posts: 3
Thanked: 0

Original Poster
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!
windows_vista thesunlover is offline     Reply With Quote
Old 11-09-2009, 09:45 PM   #6
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
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.
syg00 is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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 04:17 PM
SWAP shared with XP? dtjohnst Linux - Newbie 12 03-24-2007 02:16 AM
Do I have a problem with my swap filesystem? terrier77 Linux - Newbie 4 07-12-2005 06:48 AM
Shared swap partition michaely Linux - General 1 07-06-2004 07:58 AM
which filesystem is my swap partition? neenee Linux - General 11 07-24-2003 10:05 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration