Re: Debian+LVM+RAID



Hi,

here are some LVM basics to get you started..

http://www.linuxconfig.org/Linux_lvm_-_Logical_Volume_Manager

lubos

On Thu, Jul 9, 2009 at 5:31 PM, Serge van
Ginderachter<serge@xxxxxxxxxxxxxxxxxx> wrote:
2009/7/9 Alex Samad <alex@xxxxxxxxxxxx>:

Creating a swap partition on a software RAID device isn't ideal. It is
better to create a swap partition on each of the physical devices and
give them the same priority (in /etc/fstab). That's only one example,
you could also use a disk that isn't part of the RAID and have only
one swap partition ...

what happens if there is something important swapped out and that drive
dies ?  I could understand not wanting to put it on lvm and then raid1..

I agree with that. One generally uses RAID to keep a host running when
a disk failure occurs. If swap is not mirrored, processes wil crash,
or worst case the box might crash.

If performance is an issue, then you'd better go hardware raid.

Unless someone knows of another strong reason not to put swap on raid?

--


    Met vriendelijke groet,

    Serge van Ginderachter


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx





--
lubo
http://www.linuxconfig.org/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Debian+LVM+RAID
    ... you could also use a disk that isn't part of the RAID and have only ... one swap partition ... ... If swap is not mirrored, processes wil crash, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: PAM LDAP queries attempt to bind with empty binddn
    ... On Wed, Feb 10, 2010 at 5:07 PM, John A. Sullivan III ... did not query at all until we realized we needed to install passwd. ... password   sufficient   pam_ldap.so ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cant mount RAID 5: "Cant find ext3 filesystem"
    ... My raid works fine. ... you upgraded your kernel? ... I recreate, there are any diference in assemble and ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cant mount RAID 5: "Cant find ext3 filesystem"
    ... My raid works fine. ... you upgraded your kernel? ... I recreate, there are any diference in assemble and ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [opensuse] Swap Software RAID 1 not working, SuSE 10.3
    ... raid 5 actually and it also suffers the same problem. ... must change this in 10.3 in order to get swap on raid 1 or raid 5 ... physical drives to make up multiple raid arrays, if my swap partition ... I have 3 G of RAM and I rarely use any swap on disk, ...
    (SuSE)