On Jul 15, 2004, at 4:21 PM, J. Rafael S�nchez wrote:

Hi Folks,

Two IDE 200G drives.
One of the drives /dev/hdc has 6 partitions
The other drive /dev/hdd only one

I want to mirror /hdc onto /hdd with raid-1. Two questions:

1. Is it safe to mkraid /dev/md0 when the system is live - multiuser
environment where hdc contains users home space. Or does the system have
to be idle and on single run level?

I've never actually done this on filesystems with data on them.. not sure if that's even safe.


And, if you have to ask if it's safe, it's always a good idea to make a test box and try it first :)
mirror 2 partitions on the same disk if you don't have extra drives..


you can use the entire disk as a partition as well.. just as you can mkfs /dev/hdc if you really wanted.
However, you can't partition a md AFAIK, so it's best to mirror each partition, and don't mirror both disks, cause you don't really need mirrored swap, and you can get some swap performance from doing it that way.



2. Is it ok to say:
raiddev /dev/md0
...
       device          /dev/hdc
...
        device          /dev/hdd
...

I've noticed that most examples available, refer to a partition instead of an entire hard drive.

Thank you.
Rafael.

--

J. Rafael S�nchez
Systems Administrator

Itres Research Limited
(p) 403.250.9944
(f) 403.250.9916






_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to