Google
  Web www.spinics.net

Re: Online resize

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


On Wed Mar 12, 2008 at 11:04:56AM +0300, Michael Tokarev wrote:

> Robin Hill wrote:
>> What version metadata are you using?  I'm not sure how 1.0 will handle
>> partition resizes but any other should certainly be okay.  Have you
>> tried running mdadm -E on each of the component partitions?  I assume
>> the new partitions are starting from the same position as the old ones?
>
> Robin, you're completely wrong here.
>
> Only metadata at the START of the partition will work here.  Which is
> either 1.1 or 1.2, but NOT 1.0 or 0.90, - which is at the END of the
> partition.  When the end of the partition goes away, the superblock
> becomes "orphan" somewhere inside the partition, and can't be found
> anymore.
>
That's why I said I wasn't sure about 1.0 metadata.  I've grown 0.90
arrays in exactly this way (though I may not actually have rebooted) so
I assumed they'd work okay (and the manual doesn't specify where the
metadata is for these).

Cheers,
        Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgpKJmkxQxfOy.pgp
Description: PGP signature


[Home]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux]     [Managing RAID on Linux]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device-Mapper]     [Kernel]     [Linux Books]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [Photos]     [Yosemite Photos]     [Yosemite News]     [AMD 64]     [Linux Nework]

Add to Google Powered by Linux