I recently setup a raidz2 server with 4x1TB disks and somehow I ended up with 712G of unallocated space per disk
I tried to use google for way to recover the wasted disk space and found this article.
As my disk are not corrupted, I gues I will have to run the following command but not sure what do input where i typed the ???:
Could someone with experience in that area please advise if the methode above is correct and if it is, what to replace the ??? with and do I need to do anything to revert the
Thank you in advance
gpart show -lp
Code:
=> 34 1953525101 ufsid/52a0f5122e690fca GPT (932G)
34 6 - free - (3.0K)
40 1024 ufsid/52a0f5122e690fcap1 (null) (512K)
1064 461373440 ufsid/52a0f5122e690fcap2 disk0 (220G)
461374504 1492150631 - free - (712G)
=> 34 1953525101 ada3 GPT (932G)
34 6 - free - (3.0K)
40 1024 ada3p1 (null) (512K)
1064 461373440 ada3p2 disk3 (220G)
461374504 1492150631 - free - (712G)
=> 34 1953525101 ufsid/52a0f53ee01d7083 GPT (932G)
34 6 - free - (3.0K)
40 1024 ufsid/52a0f53ee01d7083p1 (null) (512K)
1064 461373440 ufsid/52a0f53ee01d7083p2 disk1 (220G)
461374504 1492150631 - free - (712G)
=> 34 1953525101 ufsid/52a0f56322d7540a GPT (932G)
34 6 - free - (3.0K)
40 1024 ufsid/52a0f56322d7540ap1 (null) (512K)
1064 461373440 ufsid/52a0f56322d7540ap2 disk2 (220G)
461374504 1492150631 - free - (712G)
As my disk are not corrupted, I gues I will have to run the following command but not sure what do input where i typed the ???:
Code:
% sysctl kern.geom.debugflags=16
% gpart resize -i 2 ada0
% gpart resize -i 2 ada1
% gpart resize -i 2 ada2
% gpart resize -i 2 ada3
% zpool set autoexpand=on zroot
% zpool online -e zroot ?????
kern.geom.debugflags: 0 -> 16
entryThank you in advance