Setting up RAID??

reezin14
Posts: 4
Joined: Tue Oct 06, 2009 5:28 pm
Location: Wisconsin
Contact:

Setting up RAID??

Postby reezin14 » Tue Oct 06, 2009 5:43 pm

OK I want to setup RAID 1, using 2x 640GB Western Digital for the array & a 120GB hdd for the OS.First would it be a good idea to do this via webmin,bios or install process? How or is it even possible to move my shares to the RAID array so that the data is being written there instead of the disk with the OS on it.If anyone can point me in the right direction or give some insight it would be greatly appreciated. :?
Amahi Server "Headless"
CPU:Intel E3200
RAM:2GB Mushkin(800Mhz)
Mobo:Asus
Hard-drives x2 80GB (OS) & x3 WD640GB(Greyhole)
Apps:vnStat,Webvnc,LogAnalysis,Rysnc,DLNA,CrashPlan

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Setting up RAID??

Postby moredruid » Wed Oct 07, 2009 3:40 am

Well, not with the BIOS, it's called fakeraid and usually depends on a (Windows only) device driver.
You can install the OS first and create the RAID 1 array later (I find the GUI tools very confusing) on the command line with mdadm.
You can then create a mount point for /var/hda/files on just that array. You can also add another layer on top of the RAID with LVM, so you can easily expand the filesystem later if you want/need. The concept is quite elegant and simple once you "get it" but I found it pretty hard to understand at first.

I've chosen to mount /var/hda on a LV which - currently - spans 2 disks, 1 750G & 1 1TB, the OS is installed on a different physical disk.
This is because the pba app doesn't store its files in /var/hda/files but in /var/hda/apps/pba/backups/data. I would've mounted it on /var/hda/files but I tend to keep some backup history which is somewhere around 140GB, that wouldn't fit on my 80GB "OS" disk... :)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

reezin14
Posts: 4
Joined: Tue Oct 06, 2009 5:28 pm
Location: Wisconsin
Contact:

Re: Setting up RAID??

Postby reezin14 » Wed Oct 07, 2009 9:07 pm

Thanks for the info moredruid I'm seem to have everything running(I think).I transferred some files just to see where they would be store & it is going to the raid array.But I do have another question,the 120G OS disk says it is /media/disk and the array says that it is /(root) is this how it's suppose to go?I thought it would be the other way around. We need a rep system around here so that I could give you some(just a thought). :D
Amahi Server "Headless"
CPU:Intel E3200
RAM:2GB Mushkin(800Mhz)
Mobo:Asus
Hard-drives x2 80GB (OS) & x3 WD640GB(Greyhole)
Apps:vnStat,Webvnc,LogAnalysis,Rysnc,DLNA,CrashPlan

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Setting up RAID??

Postby moredruid » Thu Oct 08, 2009 12:52 am

not quite sure what you mean by the "rep" thing, but if you post your /etc/fstab I might glean the necessary info from that.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

reezin14
Posts: 4
Joined: Tue Oct 06, 2009 5:28 pm
Location: Wisconsin
Contact:

Re: Setting up RAID??

Postby reezin14 » Fri Oct 09, 2009 12:18 pm

Is this what your looking for? Rep is just something that other forums use to show that a person is helpful, the more rep the more a person has been helpful to members of the forum.

vol_id(8) for more info # /dev/VolGroup00/LogVol00 /
ext3 defaults 1 1
UUID=3d12f6a3-0fe8-4959-b935-700c29253bbe /boot
ext3 defaults 1 2 tmpfs /dev/shm
tmpfs defaults 0 0 devpts /dev/pts
devpts gid=5,mode=620 0 0 sysfs /sys
sysfs defaults 0 0 proc /proc
proc defaults 0 0 /dev/VolGroup00/LogVol01 swap
swap defaults 0 0
Amahi Server "Headless"
CPU:Intel E3200
RAM:2GB Mushkin(800Mhz)
Mobo:Asus
Hard-drives x2 80GB (OS) & x3 WD640GB(Greyhole)
Apps:vnStat,Webvnc,LogAnalysis,Rysnc,DLNA,CrashPlan

Who is online

Users browsing this forum: No registered users and 1 guest