Re: Online resize

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

 



On Tue Mar 11, 2008 at 11:19:55AM +0200, Wayne Gemmell wrote:

> Hi all
> 
> I'd like to do an online resize for my RAID5 drives now that I've upgraded 
> them to 500GB drives. Now I'm a bit stuck. I assume the steps would be the 
> following.
> 
> 1) Resize partitions
> 2) Drop EXT3 journal
> 3) run e2resize
> 4) Recreate journal.
> 
> Are there any raid specific things I have to do to get this to work. Am I on 
> the right track?
> 
Sort of.  The steps you'll need are:

 1) Resize partitions (usually a drop & recreate step - this doesn't
    affect the data though).
 2) Force the OS to be aware of the new partition sizes - either a
    reboot or using partprobe.
 3) Grow the array (mdadm --grow) - check the manual page for details.
 4) Resize the filesystem (resize2fs).

There shouldn't be any need to drop & recreate the journal (I've never
done anyway - I guess it may be needed if you want to resize it).

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

Attachment: pgpLhXhlfYPl9.pgp
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