Hi all!
I was wondering if it is possible to introduce RAID 1 (i.e. mirroring of
a spare partition to be precise) into a running system? Let's assume
there is a disk A with partitions A1 and A2. A1 carries a fully
functional Gentoo, A2 is a spare partition. Kernel is 2.6.12.5 with Raid
stuff
Heinz Sporn wrote:
Question: may I run mkraid /dev/md0 on the fly now or will that somehow
destroy the partition table on the entire disk A ?
This wont't work since only data written to md0 gets mirrored. You can't mirror
an existing partition. An mkraid will probably destroy partition A2.
On Wednesday 07 September 2005 12:58, Christoph Gysin wrote:
First, let me recommend you mdadm. It's a replacement for the old
raidtools. *Much* better IMHO.
VERY much so.
- Create a new RAID1 in degraded state from B2:
# mdadm --create /dev/md0 --level 1 --raid-devices 2 /dev/B2 missing
-
Am Mittwoch, den 07.09.2005, 13:58 +0200 schrieb Christoph Gysin:
Heinz Sporn wrote:
Question: may I run mkraid /dev/md0 on the fly now or will that somehow
destroy the partition table on the entire disk A ?
This wont't work since only data written to md0 gets mirrored. You can't
mirror
Am Mittwoch, den 07.09.2005, 13:17 +0100 schrieb Mike Williams:
On Wednesday 07 September 2005 12:58, Christoph Gysin wrote:
First, let me recommend you mdadm. It's a replacement for the old
raidtools. *Much* better IMHO.
VERY much so.
- Create a new RAID1 in degraded state from B2:
Mike Williams wrote:
Quicker method :)
create B1 and B2
umount /dev/A2
# mdadm --create /dev/md0 -l1 -n2 /dev/A2 /dev/B2
You CAN create a mirror of an existing partition, and NOT lose data.
I know, I've done it.
But how does it know which of the devices is the master? Does it simply copy the
6 matches
Mail list logo