Re: migrate single disk to RAID 1?

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

 



On Tue Jul 14, 2009 at 10:44:15AM -0500, Ben Beuchler wrote:

> >> umount /dev/sdb4
> >> mdadm --build /dev/md0 --level=1 -n2 /dev/sdb4 missing
> >> mount /dev/md0 /mail
> >> mdadm --add /dev/md0 /dev/sda4
> >>
> >> Will that work?  Or am I misunderstanding something fundamental?
> >
> > It'll work but you'll be using a legacy array without superblocks, so you
> > can't have various features that come with superblocks
> 
> Right; for this particular application I'm willing to give up
> superblocks.  Just to be 100% sure, thought:  the way I've described
> the process would be non-destructive of the data on sdb4?
> 
Yes - there'll be no need to write to sdb4 at all.  Be aware that,
without a superblock, the array will need to do a full resync every
single time you start it (unless you use the --assume-clean switch, in
which case you could be risking corruption).

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgprNdwUnhNlM.pgp
Description: PGP signature


[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