Re: Raid5 to raid6 grow interrupted, mdadm hangs on assemble command

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

 



> I do doubt this is the cause of my problems though.

Just to clarify, migrating an array from a 3 disk raid5 to a 4 disk
raid6 should be fine?

On Sun, Apr 23, 2023 at 9:32 PM Jove <jovetoo@xxxxxxxxx> wrote:
>
> That comment was because I misunderstood the actual function
> of the argument. It should have been 5, not 4 or 3 :).
>
> I do doubt this is the cause of my problems though.
>
> On Sun, Apr 23, 2023 at 9:19 PM Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
> >
> >
> >
> > Am 23.04.23 um 21:09 schrieb Jove:
> > > I've added two drives to my raid5 array and tried to migrate
> > > it to raid6 with the following command:
> > >
> > > mdadm --grow /dev/md0 --raid-devices 4 --level 6
> > > --backup-file=/root/mdadm_raid6_backup.md
> > >
> > > This may have been my first mistake, as there are only 5
> > > drives. it should have been --raid-devices 3, I think.
> >
> > how do you come to the conclusion 3 when there are 5 drives? you tell it
> > how much drives there are and pretty sure after "mdadm --add" you can
> > skip "--raid-devices" entirely because it knows how many drives there are
> >
> > https://raid.wiki.kernel.org/index.php/Growing




[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