SOLVED Expanding Volume

Status
Not open for further replies.

rwakc

Cadet
Joined
Nov 28, 2017
Messages
2
Hi,

I have this volume called HDD and I would like to extend it. There seems to be about 3TB of EXPANDSZ space, but I do not see an option to extend it.

If I can do anything to reduce fragmentation, any advice would be very welcome as well.

Code:
root@freenas:~ # zpool list
NAME		   SIZE  ALLOC   FREE  EXPANDSZ   FRAG	CAP  DEDUP  HEALTH  ALTROOT
HDD		   7.94T  7.69T   254G	 2.94T	61%	96%  1.00x  ONLINE  -
freenas-boot  7.94G   744M  7.21G		 -	  -	 9%  1.00x  ONLINE  -


Code:
root@freenas:~ # zpool status
  pool: HDD
 state: ONLINE
  scan: scrub repaired 0 in 17h39m with 0 errors on Sun Jun  3 17:39:17 2018
config:

		NAME										  STATE	 READ WRITE CKSUM
		HDD										   ONLINE	   0	 0	 0
		  gptid/798b501e-6562-11e7-87aa-000c29bb04b3  ONLINE	   0	 0	 0

errors: No known data errors

  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Tue May 29 03:45:13 2018
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	 0
		  da0p2	 ONLINE	   0	 0	 0

errors: No known data errors
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Dont run single disk vdevs, get yourself a second drive of the same size and add it as a mirror asap. Your data is at risk. Also, to expand simply add a second mirror to the pool
 

rwakc

Cadet
Joined
Nov 28, 2017
Messages
2
I have managed to expand the volume by using
Code:
zpool online -e <pool> <device>


Thank you for fast replies.
 
Status
Not open for further replies.
Top