Re: [opensuse] swap not available



Matthew Stringer wrote:
On Tuesday 04 December 2007 17:22:24 James Knott wrote:
Matthew Stringer wrote:
On Tuesday 04 December 2007 15:27:06 James Knott wrote:
Matthew Stringer wrote:
I don't normally SoftRAID the swap partitions as it would be faster
just to have multiple ones instead (you're not limited to one).
Given one of the goals of RAID is to keep the system running when a
drive fails, what happens when a drive containing swap croaks?
Your available swap space would be reduced, doesn't cause the system to
fail.
And when it goes to retrieve the contents of that swap that's no longer
there? Drives do fail occasionally, when the system is running.

If you swap over multiple partitions the data is automatically striped, it usually copes OK if a drive blobs Linux is fairly stable these days when it comes to read/write errors. I think you're splitting hairs if you think that sotfRAID1 gives you enough extra stability which outweighs the reduction in performance.


Striping does not provide any protection from device failure.
I think you have it confused with MIRRORING, which does provide
some safety against device failure.



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] swap not available
    ... Your available swap space would be reduced, ... Drives do fail occasionally, ... If you swap over multiple partitions the data is automatically striped, ...
    (SuSE)
  • Re: [opensuse] swap not available
    ... Given one of the goals of RAID is to keep the system running when a ... Your available swap space would be reduced, doesn't cause the system to fail. ... Drives do fail occasionally, ...
    (SuSE)
  • Re: [opensuse] swap not available
    ... Given one of the goals of RAID is to keep the system running when a ... Your available swap space would be reduced, ... Drives do fail occasionally, ... to RAID? ...
    (SuSE)
  • Re: [opensuse] swap not available
    ... Given one of the goals of RAID is to keep the system running when a ... Your available swap space would be reduced, ... There is no need to create the swap partitions as RAID drives. ...
    (SuSE)
  • RH 7.3 system crashing
    ... is used as a Samba server, cashing name server, internal web server ... SCSI drives setup as RAID5. ... restarted samba, apache and backup script ... Suspected swap area may be bad on drive. ...
    (comp.os.linux.misc)