Re: Changing partition types safe? raidtools to mdadm migration

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

 



Neil,


On 3/8/07, Neil Brown <neilb@xxxxxxx> wrote:
On Thursday March 8, simon.d.matthews@xxxxxxxxx wrote:
> I have a working RAID1 set. This is in a Gentoo system and I
> configured the RAID set using raidtools. I see that Raidtools are now
> deprecated in favor of mdadm.
>
> I installed mdadm, but it does not recognize my raid set. I tried the
> following command (note that my RAID set is active while I do this):
> $   mdadm /dev/md0 --query --detail

Try
  mdadm --detail /dev/md0

Looks good:

# mdadm --detail /dev/md0
/dev/md0:
       Version : 00.90.03
 Creation Time : Sat Oct 15 16:20:52 2005
    Raid Level : raid1
    Array Size : 198153664 (188.97 GiB 202.91 GB)
 Used Dev Size : 198153664 (188.97 GiB 202.91 GB)
  Raid Devices : 2
 Total Devices : 2
Preferred Minor : 0
   Persistence : Superblock is persistent

   Update Time : Thu Mar  8 23:15:38 2007
         State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
 Spare Devices : 0

          UUID : de2ca4d0:7a3f6d57:d6751dc4:a51265e3
        Events : 0.12491522

   Number   Major   Minor   RaidDevice State
      0       8       18        0      active sync   /dev/sdb2




If that doesn't work, what about
  cat /proc/mdadm

>
> This results in no output.  I believe this is because I forgot to
> change the partition types on the partitions that make up the RAID set
> (/dev/sda1 and /dev/sdb1) to type fd (they are the default type 82).

It has nothing to do with partition types.

>
> Can I safely change the partition types to fd on the partions that
> make up my RAID set?

It is perfectly safe to change partition type.

So I should be safe in just removing the raidtools package and
installing mdadm?

Regards,
Simon
-
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