File Server and Raid

ruscook ruscook_oz at yahoo.com.au
Tue Nov 14 08:15:52 UTC 2006


It's fairly  simple now, I did it in the graphical installer. Here's my
partitions including using LVM on a s/w mirror for /home.

Filesystem Type   1M-blocks Used Available Use% Mounted on
/dev/md0       xfs       9529M     4899M     4630M  52% /
/dev/md1      ext3        177M       32M      136M  19% /boot
/dev/mapper/home-home
               xfs     282060M   230613M    51448M  82% /home
/dev/md4       xfs       9505M        1M     9505M   1% /tmp

The only "trick" I can remember was during install:
1) ensure both HDDs were physically the same
2) partition EACH exactly the same (1 & 2 are the key to this)
3) go to the raid config section of the install, match each partition on hda with its corresponding one on hdb and make them a raid set.
4) make file systems and mount points of the newly created raid sets as necessary.
5) I did this for swap and tmp just to use the space equally on the 2 disks and ensure I could boot 100% if one failed.
6) leave partition section of installer and carry on.

As you can see I can use XFS in a raid set as root because /boot is on its own ext3 partition for use of grub in booting.

I think that was it - I did it a month ago so may have forgotten something.


On Mon, 2006-11-13 at 23:01 +0000, Clive Menzies wrote:

> On (13/11/06 21:31), Richard Brown wrote:
> > I have a system that I want to turn into a file server. It has two 250
> > gig hard drives. What I would like to do is to set-up one 250 gig with
> > boot 50 mb, swap 1 gb, root 10 gb and the rest for data. I would then
> > like to raid this to the second hard drive with raid 1 (mirror).
> > 
> > I know how to set-up the file server and hopefully will be able to get
> > the files loaded and set-up samba etc.... my confusion is when do you
> > set-up raid and how?
> > 
> > Any ideas or web sites that might help please?
> 
> I put up a page of notes with some links I found useful:
> http://clivemenzies.co.uk/help/index.php?option=com_content&task=category&sectionid=8&id=33&Itemid=58
> 
> # http://rootraiddoc.alioth.debian.org/
> # http://juerd.nl/site.plp/debianraid
> # http://xtronics.com/reference/SATA-RAID-Debian.htm
> 
> You can set up to boot from a raid configuration which is covered in one
> or two of the links - it's a bit tricky;  I used a pata disk for the
> system partitions and put all the data on RAID1 across 2 sata disks.
> 
> Regards
> 
> Clive
> 
> -- 
> www.clivemenzies.co.uk ...
> ...strategies for business
> 
> 
> 

Kind Regards Russell
==================
www.windsorcycles.com.au
sales at windsorcycles.com.au
ph. 02 4577 3209
bikes.no-ip.info
Linux user #369094
================== 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061114/b4777a3e/attachment.html>


More information about the ubuntu-users mailing list