Hi Victor! Victor Geller schrieb:
That is easy:Hi, I have the following problem: [root@wti7 vic]# mdadm -Cv /dev/md0 -l1 -n2 /dev/hda1 /dev/hdc1 mdadm: chunk size defaults to 64K mdadm: /dev/hda1 appears to contain an ext2fs file system size=5630748K mtime=Sun Feb 23 08:52:48 2003 mdadm: /dev/hdc1 appears to contain an ext2fs file system size=5630748K mtime=Sun Feb 23 08:52:54 2003 mdadm: size set to 5630656K Continue creating array? y mdadm: ADD_NEW_DISK for /dev/hda1 failed: Invalid argument [root@wti7 vic]# mount /dev/hda1 on / type ext3 (rw) /dev/hdc1 on /mnt/raid1_1 type ext3 (rw) I would appreciate your help Victor Geller , vgeller@spindrift.on.ca
You MUST unmount /dev/hda1 and /dev/hdc1 before using them as part of a md device! Later, you will NEVER mount one of both but ONLY /dev/md0 on /.
But this will not work with your current configuration, since you actually cannot unmount the root fs while it is running.
Ask Neil or whoever how to use the failed disk way for circumventing the need to copy your rootfs twice to another place (forth and back) or newly install the system (I am preparing a modified Debian Woody bootable CD just for that).
By the way: This failed-disk approach is not so well documented for mdadm, or did I overlook something? Any documentation anywhere?
Hth, Norman.
--
--
Norman Schmidt Institut für Physikal. u. Theoret. Chemie
cand. chem. Friedrich-Alexander-Universitaet
schmidt@naa.net Erlangen-Nuernberg
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html