linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] swap on LVM
@ 2005-04-28 13:23 Gergely Imre
  2005-04-28 13:29 ` Jean-Luc Coulon (f5ibh)
  2005-04-28 14:03 ` Michael T. Babcock
  0 siblings, 2 replies; 6+ messages in thread
From: Gergely Imre @ 2005-04-28 13:23 UTC (permalink / raw)
  To: LVM general discussion and development


what about swap partitions on LVM? are there any known problems? can one
 put swap on a LV safely?
thx.

-- 
Gergely Imre
SysAdmin
Astral Telecom
http://www.nextra.ro/gimre
GPG key: 0x34525305 (www.keyserver.net)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] swap on LVM
  2005-04-28 13:23 [linux-lvm] swap on LVM Gergely Imre
@ 2005-04-28 13:29 ` Jean-Luc Coulon (f5ibh)
  2005-04-28 14:03 ` Michael T. Babcock
  1 sibling, 0 replies; 6+ messages in thread
From: Jean-Luc Coulon (f5ibh) @ 2005-04-28 13:29 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Le 28.04.2005 15:23:16, Gergely Imre a écrit :
> 
> what about swap partitions on LVM? are there any known problems? can
> one
>  put swap on a LV safely?
> thx.

I've a lvm2 over raid1 and the swap is in lvm. I didnt encoutered any  
problem.

> 
> --
> Gergely Imre

Regards

Jean-Luc

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] swap on LVM
  2005-04-28 13:23 [linux-lvm] swap on LVM Gergely Imre
  2005-04-28 13:29 ` Jean-Luc Coulon (f5ibh)
@ 2005-04-28 14:03 ` Michael T. Babcock
  2005-04-30 15:43   ` Thomas Schwinge
  1 sibling, 1 reply; 6+ messages in thread
From: Michael T. Babcock @ 2005-04-28 14:03 UTC (permalink / raw)
  To: LVM general discussion and development, gimre

Gergely Imre wrote:

>what about swap partitions on LVM? are there any known problems? can one
> put swap on a LV safely?
>  
>

I've had crashes directly attributable to Swap on LVM both LVM1 and LVM2.

I've stopped setting up machines like that as a result.
-- 
Michael T. Babcock

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] swap on LVM
  2005-04-28 14:03 ` Michael T. Babcock
@ 2005-04-30 15:43   ` Thomas Schwinge
  2005-05-01  2:13     ` Clint Byrum
  2005-05-02 12:58     ` Michael T. Babcock
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Schwinge @ 2005-04-30 15:43 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, Apr 28, 2005 at 10:03:36AM -0400, Michael T. Babcock wrote:
> Gergely Imre wrote:
> 
> >what about swap partitions on LVM? are there any known problems? can one
> >put swap on a LV safely?

I'd say so.

> I've had crashes directly attributable to Swap on LVM both LVM1 and LVM2.

I can't confirm that, as I've been using swap partitions on LVs on
several systems with both LVM1 and LVM2 for some years without problems.


Regards,
 Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] swap on LVM
  2005-04-30 15:43   ` Thomas Schwinge
@ 2005-05-01  2:13     ` Clint Byrum
  2005-05-02 12:58     ` Michael T. Babcock
  1 sibling, 0 replies; 6+ messages in thread
From: Clint Byrum @ 2005-05-01  2:13 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, 2005-04-30 at 17:43 +0200, Thomas Schwinge wrote:
> On Thu, Apr 28, 2005 at 10:03:36AM -0400, Michael T. Babcock wrote:

> I can't confirm that, as I've been using swap partitions on LVs on
> several systems with both LVM1 and LVM2 for some years without problems.
> 

I also have used swap on LVM for over a year. The only problem I've ever
had was with LVM1 not allowing me to swapoff any lvm-based swap
partitions. For that reason, on lvm1 boxes I make a big ext2 partition
and put a swap file on that. Slightly lower performance.. but I don't
mind. For me swap on servers is just there to prevent the box from OOM
killing stuff before I can get on and shut things down gracefully.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] swap on LVM
  2005-04-30 15:43   ` Thomas Schwinge
  2005-05-01  2:13     ` Clint Byrum
@ 2005-05-02 12:58     ` Michael T. Babcock
  1 sibling, 0 replies; 6+ messages in thread
From: Michael T. Babcock @ 2005-05-02 12:58 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Thomas Schwinge wrote:

>>I've had crashes directly attributable to Swap on LVM both LVM1 and LVM2.
>>    
>>
>
>I can't confirm that, as I've been using swap partitions on LVs on
>several systems with both LVM1 and LVM2 for some years without problems.
>
>  
>

Everything seemed to be working fine on those servers -- except that 
once every few months, the customer would call and complain that the 
machine had "locked up" without reason.  Usually it was when they'd been 
doing something memory intensive.

In each case, moving swap onto its own partition or into a file on a 
non-LVM partition fixed the problem.
-- 
Michael T. Babcock

[-- Attachment #2: Type: text/html, Size: 1059 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-02 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-28 13:23 [linux-lvm] swap on LVM Gergely Imre
2005-04-28 13:29 ` Jean-Luc Coulon (f5ibh)
2005-04-28 14:03 ` Michael T. Babcock
2005-04-30 15:43   ` Thomas Schwinge
2005-05-01  2:13     ` Clint Byrum
2005-05-02 12:58     ` Michael T. Babcock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).