Re: Add BBL to existing array

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

 



On Wed, 27 Aug 2014 19:29:08 +0800 Peter Hoeg <peter@xxxxxxxx> wrote:

> Neil,
> 
> >> It basically runs:
> >> # mdadm --assemble --scan --run --auto=yes
> >>
> >> so it would become:
> >> # mdadm --assemble --update=bbl --scan --run --auto=yes
> >
> >Sorry, --update and --scan are incompatible.
> 
> That explains that...
> 
> >> That didn't work. I ended up in the initramfs and had to manually bring
> >> up the RAID as well as LVM to get the machine booted.
> >
> >That would have been a good time to wield the --update=bbl seeing you were
> >assembling the array anyway.
> 
> I actually did - I ran:
> 
> mdadm --assemble --update=bbl /dev/md0
> 
> Which returned without error, but it doesn't seem to have changed
> anything (or am I looking in the wrong place?)
> 
> # mdadm --detail /dev/md0


A bbl exist separately on each component device.
Try 
   mdadm --examine /dev/sda2

look for
   Bad Block Log : 512 entries available at offset XXX sectors

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