[ale] RAID Fun

Robert L. Harris Robert.L.Harris at rdlg.net
Sun Aug 17 09:57:31 EDT 2003



That was my thinking.  The other option would be to do away with a swap
partition and just use a swapfile on a raid filesystem.

The main thing was just having everything raided.  The email I sent was
one I sent to some people at my office who think Linux raid is
unreliable, etc.


Thus spake Jeff Hubbs (hbbs at comcast.net):

> But if you do that, your box is in trouble if you lose one of the drives
> that has one of those swap partitions on it.  Putting swap on RAID makes
> perfect sense if you want a machine to run uninterrupted if a drive
> fails.
> 
> - Jeff
> 
> On Sat, 2003-08-16 at 22:19, Drag0n wrote:
> > Not too bad, 
> > But having swap as mdraid is unneeded, if you ser the pri=1 for 2 swap
> > partitions in fstab options, swapon uses them in parallel with no raid
> > overhead. In fact, most raid how-to's recomend this over raid.
> > 
> > Drag0n
> > dragon at atlantacon.org
> > 
> > On Sat, 2003-08-16 at 19:09, Robert L. Harris wrote:
> > > {0}:/home/nomad>mount
> > > /dev/md/0 on / type ext3 (rw)
> > > /dev/md/1 on /home type ext3 (rw)
> > > /dev/md/2 on /mnt/data1 type ext3 (rw)
> > > proc on /proc type proc (rw)
> > > devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> > > 
> > > md0 and 1 are mirrors, md2 is raid5 and the box even has it's swapfile
> > > on a mirror (md3)...
> > > 
> > > 
> > > {0}:/home/nomad>cat /proc/mdstat
> > > Personalities : [raid1] [raid5]
> > > read_ahead 1024 sectors
> > > md3 : active raid1 ide/host0/bus0/target0/lun0/part2[2]
> > > ide/host0/bus0/target1/lun0/part2[0]
> > >       3911744 blocks [2/1] [UU]
> > > 
> > > md0 : active raid1 ide/host0/bus0/target0/lun0/part1[2]
> > > ide/host0/bus0/target1/lun0/part1[0]
> > >       1875292 blocks [2/1] [UU]
> > > 
> > > md1 : active raid1 ide/host0/bus0/target0/lun0/part3[2]
> > > ide/host0/bus0/target1/lun0/part3[0]
> > >       29156996 blocks [2/1] [UU]
> > > 
> > > md2 : active raid5 scsi/host0/bus0/target3/lun0/part1[3]
> > > scsi/host0/bus0/target2/lun0/part1[2]
> > > scsi/host0/bus0/target1/lun0/part1[1]
> > > scsi/host0/bus0/target0/lun0/part1[0]
> > >       215043072 blocks level 5, 1024k chunk, algorithm 2 [4/4] [UUUU]
> > >       [===>.................]  resync = 16.4% (11764684/71681024)
> > > finish=109.8min speed=9086K/sec
> > > unused devices: <none>
> > > 
> > > 
> > > 
> > > :wq!
> > > ---------------------------------------------------------------------------
> > > Robert L. Harris                     | GPG Key ID: E344DA3B
> > >                                          @ x-hkp://pgp.mit.edu
> > > DISCLAIMER:
> > >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > > 
> > > Life is not a destination, it's a journey.
> > >   Microsoft produces 15 car pileups on the highway.
> > >     Don't stop traffic to stand and gawk at the tragedy.
> -- 
> Jeff Hubbs <hbbs at comcast.net>
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Life is not a destination, it's a journey.
  Microsoft produces 15 car pileups on the highway.
    Don't stop traffic to stand and gawk at the tragedy.

 PGP signature




More information about the Ale mailing list