Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2019 19:57:13 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Nenhum_de_Nos <matheus@eternamente.info>, freebsd-stable@freebsd.org
Subject:   Re: Gmirror and bigger disks (growfs)
Message-ID:  <d30b065f-06a5-0d33-5af8-2eec541d6cc8@grosbein.net>
In-Reply-To: <01f6a0b0e75ea4f49601b155d54bad0d.squirrel@10.1.1.11>
References:  <01f6a0b0e75ea4f49601b155d54bad0d.squirrel@10.1.1.11>

next in thread | previous in thread | raw e-mail | index | archive | help
01.06.2019 19:04, Nenhum_de_Nos wrotr:
> Hi,
> 
> I replaced a faulty disk from a gmirror some time ago. The array had two
> 1TB disks and I got one 2TB disk there. Now I replaced the second one and
> tried to growfs it. No good for me.

First you need to resize the mirror itself with "gmirror resize" command.
Refer to gmirror(8) manual page for details.

Then you need to resize last slice or create new slice for available space.
If you prefer resize existing slice, use "gpart resize".

Only then you will be able to run growfs to utilise new space for file system inside the slice.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d30b065f-06a5-0d33-5af8-2eec541d6cc8>