Re: Fwd: swap

2007-05-07 Thread Lennart Sorensen
On Mon, May 07, 2007 at 03:10:11AM -0700, Francesco Pietra wrote:
 Below I mean adding a single HD not to the raid, just
 as additional space where to point the swap file
 thanks

Running a raid1 system with non raid swap just doesn't make sense.  If
the swap drive fails, your system dies horribly possible in ways that
could mess up the filesystem.  Why make a system with redundancy
suddenly have none?  Better to buy a pair of those drives and run swap
on another raid1.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: swap

2007-05-07 Thread Patrick Albuquerque
On Mon, May 07, 2007 at 09:11:36AM -0700, Francesco Pietra wrote:
 Len, Patrick:
 Thanks. Actually, I didn't see the original by Len.
 
 Well, security comes first. Also, the idea of setting
 in a cheap HD was a faulty idea anyway because I am at
 WD Raptor just because cheap HDs didn't work on long
 runs.
 
 The mentioned Tyan mother board has 4 SATA ports, two,
 I suppose, already occupied by raid1. Following the
 suggestion by Len, is that possible to install another
 raid1 (just for additional disk space, say swap) while
 preserving the current Debian amd64 etch on present
 raid1 (Linux driven)? This machine is ssh with Debian
 i386 as graphical interface on another machine so that
 reinstalling everything on new HDs would not be
 attractive. Also, I am pressed to fish some
 computations.
 

It is possible, swap is dynamic under linux.  swapon/swapoff are the
tools you are looking for.

man swapon

Patrick.
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: swap

2007-05-07 Thread Daniel Schröter
Lennart Sorensen wrote:
 Running a raid1 system with non raid swap just doesn't make sense.  If
 the swap drive fails, your system dies horribly possible in ways that
 could mess up the filesystem.

On the other hand you (mostly) don't have redundant RAM modules in your
system and if one fail it is the same effect.

Bye


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: swap

2007-05-07 Thread Lennart Sorensen
On Mon, May 07, 2007 at 09:11:36AM -0700, Francesco Pietra wrote:
 Len, Patrick:
 Thanks. Actually, I didn't see the original by Len.
 
 Well, security comes first. Also, the idea of setting
 in a cheap HD was a faulty idea anyway because I am at
 WD Raptor just because cheap HDs didn't work on long
 runs.
 
 The mentioned Tyan mother board has 4 SATA ports, two,
 I suppose, already occupied by raid1. Following the
 suggestion by Len, is that possible to install another
 raid1 (just for additional disk space, say swap) while
 preserving the current Debian amd64 etch on present
 raid1 (Linux driven)? This machine is ssh with Debian
 i386 as graphical interface on another machine so that
 reinstalling everything on new HDs would not be
 attractive. Also, I am pressed to fish some
 computations.

Sure.  Just add the two new drives, and use mdadm to create another
raid1 on the new drives.  Should be very simple and should have no
effect on your current raid at all.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]