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

Re: mdadm increasing the partition size.



Thanks Gene and Gary and yes you got it correctly.
Two steps resolved my issue. (AH) in case other may need help with same issue can follow.

1- mdadm -G /dev/md(*) -z max
2- resize2fs /dev/md(*)



On Wed, Jul 29, 2015 at 6:34 PM, Gene Heskett <gheskett@wdtv.com> wrote:
On Wednesday 29 July 2015 06:30:46 Muhammad Yousuf Khan wrote:

> Dear All,
>
> I have 4 partitions in my /dev/sdb total size of a whole drive is 2 TB
> in where main partition is of 1TB in size.
>
> however i want to increase this 1TB partition. therefore i added new
> 3TB /dev/sda and replicated the partition tables with with gdisk.
>
> which worked great.
>
> now the partition that was in the size of 1TB and copied to the new
> drive /dev/sda i deleted the partition. and created the new one with
> increase size of 2TB.
>
> now i have also attached sda 2TB partition with sdb 1TB partition.
> sync is in progress which will probably be synced in few hours.
>
>
>
> My question is if i add another new 3TB drive by replace the old 2TB
> drive. similarly i copy the partition table from gdisk from old 3TB to
> now 3TB. but point of notice is now the size of 1TB partition should
> become 2TB. do you guys think this will happen automatically or i have
> to make some changes in order to grow the size.
>
> Any help/guidance will be highly appreciated.

You will have to do that by hand.
>
> Thank,
> Yousuf


Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 201507290934.01962.gheskett@wdtv.com" rel="noreferrer" target="_blank">https://lists.debian.org/[🔎] 201507290934.01962.gheskett@wdtv.com



Reply to: