Swapping a drive with larger one, doesnt show difference

Status
Not open for further replies.

essg88

Dabbler
Joined
Oct 23, 2012
Messages
21
I have 5 x 2TB drives. I swapped one out with a 3TB drive following the guides and all. I let it resilver and even performed a scrub. I had to add some sysctls value's to allow the swap to occur and upgraded my zfs pool version.

I am still showing the same amount of storage I had previously, instead of the extra TB I was expecting. Is there anything else I can do?
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
You should read the user guide a little closer. Your pool will automatically expand once you have upgraded all drives to 3TB. The reason is, you cannot strip the data across all drives equally.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
This topic is covered in my noobie guide. Feel free to take this opportunity to give it a read.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
I have read it and I enjoyed it ;). Of course I know you were not talking to me but I did take a snow day today so my mind is drifting like the snow is. It's Spring! I need warmth. Later, time to shovel a little move as the street plow is coming to fill my driveway.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
I think CJ was talking to the OP, sir.

Your additional space will *ONLY* become live when *ALL* drives have been upgraded.
 

essg88

Dabbler
Joined
Oct 23, 2012
Messages
21
Thank you guys got it lol. I'll read more carefully. Hoping I can find something on moving these to a new system now without losing data.

Sent from my Nexus 5 using Tapatalk
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
Suggest you read all the documentation :) It's important!..
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Thank you guys got it lol. I'll read more carefully. Hoping I can find something on moving these to a new system now without losing data.

Sent from my Nexus 5 using Tapatalk
Generally speaking, in a vdev, each drive has the effective size of the smallest size drive in the vdev. Thus, in terms of storage space, 2+2+2+3 is the same as 2+3+3+3 is the same as 2+2+2+2. It's only when the GLOBAL MINIMUM size has incremented that the vdev itself will have more effective storage space. This is just how ZFS works.

But, this feature is nice, because if you wanted upgrade your pool from 4x2TB drives to 4x3TB drives, for example, you can do it one drive at a time. After the 4th drive is done, BAM, the storage space goes up.
 
Status
Not open for further replies.
Top