l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2002 Mar 13 10:23

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Software IDE Root RAID on Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Software IDE Root RAID on Linux



Redhat-7.2 makes this quite easy as well, in fact I did it on
the box I'm typing this on:

[bill@bilbo bill]$ cat /etc/redhat-release 
Red Hat Linux release 7.2 (Enigma)
[bill@bilbo bill]$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md1              25316412   9936080  14094332  42% /
/dev/md0              25316412  15296880   8733532  64% /d0
none                    256804         0    256804   0% /dev/shm
[bill@bilbo bill]$ cat /proc/mdstat 
Personalities : [linear] [raid0] [raid1] [raid5] 
read_ahead 1024 sectors
md0 : active raid1 hdc2[1] hda2[0]
      25720000 blocks [2/2] [UU]

Just select Make raid at the partition screen and assign it to /.

BTW I recommend checking that root receives email, cp /proc/mdstat to /var/mdstate; then setup a crontab:
0,15,30,45 * * * * /usr/bin/diff /proc/mdstat /var/mdstat

That way if the raid loses a disk you get email every 15 minutes, of course
this doesn't help much unless your using a redundant mirror (anything but
raid-0).

Enjoy.


-- 
Bill Broadley
Mathematics/Institute of Theoretical Dynamics
UC Davis
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!