Operating System - Linux
1833016 Members
2386 Online
110048 Solutions
New Discussion

how to mirror the two FC10 DiskSystem

 
leyearn
Regular Advisor

how to mirror the two FC10 DiskSystem

there are two FC10 DiskSystems
we want make MIRROR1 on them
how can i complete this task?
thanks in advance!
4 REPLIES 4
Mark Grant
Honored Contributor

Re: how to mirror the two FC10 DiskSystem

I don't believe Linux supports software mirroring yet. In which case, you'll need to do it at the hardware level. If your RAID system supports RAID 1, turn it on.
Never preceed any demonstration with anything more predictive than "watch this"
Alexander Chuzhoy
Honored Contributor

Re: how to mirror the two FC10 DiskSystem

Linux has support for software mirror.
install raidtools rpm (it comes on installation cd).
Then copy /usr/share/doc/raidtools-(version)/raid1.conf.sample
to
/etc/raidtab
after editing /etc/raidtab per your needs.
run
mkraid /dev/md1
and then
mkfs /dev/md0
to create file system on this raid....
Steven E. Protter
Exalted Contributor

Re: how to mirror the two FC10 DiskSystem

Linux does support software raid if it can see the drives(that is the $64K question).

In fresh install this is accomplisehd thus:
Click manual configuration with disk druid.

Set up software raid partitions on the two FC10 drives presented.
Then click the raid button and pick a mount point, click the default raid0 to raid 1, make sure the filesystem is ext3

You're done.

There already is a good procedure for doing it on already running systems, prior post.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: how to mirror the two FC10 DiskSystem

Assume you have a raid setup and you want to split one of the drives.. md4.
I have 4 raid drives and want to split one of the large ones into a few more..
1) do I use fdisk to partition both disks or just one disk and the raid system does the rest?
2) mkraid will distroy all data on the raid disks. Will mkraid only mess with the /dev/md6
device?? even tho all the other drives are in
/etc/raidtab?? mkraid /dev/md6