This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] Replace HDD in RaidZ2 - any other changes

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

[SOLVED] Replace HDD in RaidZ2 - any other changes

Post 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!
Last edited by rwps on 09 Jan 2017 12:19, edited 1 time in total.
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post 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
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post 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
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post by rwps »

So I keep ignoring the oddities/errors?
And hopefully this screen shot is clearer.
You do not have the required permissions to view the files attached to this post.
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post 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.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post 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?
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post 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
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: Replace HDD in RaidZ2 - any other changes

Post by rwps »

raulfg3 wrote: 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
worked perfectly - thanks!
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: [SOLVED] Replace HDD in RaidZ2 - any other changes

Post 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.
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

Post Reply

Return to “ZFS (only!)”