Re: Raid-6 cannot reshape

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

 



On 4/7/20 8:28 AM, Phil Turmel wrote:

Thanks Phil,

The --invalid-backup parameter was necessary to get this up and running.
  It's now up with the 7th disk as a spare.  Shall I run fsck now, or can
I just try to grow again?

proposed grow operation:
mdadm --grow -raid-devices=7 --backup-file=/dev/usb/grow_md127.bak
/dev/md127
mdadm --stop /dev/md127
umount /dev/md127 # not sure if this is necessary
resize2fs /dev/md127

An fsck could help, if any blocks did get moved.

I would not attempt a grow again until you find out why the previous attempt didn't make progress.  Check if mdmon is running, and/or compile a fresh copy of mdadm from source.  If you don't figure it out, you'll just end up in the same spot again.


Oh, one more point: Don't use a backup file. Let mdadm shift the data offsets to get the temporary space needed. (It'll run faster, too.)

(I don't see any mdadm --examine reports in the list thread. Did you do them and keep the complete output?)

Phil




[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