Re: Raid-6 cannot reshape

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

 



On 4/7/2020 1:31 PM, Phil Turmel wrote:
> 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
> 

Thanks Phil,

fsck is finding lots and lots of problems.  Figure I'll just run fsck -p
and see what happens... not sure what choice i have...

examine output attached here...

Re re-growing, I was hoping that running on a newer mdadm (4.1) might
fix the problem, and if i still encountered it, perhaps running the
following might unstick it:

echo frozen > /sys/block/md0/md/sync_action
echo reshape > /sys/block/md0/md/sync_action

But, I personally have no idea what happened (really), nor why... :-(

thanks,
allie
root@ubuntu-server:/home/ubuntu-server# mdadm --examine /dev/sd[a-g]3
/dev/sda3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : 10bdbed5:cb70c8a9:566c384d:ec4c926e

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 307cff15 - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : cf70dad5:0c9ff5f6:ede689f2:ccee2eb0

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 64b3fd8b - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : f8839952:eaba2e9c:c2c401d4:3e0592a5

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 5d8720d6 - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : 875a0dbd:965a9986:1b78eb3d:e15fee50

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : c7aba50f - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : dc0bda8c:2457fb4c:f87a4bec:8d5b58ed

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : a8a4517e - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 5
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : dc842dc3:09c910c7:c351c307:e2383d13

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 13:14:11 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 9a69f083 - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : c7303f62:d848d424:269581c8:83a045ec
           Name : ubuntu:2
  Creation Time : Sun Feb  5 23:39:58 2017
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 5840377856 (2784.91 GiB 2990.27 GB)
     Array Size : 11680755712 (11139.64 GiB 11961.09 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : 635ef71b:e4add925:30ae4f0a:f6b46611

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr  7 11:37:49 2020
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 52b270d0 - correct
         Events : 316498

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : spare
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)

[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