raidtools mdadm conversion query

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

 




I upgraded a system from FC2 to FC4,
The system had a working raidtools linear raid partition (md0 = sda1 and sdb1)
I now need to get the partition going using mdadm, while maintaining the data.

I used raidtabtomdadm.sh to create /etc/mdadm.conf
================================================================
DEVICE partitions
ARRAY /dev/md0 level=linear num-devices=2 UUID=ba95446a:6fe4d353:9ba80e0f:181c0117 auto=yes
================================================================
but I am unsure of the next step. I imagine I do somethink like:
 mdadm --assemble --verbose /dev/md0 --level=linear --raid-devices=2 /dev/sda1 /dev/sdb1
but I don't want to blunder ahead and wipe out the existing data.

Thanks,
Darwin



Current situation:
[root@a0 ~]# mdadm --examine /dev/md0
mdadm: /dev/md0 is too small for md


[root@a0 ~]# mdadm --examine /dev/sda1
/dev/sda1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ba95446a:6fe4d353:9ba80e0f:181c0117
  Creation Time : Tue May 25 12:13:51 2004
     Raid Level : linear
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Tue May 25 12:13:51 2004
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 175f4ea3 - correct
         Events : 0.1

       Rounding : 32K

      Number   Major   Minor   RaidDevice State
this     0       8        1        0      active sync   /dev/sda1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync   /dev/sdb1

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux