Re: [md PATCH 01/10] md: allow a reshape operation to be reversed.

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

 



On Mon, 1 Oct 2012 16:15:54 +0600 Roman Mamedov <rm@xxxxxxxxxx> wrote:

> On Tue, 03 Apr 2012 15:53:01 +1000
> NeilBrown <neilb@xxxxxxx> wrote:
> 
> > To reverse a partial reshape which changes the number of devices
> > you can stop the array and re-assemble with the raid-disks numbers
> > reversed and it will undo.
> 
> Unfortunately this does not seem to work:
> 
> # mdadm --assemble --raid-disks=5 --backup-file=/mnt/scratch/backup-file /dev/md0 /dev/sdb1 /dev/sdc1 /dev/sde1 /dev/sdd1 /dev/sdf1
> mdadm:option --raid-disks not valid in assemble mode
> 

No, mdadm doesn't support this yet.  The patch you identified is part of
preparing the way for this functionality, but it isn't ready yet.

For now, you'll just need to let the reshape complete.

NeilBrown

Attachment: signature.asc
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