Upgrade from 6TB to 10TB drives

Status
Not open for further replies.

dturner71.dt

Explorer
Joined
Dec 1, 2017
Messages
57
So I have 8 x 6TB drives currently installed and want to upgrade to 10TB drives. I could create another ZVol and move the data, but considering how many issues I had getting my plex going, I'd rather avoid a reinstall on the new volume. Current data :

[root@Server ~]# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Storage 43.5T 30.6T 12.9T - 14% 70% 1.00x ONLINE /mnt
freenas-boot 232G 7.33G 225G - - 3% 1.00x ONLINE -
[root@Server ~]# zpool status
pool: Storage
state: ONLINE
scan: scrub repaired 0 in 0 days 07:15:24 with 0 errors on Wed Aug 1 07:15:25 2018
config:

NAME STATE READ WRITE CKSUM
Storage ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/95f4e533-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/968e6534-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/9735eea1-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/97e28e5a-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/98866210-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/99264073-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/99c5c696-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0
gptid/9a6c37cf-f738-11e7-9b65-002590c0ae08 ONLINE 0 0 0

errors: No known data errors

pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:00:17 with 0 errors on Sat Aug 4 03:45:17 2018
config:

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

errors: No known data errors
[root@Server ~]#

Is it easy to upgrade each drive, or should i just move the data? Anyone have instructions on the upgrade process?

Thanks guys.

DT
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
If you have the drive bays, you should be able to use ZFS send/recv to move the datasets, rename the old pool and rename the new pol to mach the old one, reboot and that should do it.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Also you see that CMD button when you making a new post? Click that and then paste you contents in between the tags ;)
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Also you see that CMD button when you making a new post? Click that and then paste you contents in between the tags ;)
Use the CODE buttons for terminal output, it keeps the formatting better.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Is it easy to upgrade each drive, or should i just move the data? Anyone have instructions on the upgrade process?
Yes, easy to do. You can just replace one drive at a time in the same way you would replace a drive that was defective and once all the drives are replaced, you get the benefit of the extra space. Or, if you have room, you can just add a second vdev to your existing pool and have two vdevs of 8 drives each all in one pool together. Or, you could do the first option and then come back and add the 6TB drives as a second vdev. So many options.

If you put that text in code tags, it looks nicer:
Code:
  pool: Emily
 state: ONLINE
  scan: scrub repaired 0 in 0 days 02:43:47 with 0 errors on Mon Jul 16 10:43:48 2018
config:

   NAME											STATE	 READ WRITE CKSUM
   Emily										   ONLINE	   0	 0	 0
	 raidz2-0									  ONLINE	   0	 0	 0
	   gptid/1b9f316d-da26-11e7-b781-002590aecc79  ONLINE	   0	 0	 0
	   gptid/bbf7a1c8-73ee-11e7-81aa-002590aecc79  ONLINE	   0	 0	 0
	   gptid/55f074a3-cdb5-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/78e8e147-d97d-11e7-b781-002590aecc79  ONLINE	   0	 0	 0
	   gptid/78b8bf90-d9b1-11e7-b781-002590aecc79  ONLINE	   0	 0	 0
	   gptid/90d74abf-d18c-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	 raidz2-1									  ONLINE	   0	 0	 0
	   gptid/87a407df-d20b-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/feeeb5ef-d307-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/ee8fb387-d2ba-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/5c9ac389-d262-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/9615c0df-d2e3-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0
	   gptid/2698b33e-d23a-11e7-bdb7-002590aecc79  ONLINE	   0	 0	 0

errors: No known data errors
Did that answer your question?
 

dturner71.dt

Explorer
Joined
Dec 1, 2017
Messages
57
How do i go about replacing one drive at a time? Commands needed or is it automatic? Thanks.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
If you are a bit careful reading themanual you will be able to replace in-place. In-place = I mean: your pool doesn't get into degraded state even for a moment. As the others mentioned above: one drive at a time letting the pool grow (the manual, chapter 8, look for "grow" phrase there to make sure it is done in-place)
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I could create another ZVol
No, you could not. You could create another pool. A zvol is a special type of dataset that provides a block device.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
The easy path to upgrade your capacity, although it will take some time either way, is to replace one drive at a time. If you chassis has sufficient space and power, you could have both sets of drives connected and create a new pool on the new drives using the zfs send | zfs receive that was linked above. That does work. I have done it, but given the amount of data you have, it will take several days to transfer it all to a new pool. It will also take several days to resilver one drive at a time. The advantage of the zfs send | zfs receive is that it would totally eliminate your fragmentation which the individual disk replacements will not do.

Please ask if you have any further questions about the process.
 
Status
Not open for further replies.
Top