hi

i'm assumuming you  mean software raid?
personally, i do it per-partition.
you'll have to re-partition if you want
to do this.  its mostly because software
raid needs a partition type of FD 
(linux raid).  You'll first backup a partition,
create the md's,mkfs and put the backup back
into the filesystem.  if you dont have a
partition yet for those directories you
want to raid, its not as bad but essentially
the same amount of work (assuming you still
have free space on the disk).

Putting the /boot on RAID-1 at this point
is  difficult.  that is already
the ROOT RAID and it was easier if you
did that during install..its possible at
this point to convert that to raid, but
you already have /etc and /boot existing
and it would just be a headache to re config
those at this point.

we have a server with a setup similar
to yours (2x xeon, 2x scsi).  we did no put
everything on both disks, as some partitions
are replaceable (such as /usr).  here is what
we have:

---------------------------------------------

[EMAIL PROTECTED] root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5            1008M  239M  718M  25% /
/dev/sda1             124M   33M   84M  28% /boot
/dev/sdb2            1008M  618M  339M  65% /cache
none                  503M     0  503M   0% /dev/shm
/dev/sdb1             2.0G   35M  1.8G   2% /tmp
/dev/sda2             4.9G  3.3G  1.4G  69% /usr
/dev/sdb5             985M  803M  132M  86% /misc
/dev/md0               25G  1.3G   22G   6% /var
/dev/md1              985M   24M  911M   3% /log

[EMAIL PROTECTED] root]# cat /proc/mdstat
Personalities : [raid1] 
read_ahead 1024 sectors
md0 : active raid1 sdb6[1] sda6[0]
      26624896 blocks [2/2] [UU]
      
md1 : active raid1 sdb7[1] sda7[0]
      1024896 blocks [2/2] [UU]
      
unused devices: <none>
[EMAIL PROTECTED] root]# 
------------------------------------

we place too much importance on /var as you can
tell.  The rest we dont really care about --
/boot, /usr and so on I can just re install
from the redhat CD's.  so we have a situation
where the OS boots on one disk, scatter the
filesystems /boot, /usr, swap, etc..
on both, and put the /var on both of them.

here's another server of mine.  This one is
more interesting.  This one has 2 ide disks:

-------------------------------------------
hagibis[2]% df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hde5             787M  258M  489M  35% /
/dev/hde1              68M   26M   39M  40% /boot
none                  251M     0  250M   0% /dev/shm
/dev/hde6             1.4G   18M  1.3G   2% /tmp
/dev/hde7             4.3G  3.4G  790M  82% /usr
/dev/md0              988M  301M  637M  33% /var
/dev/md1              988M  301M  637M  33% /log
/dev/md2              1.9G  240M  1.5G  13% /home
/dev/md3              1.9G  320M  1.5G  18% /www
/dev/md4               14G  4.6G  9.1G  34% /pictures
/dev/md5              9.9G  5.3G  4.2G  56% /windump
/dev/hdg10             19G  733M   17G   4% /misc
/dev/hdg11             19G  800M   17G   5% /picimage
/dev/hdg12            387M  339M   28M  93% /webcache
/dev/hdg13            4.3G  2.9G  1.1G  72% /tgadump
hagibis[3]% 

----------------------------------------------------

so several partitions are being shared
(the md? partitions) on 2 disks, the others
distributed on non-raid (I dont care about
them, as I'm willing to reconstruct them
if they dissapear).

i havent played around much with webmin but
i suspect it just lets you see the status
hot mount and unmount disks, but not construct
a new one (since that involves partitioning).

HTH

jondz





On Sun, 2003-08-10 at 05:51, Charles Nierva wrote:
> I have a RH7.3 server with specs:
> • Dual Intel Xeon™ processors 
> • 2GB PC2100 DDR RAM with ECC
> • Dual channel Ultra320 SCSI controller
> • Adaptec AIC-7902 64bit, PCI-X SCSI controller
> • 1 x 36 GB SCSI HDD
> • 1 x 72 GB SCSI HDD
> 
> My /, /boot, /var, /home, /usr ,/cache, and swap
> partitions is in the 36 GB SCSI HDD..
> 
> My questions:
> 
> 1. Can I implement RAID-1 in this specifications? I
> mean, can i mirror the whole system to the second SCSI
> HDD so that if ever the 36 GB SCSI HDD breaks down,
> the second SCSI HDD will be used as my system?
> 
> 2. I installed webmin. In webmin's hardware category
> there's Linux raid.. is this safe to use to implement
> RAID-1 in my system? Will it destroy or touch some
> configs in my system in the 36GB SCSI HDD?
> 
> 3. Any suggestions? 
> 
> Hope i gave all infos and details correctly..
> TIA..
> 
> 
> 
> =====
> ==========
> Charles Nierva
> Davao City, Philippines
> Registered Linux User #279469
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
-- 
JondZ <[EMAIL PROTECTED]>

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to