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

RE: Vijay - RAID restore question



> You mean I should create a new md0 device ? 
> Will it not format the disks ? 
> 
> > I had a Redhat box on which I had configured  Software Mirroring
> > between two disks using mdadm. 
> >   
> > Had to reinstall the OS which I did and now I have both the disks on
> > the same system.  
> > 
> > How do I configure mdam so that the DATA from at least one disk is not
> > deleted ? 
> > If a create a new md0 device will it nor format both the disks ? 
> > 
> > I cannot mount them as ext3 file system currently ?
> 
> Just start the relevant md-device with mdadm?

No, not create but just start it. The friendly man-page gives an example.

...

mdadm -Ac partitions -m 0 /dev/md0

   Scan all partitions and devices listed in /proc/partitions and 
   assemble /dev/md0 out of all such devices with a RAID superblock
   with a minor number of 0.

...

Adjust the minor-number to suit what the device was called in the past. 
For example, /dev/md2 is minor 2.

-- 

  Jussi


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