[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mirror of an existing filesystem with 'md'



On Mon, 4 Apr 2005, Mimmus wrote:

Hi,
I have an already existing filesystem (on /dev/sde1) and I'd like to mirror it on a new fs (on /dev/sdh1) using 'md', saving its content.
I think that command:
mdadm --create /dev/md0 --level=1 --raid-device=2 /dev/sde1 /dev/sdh1
makes the work but I need confirmation that filesystem on /dev/sde1 will be not lost.



I think that should work, but do note that mdadm isn't present in rc.sysinit, so your mirror will not pop up at boot time. If you want / need it at boot, you'll need to create an /etc/raidtab that's compatible with the older raidtools or add the correct mdadm commands to rc.local to have it mounted as part of the boot process. IIRC, this is remedied in RHEL4.

If information this is wrong, some one please tell me :)

-n

--
-------------------------------------------
nathan hruby <nhruby uga edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]