Page 1 of 1
[SOLVED] Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 00:54
by rwps
Hi
I'm looking to replace a 2tb disk with a 3tb disk in my RaidZ2 setup to see it increase the pool size (currently have 1x2tb, 2x3tb, 1x4tb) in a HP proliant Gen8 G1610T microserver.
I have a couple of other issues that Nas4Free is reporting, that are outlined in this post:
http://forums.nas4free.org/viewtopic.php?t=11660
Essentially:
- ada1 shows the 4tb disk as a filesystem of "Unknown or unformatted"
- ada1 is not showing in the dvice list for Disks|ZFS|Pools|Virtual Device|Edit
- disks using "non-native block size"
Do I address any of these issues before or after I put the new 3tb disk in?
Thanks!
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 01:03
by rwps
Not sure if th e screen shot in the previous post shows the data, so another link to the image here on my own site too:
http://www.fido.fastmail.fm/#single:ZFS ... _sizes.jpg
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 02:19
by kenZ71
I couldn't see the details in the screenshot too well.
Sounds like all drives are in the same pool so you should be able to replace the old 2TB with the new 3TB. Although since you already have a 4TB might be better to add a 2nd 4TB but that is out of scope here.
zpool replace pool-name old-device new-device
should work
If not post the results and / or consult google
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 02:48
by rwps
So I keep ignoring the oddities/errors?
And hopefully this screen shot is clearer.
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 07:31
by raulfg3
rwps wrote:Hi
I'm looking to replace a 2tb disk with a 3tb disk in my RaidZ2 setup to see it increase the pool size (currently have 1x2tb, 2x3tb, 1x4tb) in a HP proliant Gen8 G1610T microserver.
I have a couple of other issues that Nas4Free is reporting, that are outlined in this post:
http://forums.nas4free.org/viewtopic.php?t=11660
Essentially:
- ada1 shows the 4tb disk as a filesystem of "Unknown or unformatted"
- ada1 is not showing in the dvice list for Disks|ZFS|Pools|Virtual Device|Edit
- disks using "non-native block size"
Do I address any of these issues before or after I put the new 3tb disk in?
Thanks!
1- first you need to use button "clear config & import disk" this solve your ada1 is not showing in the dvice list
2- you can replace one at time like kenZ1 says.
- disks using "non-native block size" have no sollution other than destroy your pool and recreate new one , this time using apropiate parameter to use native 4k Blok size, but this lose your data, so my suggest is do not change anything here, the performance of use 4k or 512 bit is not great, perhaps 5 to 10%, so no need to start from scrath if you have a lot of data.
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 10:42
by rwps
raulfg3 wrote:
1- first you need to use button "clear config & import disk" this solve your ada1 is not showing in the dvice list
2- you can replace one at time like kenZ1 says.
- disks using "non-native block size" have no sollution other than destroy your pool and recreate new one , this time using apropiate parameter to use native 4k Blok size, but this lose your data, so my suggest is do not change anything here, the performance of use 4k or 512 bit is not great, perhaps 5 to 10%, so no need to start from scrath if you have a lot of data.
Thanks!
1 - ada1 is now showing
2 - I will do this, and not worry about the non-native block size
ada1 does show under
Disks|ZFS|Pools|Information
however, one strange thing remains, ada1 is not showing when I look at
Disks|ZFS|Pools|Virtual Device|Edit
I only have one pool and one virtual device, shouldn't ada1 show there too?
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 11:02
by raulfg3
rwps wrote:
Thanks!
1 - ada1 is now showing
2 - I will do this, and not worry about the non-native block size
ada1 does show under
Disks|ZFS|Pools|Information
however, one strange thing remains, ada1 is not showing when I look at
Disks|ZFS|Pools|Virtual Device|Edit
I only have one pool and one virtual device, shouldn't ada1 show there too?
to show in ZFS you need to sync webGUI and reallity in Disks|ZFS|Configuration|Synchronize
Push the button synchronize.
http://wiki.nas4free.org/doku.php?id=do ... ynchronize
Re: Replace HDD in RaidZ2 - any other changes
Posted: 09 Jan 2017 12:18
by rwps
worked perfectly - thanks!
Re: [SOLVED] Replace HDD in RaidZ2 - any other changes
Posted: 20 Jan 2017 06:12
by rwps
I also discovered that I had 2 more steps needed to allow the pool to expand and utilise the new disk space available:
- set autoexpand to on
- oflline and then online the new disk
After that, the pool expanded to reflect the size of the disks.